Opportunity Spotlight, Spain
Moroccan truck drivers can swap their licence in Spain with one road test and no theory exam. Everything that has to happen before the swap is the hard part
If you drive trucks or buses on a Moroccan licence, Spain treats you better than it treats most non-European drivers. Since 7 April 2024 a Moroccan C, C+E, D or D+E licence is exchanged for the Spanish equivalent with one practical test on the road and no theory exam. A driver from Algeria or Tunisia, holding the same kind of licence, still has to sit a specific theory exam first. That is a real head start, and it comes from a single paragraph in an agreement between Madrid and Rabat.
The catch is that the exchange is the last step, not the first. It only opens once you already live in Spain, and a Spanish licence on its own still does not let you drive a truck for a living. If you understand the order the steps come in, the Moroccan advantage is worth a lot. If you start at the wrong end, it is worth nothing.
What changed for Moroccan truck and bus licences in 2024?
Spain and Morocco have recognised each other's driving licences since an exchange of notes signed in Madrid on 8 March 2004. Paragraph 4 of that agreement let Moroccan residents in Spain swap their licence without exams, with one exception: professional drivers exchanging a licence for trucks or buses, classes C, C+E, D and D+E, had to pass a specific theory test.
In February and March 2024 the two governments rewrote that paragraph. The Spanish Foreign Ministry's note said openly why: the theory test was not a general requirement in all of Spain's exchange agreements, and some countries were already exempt. The new paragraph 4, published in the Official State Gazette on 23 March 2024 and applied provisionally from 7 April 2024, says the exchange is made without theory or practical exams, except that Moroccan drivers exchanging C, C+E, D or D+E licences must pass a driving test on roads open to general traffic, in a vehicle of the class the licence covers.
Some reports at the time said Moroccans could now drive trucks in Spain with no exam at all. That was wrong, and the DGT, Spain's traffic authority, said so. The theory test is gone. The road test stays.
How does a Moroccan licence compare with an Algerian or Tunisian one?
The DGT publishes a table of every country Spain has an exchange agreement with and the tests each one needs for trucks and buses. Read it with a Maghreb passport in mind and the gap is plain. Algeria's agreement, in force since 2006, still requires a specific theory test plus the road test. Tunisia's, from 2011, requires the same. So do Colombia's, the Philippines' and Turkey's. Morocco now sits with a short group of countries, Peru, Ukraine and Honduras among them, whose drivers face only the road test.
In practice that saves a Moroccan driver weeks of study for an exam in Spanish on Spanish rules, and one more chance to fail. It does not change anything else about the route. The residence rule, the medical, the CAP and the work permit apply to every non-EU driver in the same way.
Why can't you exchange the licence before you move?
Because Spain only exchanges licences held by its residents. The DGT's own page for Moroccan licences lists being resident in Spain as the first requirement, and defines normal residence as living in Spain legally for at least 185 days in each calendar year, under the immigration law. You prove it with your foreigner identity card, the TIE, or your registration as a foreign resident. A tourist entry, or a job offer you have not yet started, does not count.
Two more rules follow from this, and both catch people out. First, from the day you become resident, your Moroccan licence is valid in Spain for six months at most. After that you cannot drive on it, so the exchange has to be under way early. Second, you must show you were not living in Spain when the Moroccan licence was issued. A licence you take in Morocco on a trip home after you have moved to Spain is not one you can exchange. If you are planning to add a truck class to your licence, do it in Morocco before you move, not after.
Is the licence enough to drive a truck for a Spanish company?
No, and this is the part most offers on social media leave out. To drive a truck or bus professionally in Spain you need the licence and, separately, the certificate of professional competence, the CAP. Royal Decree 284/2021 regulates it, and its article 13 is blunt about where you get it: a national of a country outside the EU who works for a company established in Spain, or who holds a Spanish residence and work permit, must obtain the initial qualification in Spain. Whatever professional training you did in Morocco does not replace it.
There are two ways to get the initial qualification. The ordinary route is a 280-hour course and an exam. The accelerated route is a 140-hour course and the same exam, and it is the one most licence holders take. The Council of Ministers approved a change on 16 June 2026 that came into force three months after its publication: CAP schools can now teach up to 92 of the 140 accelerated hours, or 166 of the 280 ordinary ones, in a live virtual classroom with real-time teachers. The practical classes and the exam stay in person. The government said it made the change because of the shortage of professional drivers.
Once you hold the CAP, you keep it by taking 35 hours of continuous training every five years. It is extra time and money on top of the licence exchange, and an employer who is serious about hiring you will usually know a CAP school and plan the course with you. One who tells you the CAP is not needed is not serious.
Send us the offer before you sign anything. We will check whether the employer can get you a work permit, plan the order of your residence card, licence exchange and CAP so your six months on the Moroccan licence do not run out, and tell you honestly if the offer does not add up.
How does a Spanish haulier hire a driver who is still in Morocco?
Through an ordinary employer-sponsored work permit, and here the Moroccan driver gets no shortcut. Spain's public employment service publishes every quarter a catalogue of occupations that are hard to fill. When a job is on it, the employer can hire from abroad without first proving that nobody suitable was available in Spain. The catalogue for the third quarter of 2026, published in the Official State Gazette on 2 September 2026, lists 27 occupations. It includes crane-truck operators in every province. It does not include ordinary heavy-goods or bus drivers.
So a haulier who wants to bring you from Morocco has to pass the labour-market test for your post, file the work permit for you in Spain, and only then can you apply for the visa at the Spanish consulate that covers your area. It can be done, and the government itself describes the driver shortage as real. But it takes time, and it is the employer's filing, not yours, so an offer that asks you to arrange the permit yourself is a warning sign. You can see how driving compares with other occupations Spain is short of on our shortage occupations page and in our Spain jobs hub.
The permit and the licence exchange then run together. The day you collect your TIE, your six months on the Moroccan licence start, and in that time you need to finish the exchange and, if you do not already have it, the CAP. A good employer plans the CAP course for your first weeks in Spain. A driver who arrives without a plan can spend those months unable to work.
What does the exchange cost, and how long does it take?
The money is the easy part. The exchange of a licence that includes trucks or buses carries DGT fee 2.1, which is 94.05 euros and covers two attempts at the road test. If you fail both, you pay again. A car or motorcycle exchange costs 28.87 euros. You also need a medical report from an authorised driver medical centre, a Group II report for trucks and buses, which is a more specific examination than the one for a car licence and is paid separately.
The time is the hard part, because the DGT first has to ask Morocco whether your licence is genuine and valid, and it cannot promise how long that answer takes. The DGT warns it can be weeks. The steps run in this order:
- , Get the Group II medical report from an authorised driver medical centre in Spain.
- , Book the exchange appointment, or apply online with a digital certificate or Cl@ve. This starts the verification request to Morocco.
- , Wait for Morocco's answer. When the status shows CONTESTADA, the exchange can go ahead.
- , Hand in your documents: application form, passport or TIE, proof of residence, proof you were not resident in Spain when the licence was issued, the original Moroccan licence and the medical report, and pay the fee.
- , Book and pass the road test in a vehicle of the class you are exchanging.
- , Hand over the Moroccan licence and collect a provisional Spanish permit, valid for six months in Spain. The plastic card arrives by post in about a month and a half.
One warning from the DGT's own page deserves its own line: you can only book one exchange appointment. If you cancel it, the procedure starts again from zero, including the request to Morocco. Book a date you can keep.
Put it together and the Moroccan advantage is clear but narrow. It saves you a theory exam that Algerian and Tunisian drivers still sit, and nothing more. The route that works is residence first, then the exchange and the CAP inside your first six months, with an employer who has already filed your permit. We explained the general six-month rule for every foreign licence in our guide to exchanging a foreign driving licence in Spain.
Frequently asked questions
Can I exchange a Moroccan truck licence in Spain without an exam?
Not entirely. Since 7 April 2024 Moroccan drivers no longer sit the theory exam when they exchange a licence of class C, C+E, D or D+E. They still have to pass one practical test, a drive on open roads in a vehicle of the class being exchanged. Car and motorcycle licences are exchanged with no test at all.
Can I exchange my Moroccan licence while I still live in Morocco?
No. The exchange is only open to people who are resident in Spain, which the Directorate General of Traffic, the DGT, defines as living there legally for at least 185 days in each calendar year. You also have to show you were not living in Spain when the Moroccan licence was issued. From the day you become resident, the Moroccan licence is valid in Spain for six months at most.
Is my Moroccan professional training valid for the Spanish CAP?
No. Under article 13 of Royal Decree 284/2021, a third-country national who works for a company established in Spain, or who holds a Spanish residence and work permit, must obtain the initial qualification for the CAP in Spain. The accelerated route is a 140-hour course and an exam, and since the autumn of 2026 up to 92 of those hours can be taught in a live virtual classroom.
Are truck drivers on Spain's list of hard-to-fill occupations?
Not in the catalogue for the third quarter of 2026. It lists crane-truck operators, but not ordinary heavy-goods or bus drivers. That means a Spanish employer hiring a driver from Morocco has to show the job could not be filled from the local labour market before the work permit is granted.
How much does the exchange cost?
The DGT fee for exchanging a truck or bus licence is 94.05 euros, which covers two attempts at the road test. You also need a Group II medical report from an authorised driver medical centre, which is paid separately. A car or motorcycle exchange costs 28.87 euros.
This article reflects the 2004 agreement between Spain and Morocco on driving licences as amended in 2024, Royal Decree 284/2021 on the CAP as amended in 2026, the DGT's published exchange rules and fees, and the catalogue of hard-to-fill occupations for the third quarter of 2026, as they stood in November 2026. The catalogue changes every quarter, so speak to a Visagrad expert before you accept an offer.
Keep exploring
One door always opens another.
Pull the next thread. Each one ends somewhere useful, a clearer shortlist, a real number, a plan you can keep, whether or not you ever work with us.
See where you fit on the map
Slide your grades and budget to see where you fit across Europe, with Spain leading your matches.
Open thisTake the two minute assessment
A few honest questions and you walk away with a personal blueprint, free.
Open thisRead the hard truths
The traps agents paid by commission will never warn you about.
Open thisAsk us on WhatsApp
One honest message. No script, no pressure, a real person who has walked it.
Open thisWe do this for you, properly, every time.
Don't navigate this alone. Take the free 2-minute path finder and get a personalised read on exactly where you stand.
This guide reflects Visagrad's own view and information gathered at the time of writing. Rules, fees, deadlines and timelines can change quickly, and some details may already have moved. Nothing here is official, legal or immigration advice. For accurate, up-to-date guidance built around your own situation, speak with us first.
