Skip to content
Highway Code6 minRamon Curto

Vehicle lights: when to use dipped beam, main beam and fog lights

When to use dipped beam, main beam and fog lights under the Código da Estrada: 30 m and 100 m ranges, restrictions, fines and theory-test rules.

In brief

Vehicle lights are covered by Articles 60 to 63 of the Código da Estrada and are a regular feature of the theory test: the 30 m and 100 m ranges, when main beam is prohibited and what to do if lights fail appear in direct questions and picture-based questions.

This page covers the types of lights and their functions, the conditions for use under Article 61, when dipped headlights are compulsory even during the day, the rules for hazard warning lights and what to do if lights fail—including the special rule for motorways.

Vehicle lights: when to use dipped beam, main beam and fog lights

Types of lights and ranges (Art. 60)

The Código distinguishes lighting devices (which help the driver see) from light-signalling devices (which help the vehicle be seen). The two figures to memorise: main beam illuminates the road for at least 100 m; dipped beam illuminates up to 30 m.

Lights listed in Art. 60 of the Código da Estrada
LightTypeFunction
Main-beam headlightsLightingIlluminate the road ahead for at least 100 m
Dipped-beam headlightsLightingIlluminate the road ahead up to 30 m
Front fog lightLightingImprove lighting in fog or other reduced-visibility conditions
Reversing lightLightingIlluminate the road behind and warn that the vehicle is reversing or about to reverse
Position lights (front sidelights)SignallingIndicate the presence and width of the vehicle when seen from the front and rear
Direction indicatorSignallingIndicate an intention to change direction
Hazard warning lightsSignallingIndicate that the vehicle presents a particular danger (all indicators flashing together)
Brake lightSignallingIndicate that the service brake is being applied
Rear fog lightSignallingMake the vehicle more visible in dense fog or a significant reduction in visibility

When lights must be used (Art. 61)

Lights must be used from dusk to dawn and during the day whenever weather or environmental conditions make visibility insufficient—notably fog, heavy rain, snowfall and clouds of smoke or dust. In these conditions, each light has its purpose:

  • Position lights: while waiting for a level crossing to open, and when stopped or parked in places where the lighting makes it difficult to see the vehicle from 100 m;
  • Dipped headlights: in places where lighting allows visibility of at least 100 m, when meeting other vehicles, people or animals, when travelling less than 100 m behind the vehicle ahead, when approaching a closed level crossing, and while stopped or stationary;
  • Main beam: in other cases—in practice, outside built-up areas on unlit roads with no nearby traffic;
  • Fog lights: whenever weather or environmental conditions require them, on vehicles that must be equipped with them.

Driving without the lights required by Art. 61(1) is a serious offence (Art. 145(j))—and becomes very serious on a motorway or equivalent road (Art. 146(h)).

Main beam: restrictions and dazzling

Using main beam is prohibited when meeting other vehicles, people or animals, when travelling less than 100 m behind the vehicle ahead, and while stopped or stationary. An offence carries a fine of €60 to €300 (Art. 61(6)).

More serious still: using main beam so as to dazzle is a very serious offence (Art. 146(d)), with the corresponding additional penalties. In the test, when facing an oncoming vehicle, the correct answer is always to switch to dipped beam early enough to avoid dazzling the other driver.

Dipped headlights by day: tunnels, reversible-flow roads and motorcycles

There are situations when dipped headlights are compulsory even during the day and in good visibility: in signposted tunnels and on reversible-flow roads (Art. 61(4)). Vehicles carrying dangerous goods, identified by an orange panel, must also use dipped headlights during the day (Art. 61(3)).

Motorcycles and mopeds must always ride with dipped headlights on, day and night (Art. 93); riding a motorcycle or moped without dipped headlights is a serious offence (Art. 145(j)).

Fog lights: only when justified

Fog lights are not extra lights to use whenever you like: using them is prohibited whenever weather or environmental conditions do not justify it (Art. 61(2)). The offence carries a fine of €30 to €150 (Art. 61(5)).

The rear fog light in particular is intended only for dense fog or other situations involving a significant reduction in visibility—leaving it on when visibility is good dazzles drivers behind you.

Hazard warning lights and light failure (Arts. 62 and 63)

Hazard warning lights (all four indicators flashing together) must be used when the vehicle presents a particular danger to other road users, if speed is suddenly reduced because of an unforeseen obstacle or special weather or environmental conditions, if the vehicle is forced to stop because of an accident or breakdown that presents a danger, and while the vehicle is being towed (Art. 63). If they cannot be used, use the position lights. Failure to use them carries a fine of €60 to €300, and failing to give a danger warning is a serious offence (Art. 145(m)).

If lights fail: when lights are compulsory, driving with faulty lights is prohibited unless the vehicle still has at least two dipped headlights—or the left dipped headlight with two sidelights, the left rear position light and one brake light (Art. 62(2)). If only the hazard warning lights are working, you may drive only for the time strictly necessary to reach a place where you can stop or park.

On a motorway or restricted-access road, a light failure requires you to stop the vehicle immediately off the carriageway—unless it still has the minimum dipped lights mentioned above, in which case you may continue to the nearest service area or exit (Art. 62(3)).

Frequently asked questions

What is the range of dipped and main beam?

Dipped headlights illuminate the road up to 30 m; main-beam headlights illuminate it for at least 100 m (Art. 60 of the Código da Estrada). These two figures come up very often in the test.

When is main beam prohibited?

When meeting other vehicles, people or animals, when travelling less than 100 m behind the vehicle ahead, and while stopped or stationary (fine of €60 to €300). Dazzling other drivers with main beam is a very serious offence.

When must I use dipped headlights during the day?

In signposted tunnels and on reversible-flow roads, whenever visibility is insufficient (fog, heavy rain, snow, smoke or dust), and when carrying dangerous goods. Motorcycles and mopeds must always ride with dipped headlights on.

What should I do if my lights fail on a motorway?

Stop the vehicle immediately off the carriageway. You may continue to the nearest service area or exit only if the vehicle still has at least the dipped headlights required by Art. 62(2) of the Código da Estrada.

Sources

Verified on 26/08/2026 against the legislation in force.

Practise the B licence

What you just read, as a quiz: 10 questions, about 3 minutes, no sign-up.

New to the exam? Start with the Spanish driving theory test in English.