The colour code is simple: blue (light blue) is reserved for neutral, green-and-yellow is reserved exclusively for earth (protective conductor), and the live (phase) conductor can be any other colour, most often brown, black or red. This code comes from European harmonisation (CENELEC document HD 308) adopted by NF C 15-100; it is applied in new installations in Morocco by electricians who work to this standard.
The colour table
| Conductor | Colour | Note |
|---|---|---|
| Earth (PE) | Green-and-yellow | Exclusive: never for any other use. A plain green or plain yellow wire is not acceptable. |
| Neutral (N) | Light blue | Reserved for neutral when the circuit has one. |
| Live (L) in single-phase | Most often brown, black or red | Any colour except blue and green-and-yellow. |
| Phases in three-phase | Brown, black, grey (European convention) | A different colour for each phase makes balancing and troubleshooting easier. |
| Switched lamp wires, two-way switch strappers | Often orange, purple, red | Trade practice, not a requirement; what matters is consistency within the installation. |
Rules to follow on site
- Never use green-and-yellow for anything other than earth, not even as a stopgap when you run out of wire.
- Do not use blue for a live conductor. If a multicore cable forces you to use the blue conductor for another purpose, it must be marked at both ends, but this should be avoided.
- Keep the same live colour from one end of a circuit to the other and, in three-phase, the same colour for the same phase throughout the building.
- Colour says nothing about cross-section: a 1.5 mm² wire and a 2.5 mm² wire can be the same colour; the cross-section is read on the sheath or measured.
Be careful in old houses and riads
In old installations, which are common in the medinas and in neighbourhoods built between the 1970s and 1990s, the colours may not follow this code: red neutral, phases of various colours, no earth wire, wires reused during successive renovations. A colour never guarantees that there is no voltage. Before any work, switch off the circuit at the board and check with a voltage absence tester. If you find an installation with no green-and-yellow conductor, it probably has no proper earthing: this is a priority safety issue. For a purchase, see checking the electrics of an old house.
Labelling and as-built drawings
Beyond the colours, a well-executed installation has labels on the board (each circuit breaker shows its circuit), markers on the cables in junction boxes and an up-to-date diagram. This file makes all future work easier.
The role of the design office
The design office sets out in the specifications the cable types, colours and labelling expected, then checks compliance during site visits, before conduits and false ceilings are closed. It also produces the as-built diagrams and drawings handed over to the owner at the end of the works.
Frequently asked questions
What colour is the neutral wire?
Neutral is blue (light blue). This colour is reserved for it in installations complying with NF C 15-100.
What colour for the live wire?
Any colour except blue and green-and-yellow; in practice brown, black or red. In three-phase, the European convention uses brown, black and grey.
Can you trust the colours in an old house?
No: old installations do not always follow the code. Switch off the power and check for absence of voltage with a tester before any work.
A project in the pipeline?
SIGMA ICC designs reinforced concrete, electrical, plumbing and HVAC systems and supervises sites for villas, riads, hotels and shops.
Sources : Legrand, à quoi servent les différents fils électriques · IZI by EDF, couleurs des fils électriques · 123elec, couleur des fils : neutre, phase et terre.