In brief
The category B (and B1) theory test has 30 questions and lasts 30 minutes: they are multiple-choice questions, with one correct answer per question, answered on a touchscreen at an IMT exam centre. To pass, you need at least 27 correct — in other words, you can get no more than 3 wrong.
The number of questions and the time allowed vary according to licence category: the motorcycle test may have 40, 10 or 20 questions depending on your circumstances, and heavy vehicle categories have their own tests. This page has the full table by category, explains how the test works at the exam centre and what topics may come up.

The quick answer: 30 questions in 30 minutes (category B)
If you are getting a car licence — as most candidates are — your theory test has these features:
- 30 multiple-choice questions;
- 30 minutes (an average of 1 minute per question);
- one correct answer per question;
- taken on a touchscreen computer at an IMT exam centre;
- a pass requires at least 27 correct answers (no more than 3 mistakes).
The structure of the theory tests is set out in the official table published by the IMT (Institute for Mobility and Transport), with its legal basis in Decree-Law No. 102-B/2020 of 9 December, which reorganised the rules for driver training and assessment in Portugal.
Questions, time and pass marks by category
Not all theory tests are the same. If you already have a category B licence and want a motorcycle licence, you take a shorter test of 10 questions; if you are getting a motorcycle licence without holding any licence, you take the longest test of all, with 40 questions. The following table summarises the structure of each test:
| Category | Questions | Duration | Pass mark |
|---|---|---|---|
| B / B1 (cars) | 30 | 30 min | ≥27 correct (max. 3 wrong) |
| AM (mopeds) | 20 | 25 min | ≥17 correct (max. 3 wrong) |
| A, A1, A2 — without B/B1 licence | 40 | 40 min | ≥36 correct (max. 4 wrong) |
| A, A1, A2 — already hold B/B1 licence | 10 | 10 min | ≥9 correct (max. 1 wrong) |
| C / C1 (goods vehicles) | 20 | 25 min | ≥18 correct (max. 2 wrong) |
| D / D1 (passenger vehicles) | 20 | 25 min | ≥18 correct (max. 2 wrong) |
In every category, you have around 1 minute or more per question. The deciding factor is not usually the clock, but how carefully you read each question.
How the test works at the exam centre
The test is taken individually on a touchscreen computer at an IMT exam centre. Each question appears on screen with several answer options, and only one is correct. Many questions include a photograph or image of a traffic situation — a junction, a roundabout, a sign — and ask you to decide on the correct course of action.
At the end, your result is calculated automatically: your correct answers are counted and compared with the minimum required for your category. In category B, 27 or more correct answers means you pass.
What subjects come up in the questions
The questions cover the subjects in the Código da Estrada (Highway Code) and supplementary legislation. In practice, you should be confident with these topics in particular:
- signage: vertical signs, road markings, traffic lights and the hierarchy between them;
- right of way, junctions and roundabouts;
- speed limits and appropriate speed;
- alcohol, psychotropic substances and the probationary period;
- overtaking and other manoeuvres (turning round, reversing);
- stopping and parking;
- lights and visibility conditions;
- motorways and roads reserved for certain traffic;
- seat belts, helmets, child transport and driver documents.
The IMT publishes sample exam questions on its website, giving you an idea of the style of the questions. However, it is more important to understand the rule behind each one than to memorise questions — that is what lets you answer correctly when the wording changes.
Once you know how many there are, what next?
Knowing the test structure is the first step; the second is practising in exactly that format. Taking 30-question tests with a limit of 3 mistakes gets you used to the real pace and shows which topics you still get wrong. Also see how many mistakes you can make in each category and our tips for passing first time.
Frequently asked questions
How many questions are in the category B theory test?
There are 30 multiple-choice questions, with one correct answer per question, to be answered in 30 minutes on a touchscreen at an IMT exam centre. You pass with at least 27 correct.
How long do I have to take the theory test?
In category B, you have 30 minutes for 30 questions — about 1 minute per question. In other categories, the time corresponds to the number of questions: 25 minutes for 20 questions (AM, C, D), 40 minutes for 40 questions (motorcycle without a B licence) and 10 minutes for 10 questions (motorcycle with a B licence).
Is the theory test on paper or on a computer?
It is on a touchscreen computer at an IMT exam centre. Answers are entered directly on screen and the result is calculated automatically.
How many questions are in the motorcycle theory test?
It depends: if you do not yet hold any licence, the category A, A1 and A2 test has 40 questions in 40 minutes; if you already hold a B or B1 licence, you take a shorter test of 10 questions in 10 minutes. Category AM (mopeds) has its own test of 20 questions in 25 minutes.
Sources
- IMT — theory tests by category (legal basis: Decree-Law No. 102-B/2020) — Official structure of the theory tests: number of questions, duration and pass criteria.
Verified on 26/08/2026 against the legislation in force.