Spain · DGT class B licence
Spain DGT theory test: how many mistakes are allowed, and why
30 questions, 3 mistakes at most: you need 27 correct answers. A fourth mistake is a fail.
The Spanish DGT theory test for a class B licence has 30 questions with three options each, and you may make at most 3 mistakes: you need 27 correct answers [2]. The legal rule behind it is errors of no more than 10% of the questions, rounded up [1]. Below: how the rule works, the new video question, and the two-attempt fee.
The rule behind "3 mistakes"
Spain's driver licensing regulation does not say "3 mistakes". It says you pass the knowledge test if your errors are not above 10% of the questions asked, and that a decimal result is rounded up to the next whole number [1]. The common test can have between 30 and 50 questions [1]; the DGT uses 30 [2].
| Test length | 10% | Mistakes allowed | Correct answers needed |
|---|---|---|---|
| 30 questions | 3 | 3 | 27 |
| 40 questions | 4 | 4 | 36 |
| 50 questions | 5 | 5 | 45 |
With today's 30 questions you need 27 right, or 90%. A fourth mistake is a fail.
The trap: thinking you have a margin. Three mistakes out of thirty is the limit, not the target. If your mock tests regularly end with three errors, one tricky question on the day is enough to fail.
Time: one minute per question, plus the video
The regulation sets 1 minute per question, so 30 minutes for 30 questions. That time can be extended in proportion to the length of any video in the test, and for candidates with justified special needs [1].
Since the last quarter of 2025, the DGT has been adding a compulsory question based on a short video of a risk situation on the road. The test keeps its structure: 30 questions with three answer options each, with the time extended by the length of the video [2]. Because of this video question, every exam room must now be computerised: paper tests are being phased out [2].
Learn the Spanish rules in English. The book explains the rules, signs, fines and points the test asks about, then gives you 400 practice questions with three options and 5 mock tests: Pass the Spanish Driving Theory Test in English. Free: practice test.
Two attempts per fee, and a pass that lasts two years
The exam fee gives you two attempts. If you fail twice, whether at the same test or at different ones, you must apply again and pay a new fee [3]. A pass is kept for two years: if you do not get your licence in that time, you must take every test again [3].
You can sit the theory test from three months before the minimum age for the licence, so from 17 years and 9 months for a class B licence [3]. Non-EU foreign students must show at least six months of continuous residence in Spain [3].
Taking the test in English
The DGT's online sample tests let you choose the language before you start [3]. For the real test, ask your driving school or provincial traffic office (Jefatura Provincial de Tráfico) which languages are offered for the common class B test when you book: the DGT does not publish a list on its exam page.
Frequently asked questions
How many mistakes are allowed in the Spanish driving theory test?
Three out of 30. The rule is errors of no more than 10% of the questions asked, rounded up, so a fourth mistake is a fail.
How many questions are in the DGT theory test?
30 questions with three answer options each. The regulation allows between 30 and 50, and the DGT confirmed in 2025 that the test stays at 30.
How long is the DGT theory test?
One minute per question, so 30 minutes, extended by the length of the video question and for justified special needs.
What happens if I fail the DGT theory test twice?
The fee covers two attempts. After two fails you must apply again and pay a new fee.
How long is a DGT theory pass valid?
Two years. If you do not get your licence within that time, you must take all the tests again.
The book
Pass the Spanish Driving Theory Test in English 2027
The Spanish road rules, signs, fines and points explained in English at the level the class B test asks, with 400 practice questions and 5 mock tests.
Ebook. Also on other Apple Books and Google Play Books stores.
Sources
- Real Decreto 818/2009, Reglamento General de Conductores, Anexo VI (B), consolidated text, BOE, consulted 17 November 2026.
- DGT, « Examen teórico: la importancia de conocer el riesgo », updated 15 October 2025, consulted 17 November 2026.
- DGT, « Requisitos, preparación y presentación a examen », consulted 17 November 2026.
Figures checked on 17 November 2026. Independent guide: not produced or approved by the Dirección General de Tráfico.