In brief
The theory test is not the same for every licence: category B has 30 questions in 30 minutes, the motorcycle test has 40 questions (or just 10 if you already hold a B licence), heavy vehicle categories have specific tests with 20 questions, and mopeds (AM) have their own test. The format is the same for all: multiple choice, one correct answer per question, on a touchscreen at an IMT exam centre.
This page has the full official table and explains what changes by category: number of questions, time, mistakes allowed and minimum ages for starting.

Full table: questions, time and pass criteria
The structure of the theory tests is set out in the official table published by the IMT, with its legal basis in Decree-Law No. 102-B/2020 of 9 December:
| 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) |
Category B: the most common test
The category B and B1 test is taken by most candidates: 30 questions, 30 minutes and a maximum of 3 mistakes. It covers the general subjects in the Código da Estrada — signage, right of way, speed, alcohol, manoeuvres, parking, lights and documents — and forms the basis of almost every licensing journey: anyone who later wants a motorcycle or heavy vehicle licence starts here.
Motorcycles (A, A1, A2): it all depends on whether you already have a B licence
For motorcycle categories, there are two very different tests, depending on your starting point:
- no licence at all: you take the full test of 40 questions in 40 minutes, with a maximum of 4 mistakes — the longest theory test of all;
- already hold a B or B1 licence: you take a shorter test of 10 questions in 10 minutes, with a maximum of 1 mistake, focusing on what is specific to riding on two wheels.
The shorter test may seem like a shortcut, but note how demanding it is in relative terms: 9 correct out of 10 is the highest threshold of all the tests. With only 10 questions, each answer carries a lot of weight — it is not worth turning up without preparing the motorcycle-specific material.
Category AM (mopeds and light quadricycles) has its own test: 20 questions in 25 minutes, with a maximum of 3 mistakes.
Heavy vehicles (C, C1, D, D1): specific tests with 20 questions
Heavy vehicle categories require you to hold a category B licence first: only after you are licensed to drive cars can you apply for C1, C, D1 or D. The theory test for these categories has 20 questions in 25 minutes, with a maximum of 2 mistakes, and covers subjects specific to heavy vehicle transport — goods (C/C1) or passengers (D/D1).
Minimum ages by category
Before thinking about the test, check that you are (or will be) old enough for the category, as set out in the Regulamento da Habilitação Legal para Conduzir:
- AM: 16 years (14 only for two-wheeled mopeds, with a special training course);
- A1 and B1: 16 years;
- A2, B and BE: 18 years;
- A: 24 years, or 20 with 2 years' experience in category A2;
- C1: 18 years; C: 21 years (18 with a driver's certificate of professional competence, CAM);
- D1: 21 years; D: 24 years (21 or 23 with CAM, depending on the case).
For any category, learning can start 6 months before the minimum age, and candidates under 18 need consent from the person or people with parental responsibility.
Frequently asked questions
I already have a B licence — how many questions are in the motorcycle theory test?
You take the shorter test: 10 questions in 10 minutes, with a maximum of 1 mistake (at least 9 correct). Without a B licence, the category A, A1 and A2 test has 40 questions in 40 minutes.
Which theory test is the longest?
The motorcycle category test for someone who does not hold any licence: 40 questions in 40 minutes, with a maximum of 4 mistakes.
Do I need a B licence to get a heavy vehicle licence?
Yes. Categories C1, C, D1 and D require you to hold category B first. The heavy vehicle theory test has 20 questions in 25 minutes, with a maximum of 2 mistakes.
Is the category AM test the same as the category B test?
No. Category AM (mopeds) has its own test: 20 questions in 25 minutes, with a maximum of 3 mistakes. Category B has 30 questions in 30 minutes.
Sources
- IMT — theory tests by category (legal basis: Decree-Law No. 102-B/2020) — Official theory test structure by category: questions, duration and pass criteria.
- Regulamento da Habilitação Legal para Conduzir (RHLC), arts. 20.º–21.º (consolidated version, PGDL) — Minimum ages by category, early learning and the requirement to hold a B licence first for heavy vehicle categories.
Verified on 26/08/2026 against the legislation in force.