DGT theory exam · Category B
The DGT theory test, step by step
Exam languages, the fee and attempts, the residence requirement and what happens if you already hold a licence from another country. Facts from Spain's drivers' regulations (Reglamento General de Conductores) cite their article.
Facts checked in November 2026. Fees and procedures can change: always confirm them on the DGT website.
What the exam is like
The category B theory test has 30 questions, each with three possible answers of which only one is correct. You have 30 minutes and pass with 3 mistakes at most.
Which languages can you take it in?
The category B theory test is taken in Spanish and, depending on the region, in Catalan, Basque, Galician or Valencian. It can also be requested in English, French or German. There is no test in Russian, Ukrainian, Arabic or Romanian.
Fee, attempts and validity
The DGT exam fee is €94.05 in 2026 and covers two attempts. Driving school fees and the medical certificate are paid separately.
Each application entitles you to two attempts (convocatorias) to pass the tests. No more than six months must pass between two attempts under the same application.
Regulation: Reglamento General de Conductores art. 51.2A pass in a test (declaración de aptitud) is valid for two years, counted from the day after it was obtained.
Regulation: Reglamento General de Conductores art. 53.1
Who can get a driving licence in Spain?
To obtain a Spanish licence, foreigners must prove their normal residence in Spain or a stay for studies (estancia por estudios) of at least six months, as well as being of the required age.
Regulation: Reglamento General de Conductores art. 7.1
If you already hold a licence from another country
It depends on where your licence was issued. To find out whether your country has an exchange agreement with Spain, check the DGT website.
Licences issued in States of the European Union or the European Economic Area remain valid in Spain. The holder may exchange it (canjearlo) for the equivalent Spanish licence at any time, but is not obliged to do so.
Regulation: Reglamento General de Conductores art. 15 y 18Licences from third countries are valid for driving in Spain for a maximum of six months from the time their holder acquires normal residence (residencia normal) in Spain.
Regulation: Reglamento General de Conductores art. 21.2The exchange can be applied for from the moment the holder acquires normal residence in Spain, without waiting for the six months to pass.
Regulation: Reglamento General de Conductores art. 22.2Once the six-month period has passed, the foreign licence is no longer valid for driving in Spain. If there is no agreement allowing exchange (canje), you must obtain the Spanish licence by passing the tests.
Regulation: Reglamento General de Conductores art. 21.3 y 22National licences from other countries are valid if they are written in Spanish or accompanied by an official translation (traducción oficial), as are international licences and those that conform to the international conventions.
Regulation: Reglamento General de Conductores art. 21.1
After you pass
A novice driver must display the V-13 sign, a plate with the letter L (placa con la letra L), at the rear left of the vehicle, for the year following the obtaining of the licence.
Regulation: Reglamento General de Vehículos anexo XI (señal V-13)
What about hazard perception videos?
In October 2025 the DGT announced one question based on a video, within the same 30 questions. We have not been able to confirm that it is already used in exams: check the current information at dgt.es.
More guides
- Spain's traffic rules from 1 October 2026
- The V-16 warning light, explained
- Environmental labels and low emission zones
- Electric scooters: the rules
- Speeding fines in Spain
- Towing and removal of vehicles
- Traffic officers' signals
- Alcohol at the wheel: limits, checks and fines
- The points-based driving licence
- Seat belts and child seats
Practise with exam-style questions
Take the free 30-question online test, or prepare the whole syllabus with the app: over 1,000 questions explained in English.
The Android version is coming soon to Google Play.