Yellow and White Lines on the Road: What Every Marking Means
DMV Permit Prep Team· 5 min read
Signs get most of the attention in driver's ed, but pavement markings do just as much work. They tell you which way traffic flows, where you're allowed to pass, and which lane is about to end, all without a single word. Once you understand the logic behind the yellow and white lines on the road, you can read an unfamiliar street at a glance, and most of the marking questions on the permit test become easy.
Why yellow and white lines on the road differ
There's one master rule, and nearly everything else follows from it:
- Yellow lines separate traffic moving in opposite directions. If there's yellow on your left, oncoming traffic is on the other side of it.
- White lines separate traffic moving in the same direction, and mark the right edge of the road.
Then a second rule tells you whether you may cross:
- Dashed (broken) lines mean you may cross when it's safe.
- Solid lines mean crossing is discouraged or prohibited.
These colors and patterns are set nationally by the Federal Highway Administration's Manual on Uniform Traffic Control Devices, so the same line means the same thing in every state. What each state adds are the specific penalties and a few edge cases.
Yellow lines: solid, dashed and double
Picture yourself driving north on a two-lane road. Here's what you might see in the center, written as a simple diagram (your lane is on the right side of each row):
| Center marking | Your side | Can you pass? |
|---|---|---|
| Single dashed yellow | Dashed | Yes, when safe and legal |
| Solid yellow + dashed yellow | Dashed on your side | Yes, you may pass; the other direction may not |
| Dashed yellow + solid yellow | Solid on your side | No passing for you |
| Double solid yellow | Solid | No passing in either direction |
The rule for combinations: read the line closest to you. If your side is dashed, you can pass when it's safe. If your side is solid, you can't. Highway engineers put solid lines where sight distance is too short, such as approaching a hill crest, a curve or an intersection.
Can you cross a double yellow line?
Not to pass. In most states, though, you may cross a double yellow line to turn left into a driveway, alley or side road, as long as you yield to oncoming traffic. Some markings, like two sets of double yellow lines separated by a gap, act as a painted median that you shouldn't cross at all. Check your state's manual for the exact wording.
White lines and lane changes
White lines govern lanes going your way:
- Dashed white: Lane line on a multi-lane road. You may change lanes when it's safe, after signaling and checking your blind spot.
- Solid white: Lane changes are discouraged. You'll see these near intersections, in tunnels, at on-ramps and along exit lanes.
- Double solid white: Lane changes are prohibited. These often separate HOV lanes or keep traffic from cutting across at the last second.
- Solid white at the right edge: The edge of the travel lane. The shoulder is beyond it.
- Wide or dotted white lines: Often mark a lane that is about to exit or end. Merge out early if you're not exiting.
When you merge onto a highway, the solid white line along the ramp tells you to stay in your lane until it turns into a dashed line. Our guide on how to merge onto a highway walks through that moment step by step.
Center left-turn lanes
A two-way left-turn lane sits in the middle of a road and is marked by a solid yellow line on the outside and a dashed yellow line on the inside on each edge, usually with white arrows pointing in both directions.
Its job is narrow: it's a place to wait while turning left. Traffic from both directions shares it.
Do:
- Signal, check your mirrors, and move into it shortly before your turn.
- Wait there for a gap in oncoming traffic, then turn.
- Use it to turn left out of a driveway in two steps when your state allows that.
Don't:
- Drive in it for long stretches.
- Use it to pass.
- Enter it so early that you meet someone coming the other way in the same lane.
Many states limit how far you may drive in a center turn lane. Your manual will tell you if yours sets a distance.
Arrows, diamonds and crosswalks
Paint does more than draw lines:
- Lane-use arrows: A straight arrow means through traffic; a curved arrow means turn. If your lane has only a turn arrow, you must turn.
- Diamonds: A white diamond marks a reserved lane, typically for high-occupancy vehicles (HOV), buses or bicycles. Signs nearby give the rules and hours.
- Stop lines: A wide solid white line across your lane shows where to stop at a sign or signal.
- Crosswalks: White lines, sometimes boxed or striped ("zebra"), mark where pedestrians cross. Some crossings are unmarked, and pedestrians still have rights there.
- Yield lines: A row of white triangles ("shark's teeth") points toward you where you must yield.
- Words: "ONLY," "STOP AHEAD," "SCHOOL" and "XING" reinforce nearby signs.
Signs and markings work together; our guide to road sign shapes and colors covers the other half of the system.
Quick quiz
Try these before you look at the answers:
- You're on a two-lane road. The center has a solid yellow line on your side and a dashed yellow line beside it. Can you pass?
- A dashed white line separates you from the lane to your left. Can you change lanes?
- You're in a lane with a white diamond painted on it and you're driving alone. What should you check?
- What do two yellow lines with dashes on the inside and solid lines on the outside mark?
Answers: 1. No, your side is solid. 2. Yes, when it's safe and you've signaled. 3. The posted HOV rules and hours; you may not be allowed in that lane. 4. A center two-way left-turn lane.
Marking questions and signal questions often appear back to back, so pair this with our post on the flashing yellow arrow. When you can explain the yellow and white lines on the road to a friend, run through our free practice tests to lock it in.
Frequently asked questions
Can you cross a double yellow line to turn left?
In most states, yes, you may cross a double yellow line to turn left into a driveway or side road after yielding to oncoming traffic. You may never cross it to pass.
What does a solid white line mean?
A solid white line separates lanes going the same direction and tells you to stay in your lane. It's also used to mark the right edge of the road.
What are center turn lanes for?
Center two-way left-turn lanes are for slowing down and waiting to turn left, from either direction. They aren't for passing or for driving long distances.
Keep reading
Rules of the Road· 6 min read
Road Sign Shapes and Colors: What Each One Means at a Glance
Road sign shapes and colors decoded: why stop signs are octagons, what pentagons and pennants mean and which color means what. Free printable chart inside.
Rules of the Road· 5 min read
Right of Way Rules Every Driver Must Know: 9 Real Situations
Right of way rules made simple: uncontrolled intersections, left turns, pedestrians, merges and emergency vehicles, scenario by scenario. Test yourself after.
Rules of the Road· 6 min read
4-Way Stop Rules: Who Goes First, Every Time
4-way stop rules explained with five real scenarios: first to stop, simultaneous arrivals, left turns and pedestrians. Never freeze at the stop sign again.