Spanish Road Markings Explained
What the lines on Spanish roads mean: solid and broken white lines, double lines, reversible lanes, and the 2 kerb colours that govern where you stop and park.
Spanish road markings (marcas viales) are the painted lines on the carriageway and the kerb that tell you where you may drive, overtake, stop and park. White lines control the traffic lanes: a solid white line separating the two directions may not be crossed, while a broken white line may be crossed when it is safe. Coloured kerb lines control parking: yellow means restrictions, and blue means paid or time-limited bays. This guide explains each marking in plain English for the DGT theory test.
Markings come up constantly in the exam, and they catch out a lot of English speakers because the rules are slightly different from those back home. Get them right and you have picked up several easy points. The DGT theory test in English guide explains the full exam, and this article zooms in on the lines.
Quick reference table
Here is every marking covered in this guide at a glance. Read the detail below each one before you rely on it, because the meaning of a line can depend on what it separates and what is painted next to it.
| Marking | What it means |
|---|---|
| Solid white line | May not be crossed when it separates the two directions of traffic. |
| Broken white line | Marks the lanes; you may cross it when it is safe, for example to overtake or change lane. |
| Solid next to broken | Obey the line on your side. Cross only if the broken line is the one next to you. |
| Double broken white line | A reversible lane, where the direction of flow can change. |
| Double solid line | The strongest no-crossing marking. Do not cross it. |
| Yellow zig-zag | No parking, and usually no stopping either. |
| Yellow continuous line on the kerb | No stopping and no parking. |
| Yellow broken line on the kerb | No parking. Stopping may be allowed. |
| Blue bay markings | Parking allowed, but paid or time-limited. |
| Edge / hard-shoulder line | Separates the carriageway from the shoulder (arcen). |
What do white lines on the road mean?
White lines organise the traffic lanes and tell you when you may move across them. The rule is simple: a solid white line is a barrier, and a broken white line is a choice. Whether you can legally move over a line depends on how continuous it is and, when there are two lines together, which one is on your side.
Solid white line
A solid white line that separates the two directions of traffic may not be crossed. You must not straddle it or drive over it to overtake. Treat it as a wall painted on the road. The only common exception is avoiding a stationary obstacle when it is safe and there is no oncoming traffic, but for the theory exam the answer is that you do not cross it.
Broken white line
A broken white line delimits the lanes and may be crossed when it is safe to do so. This is the line you cross to overtake or to change lane on a normal road. Safe means there is no oncoming vehicle, no hazard, and enough visibility. The broken line gives you permission, but it does not remove your duty to check first.
Solid line next to a broken line
When you see a solid line running alongside a broken one, obey the line on your side. If the broken line is next to you, you may cross when it is safe. If the solid line is on your side, you must not cross. This pairing is common on the approach to and exit from no-overtaking stretches, so read which line is closest to your lane.
Double broken white line
A double broken white line marks a reversible lane, where the direction of traffic can change at different times of day. Overhead lane signals (green arrows or red crosses) tell you whether the lane is open to you. Never enter a reversible lane against a red cross, even though the paint alone does not forbid crossing.
Double solid line
A double solid line is the strongest no-crossing marking on the road, and you do not cross it in either direction. It is used where overtaking would be dangerous, such as bends and crests with poor visibility. If you cross a double solid line in the exam, that is the wrong answer almost every time.
Edge and hard-shoulder line
The line running along the outside of the carriageway separates the road you drive on from the shoulder, or arcen. You should not drive along the shoulder in normal traffic. It is there for emergencies and for stopping when you have to, not as an extra lane or an overtaking strip.
What do the yellow and blue markings mean?
Coloured markings control stopping and parking rather than the flow of traffic. Yellow always means a restriction, and the exact restriction depends on whether the yellow line is continuous, broken, or painted as a zig-zag. Blue means you can park, but you will pay or be limited on time. Getting these right saves you fines as well as exam points.
Yellow zig-zag
A yellow zig-zag painted on the road means no parking, and usually no stopping either. You often see it where a clear space has to be kept, such as outside certain access points. Do not leave your vehicle there, even briefly, unless the local signs clearly say otherwise.
Yellow continuous line on the kerb
A continuous (solid) yellow line along the kerb means no stopping and no parking. This is the stricter of the two yellow kerb lines. You cannot pull over to wait or drop someone off here, because stopping itself is banned, not just leaving the car.
Yellow broken line on the kerb
A broken (dashed) yellow line along the kerb means no parking, but stopping may be allowed. The difference matters: you may be able to pause briefly to load, unload or let a passenger out, while leaving the vehicle parked is not permitted. Check any local signs, because towns can add their own rules.
Blue bay markings
Blue lines marking out parking bays mean you can park, but the space is paid or time-limited. This is the regulated zone, often called zona azul, where you buy a ticket from a machine or an app and display it. Green lines nearby are usually reserved for residents. For the full picture on where you can leave the car, see our parking rules in Spain guide.
Why do road markings matter for the DGT test?
Road markings sit in the same exam topic as traffic signs, and the DGT tests them heavily because they govern real decisions: when to overtake, where to stop, and whether a manoeuvre is legal. Markings can also override or reinforce what a sign tells you, so you need to read the paint as carefully as the posts.
One thing worth remembering: when instructions conflict, road markings sit at the bottom of the priority order. A traffic officer, temporary roadworks signs, traffic lights and vertical signs all rank above the lines painted on the road. So a solid white line does not overrule a police officer waving you across. To see how markings fit alongside the signs, read our Spanish road signs in English guide, and practise the topic on the practice topics page.
Frequently asked questions
Can I ever cross a solid white line in Spain?
As a rule, no. A solid white line separating the two directions may not be crossed. There are narrow real-world exceptions, such as safely passing a stationary obstacle, but for the DGT theory test the correct answer is that you do not cross it.
What is the difference between the yellow continuous and broken kerb lines?
A continuous yellow line on the kerb means no stopping and no parking. A broken yellow line means no parking, but stopping may be allowed, so you can sometimes pause briefly. The continuous line is the stricter of the two.
What does a double broken white line mean?
A double broken white line marks a reversible lane, where the direction of traffic can change during the day. Follow the overhead lane signals, a green arrow means the lane is open to you and a red cross means it is not.
What do blue lines around a parking space mean?
Blue bay markings mean you may park, but the space is paid or time-limited, often called the zona azul. Buy a ticket and display it. Nearby green lines are usually reserved for residents, so read the colour before you leave the car.
Can I drive on the hard shoulder to let a car overtake?
No. The edge line separates the carriageway from the shoulder (arcen), which is reserved for emergencies and stopping when necessary. It is not an extra lane, and driving along it in normal traffic is not allowed.
Sources
- DGT, catalogo oficial de senales.
- Reglamento General de Circulacion (Real Decreto 1428/2003).
Last updated: August 2026.
About DGTTestPro
- Question bank
- 3857+ questions, every one in English and Spanish
- Licence categories
- 7 covered (B, A2, AM, C, D, CAP, B+E)
- Theory book
- 17 chapters, free to read
- Exam simulation
- 30 questions in 30 minutes, pass mark 27/30 - the real DGT format
- Price
- Free to start. Premium is € 24,99 once for 180 days - not a subscription, no auto-renewal.
Questions are written and checked by people against the official DGT syllabus - never AI-generated. Your data stays in the EU.
See what Premium includes · Compare with other DGT test sites
Ready to pass the DGT theory test?
Practise official-format questions in English and Spanish, with explanations after every answer.
Try a free practice test