Guides · Malaysia

Wiring lights in Malaysia: wire colours, downlights, photocells, LED tubes and what electricians charge

Most lighting questions in Malaysian wiring groups come down to a handful of answers. A new fitting’s brown wire goes to the house’s live and its blue to the house’s neutral; green is earth. In most existing houses that means brown to red (sometimes yellow or even blue) and blue to black. But since 2026 new and rewired work may use the new colour code, where black is a live and blue is the neutral, so test which wire is live before you trust any colour. On a dusk-to-dawn photocell, black is the incoming live, red goes to the lamp and white is neutral, which is the reverse of what house-wiring colours lead people to expect. And the switch must always break the live, or the lamp stays live when it’s off.

The rest of this guide explains each one, where electricians disagree, and what jobs cost. It’s drawn from lighting questions posted in Malaysian electrical and DIY Facebook groups in 2026 and the full discussions under the most useful ones, checked against Suruhanjaya Tenaga (ST) guidelines and manufacturers’ instructions.

Which wire goes where

A light fitting comes with a flexible cord: brown, blue and sometimes green/yellow. Your ceiling has the house’s fixed wiring, and Malaysia is midway through changing its colours.

ConductorOld fixed-wiring code (most existing houses)New code (ST directive, 2026)Flexible cord on the fitting
Live (phase)Red, yellow or blueBrown, black or greyBrown
NeutralBlackBlueBlue
EarthGreen or green-yellowGreen or green-yellowGreen or green-yellow

The old code is the one in ST’s domestic wiring guideline (Jadual 8.4), which also sets brown/blue for flexible cords (Jadual 8.5). That guideline says ST “masih mengekalkan penggunaan kod warna yang lama”. ST has since moved on. Its Arahan Suruhanjaya Tenaga Bil. 11/2026 applies to new or upgraded wiring: red becomes brown, yellow becomes black, blue becomes grey, and the neutral changes from black to blue. From 1 January 2026 either code may be used; from 1 January 2029 “semua pendawaian elektrik hendaklah mematuhi kod warna kabel baru”. Where old and new colours are mixed in one installation, the directive requires a warning label at the DB and labels on the mixed joints.

In an old-code house, the join is brown to the coloured live, blue to black, green to green. That’s the answer that dominated the biggest colour thread in Pendawai Elektrik (over 1,100 reactions): “Coklat merah Biru hitam”. In a new-code installation, the fitting’s colours match the house’s: brown to brown, blue to blue.

The trap is that black and blue swap meanings between the two codes. In old wiring, black is neutral and blue can be a live. In new wiring, black is a live and blue is neutral. One KakiRepair member replacing a downlight in an older ceiling joined blue to blue and brown to black, because the colours seemed to match. The first reply pointed out that “Blue in conduit is LIVE phase colour. Blue in device flexicord is NEUTRAL.” (Swapping them didn’t make that lamp work either, and the replies moved on to checking the connection and the lamp itself, but the colour point stands.)

Two more things the electricians in these threads insist on:

  • Test before you trust colours. Contractors don’t always follow them, many older houses were wired in one colour, and a house that’s been partly rewired since 2026 may mix the two codes. Look for ST’s warning label at the DB. One homeowner opened a light point and found three red wires; one was the supply and the others went on to other lights or switches. With the MCB on and the switch on, a test pen or meter on each wire tells you which is live. If it isn’t obvious, it’s a job for a wireman.
  • Don’t cut the earth. In the biggest colour thread, the most-liked answers said to tape off or ignore the green, and many more said the same. The better answers said to connect it to the fitting’s earth terminal or metal body. On metal battens and T5/T8 fittings that matters. On an all-plastic fitting with only two wires, insulate the green end or park it in a spare connector way rather than snipping it off. The circuit’s earth still has to run on to the next point.

Why the switch has to be in the live

Many replies say an LED light “has no polarity”, so brown and blue can go either way. For most LED fittings with a built-in driver that’s true: the lamp lights either way round. The switch is different. ST’s testing procedure checks that every single-pole switch is “pada konduktor fasa”, meaning it breaks the live. If someone has put the switch in the neutral, the lamp holder stays live when the switch is off. That’s a shock risk when you change a bulb, and it’s one cause of LEDs that glow faintly at night.

Faint glow, flicker and lamps that won’t switch off

From the lamp’s side, the cases in these groups fall into three patterns:

  • A switch in the wrong conductor. As above: if the switch breaks the neutral, the lamp stays live and some LEDs glow. A related case involved the switch’s own neon indicator. After a homeowner fitted a new 20A double-pole switch, the water heater switched off properly but the neon stayed faintly lit. Replies blamed line and load swapped at the switch, or a faulty batch (“Function on off ok. Cuma lampu je problem”).
  • A smart switch with no neutral. These power themselves by leaking a little current through the lamp, and a low-wattage LED can glow or flicker on that current. The smart-switch section below covers the fix.
  • A loose neutral. LEDs that flicker during thunderstorms even with the switch off drew the same advice in one thread: tighten every neutral terminal, including at the meter. Flicker across the whole house, or lamps that brighten while fans speed up, points to a neutral fault on the supply. Our DB fire guide covers those cases.

When five of six high-bay lamps on one circuit started flickering together after more than six years, the replies split between a loose neutral in the loop and drivers at the end of their life. The practical test they suggested works for any row of lights: swap a good fitting with a flickering one. If the flicker follows the fitting, it’s the lamp; if it stays at the point, it’s the wiring.

Downlights: looping, connectors and replacing one

Looping several downlights from one switch is normal, and the load is rarely the issue. A KakiRepair member posted four downlights, 39W in total (about 0.2A), looped through one small screw connector; even at 39W each it would be about 156W, under 1A. What electricians objected to was the joint: three cables forced into one connector hole. The most-liked fix was “use bigger connector”, and others suggested lever connectors (Wago 221-413/415) or T-type terminal blocks. One reply was blunt about cheap screw “chocolate block” connectors: he’d seen many burnt even on 5W lights, because the screw grips badly. Another added that single-core house wire fractures when it’s bent inside them.

Replacing a downlight usually goes wrong in one of three places:

  1. The driver. Older downlights often have a separate driver box with a plug; most new ones have the driver built in and take mains directly. Don’t wire a built-in-driver lamp through the old driver, and don’t wire a separate-driver lamp straight to mains. Read the label: an AC input voltage range means it takes mains.
  2. The colours. In an old-code ceiling, two black wires and one blue usually means the blacks are neutrals (one going on to the next light) and the blue is the live, not the other way round. Confirm with a tester, since new-code wiring reverses that.
  3. The screw. Several replies pointed out that a terminal screw can clamp the insulation instead of the copper. New lamps come with very short stripped ends, so strip a bit more and check the copper is under the screw.

Some wiremen now steer owners towards eyeball fittings with GU10 bulbs, because the bulb pops out without disturbing the plaster ceiling. One quoted a casing at about RM4 and a SIRIM-labelled 8W GU10 bulb at just over RM3 (January 2026). One homeowner with GU10 track lights found the opposite: the bulbs fail often, and replacing them in bulk gets expensive. Neither side had more than anecdotes.

How many lights on one circuit?

ST’s guideline doesn’t set a number of lighting points per circuit. It sets 1.5mm² as the minimum cable for lighting and fan circuits (Jadual 8.2), and its example schematics show lighting circuits on 6A MCBs with 1.5mm² cable behind a 100mA RCCB. A 6A breaker carries about 1,380W, far more than a room of LED downlights uses. In the looping thread one reply said “max 10 point and max 1000w. That is the rule”, and another suggested keeping the total under half the MCB rating. Both are sensible practice, but neither is in ST’s guideline. Add up the wattage printed on the lamps; for LED lighting the limit is rarely the breaker.

Photocell (dusk-to-dawn) sensors

“How do I make a light come on at night and go off in the day?” drew 2,800 reactions and about 470 comments in Pendawai Elektrik, the most for any lighting question this year. The device is a photocell, or “photo control”. The common Japanese-made one in Malaysia, the Selcon AS-2403A (Kaga Inc., 3A, 240V), prints its wiring on the cap: “LOAD (RED), NEUT (WHITE), LINE (BLACK)”.

Photocell wireConnect to
Black (line)Incoming live, from the MCB or from a switch
Red (load)The lamp’s live (brown)
White (neutral)Supply neutral, joined with the lamp’s neutral

Here’s why people get it wrong. On house wiring, black is neutral; on the photocell it’s the live input. A highly liked answer in the big thread had red and black swapped and was corrected underneath. Another homeowner’s lamp stayed on day and night because red and black had been joined together, which bypasses the sensor completely. Cheap generic photocells don’t all use the same colours, so read the cap rather than a diagram for a different model.

Where you mount it matters as much as the wiring:

  • Keep it away from the lamp’s own light. Otherwise the lamp comes on, the sensor sees light, the lamp goes off, and it cycles all night. Wiremen call this “lampu disco”. Selcon’s seller listing says the same: install it away from direct electric light.
  • Give it daylight. A sensor under a dark roof or awning switches on early and off late.
  • Window towards the sky, not upwards into the rain, and seal the entry against ants.
  • Test it by covering the sensor with a black bag or cloth. Expect a delay of about a minute before it switches.

A photocell switches small loads. For a row of floodlights or a big load, wiremen have the photocell drive a contactor and add a bypass switch so the lights can be turned on in daylight for maintenance. Outdoor fence and garden lights are also one of ST’s examples of a circuit needing 10mA earth-leakage protection (Jadual 7.2), not the 100mA used for indoor lighting, and outdoor fittings must be weatherproof (9.1(f)).

Selcon or a RM5 unit? This was the liveliest argument. Many owners say a Selcon lasts ten years or more (one since 2003, another four units since 2014 with one failure). Others report cheap blue-cap units dying within months, though plenty say theirs have lasted five years. One wireman put it in warranty terms: he’d guarantee a Selcon for a year, a cheap one for a month. Malaysian sellers listed the AS-2403A at RM22–33 in October 2026.

Alternatives people suggested are E27 bulbs with a built-in dusk sensor (under RM10, no wiring), solar lights, or a 24-hour timer, which switches by the clock rather than the weather. One owner’s timer ran hours late after a blackout, probably a model without battery backup.

Timers and contactors

For a timer controlling lights, the advice in a timer thread was consistent. A modest LED load can go straight through the timer’s contacts. Larger loads, or lamps with ballasts and high starting current, should go through a contactor so the timer’s small contacts last. Check the timer’s contact rating and add up the load first. One commenter suggested 200W as a comfortable direct load for an ordinary timer; that’s a rule of thumb, not a published figure.

LED tubes in old fluorescent fittings

“Can I put a T8 LED tube in without removing the ballast?” splits the group. Both camps are right for different tubes. Philips’ general LED tube installation guide sorts it by what’s in the fitting:

  • A starter and a magnetic ballast (most old fittings): remove the starter, fit the LED starter supplied, and use a tube marked for electromagnetic ballast (“EM/Mains”) or universal. The ballast can stay. This matches the majority answer in the group: “Boleh tp kena buang starter” (yes, but remove the starter).
  • No starter, electronic ballast: only tubes made for that ballast (Philips “HF”/InstantFit or universal), and only after checking compatibility. Group members warned that an ordinary mains LED tube in an electronic-ballast fitting can blow.
  • Direct mains: cut the ballast out and wire the tube holders exactly as that tube’s diagram shows. Some tubes take power at one end, others across both.

Philips marks the type with rings on the tube: one ring for EM/Mains, two for HF, three for universal (T8).

The minority who always bypass the ballast have a point for the long run. A magnetic ballast left in circuit can still fail, trip the circuit or cook old wiring, and several said buying a new LED batten (from a few ringgit) is less work than modifying a 20-year-old fitting. One homeowner went the other way: three 30-year-old fluorescent fittings that wouldn’t start came back to life with RM3 pairs of new tube holders.

LED strips follow the same logic as tubes. Most run on a separate low-voltage driver (12V or 24V, or 5V USB for small TV-backlight strips), so a replacement strip must match the driver’s voltage and stay within its wattage, and it can only be cut at its marked cut points.

Smart switches and the missing neutral

A normal Malaysian switch box has no neutral: only the live in and the switched lives out to the lamps. Smart switches come in two kinds:

  • With neutral. A neutral has to be brought into the switch box, usually from the nearest light or fan point. The neutral must come from the same circuit. In one thread the most-liked practical reply warned that if your DB has separate RCCBs for lighting and power, borrowing a neutral from a socket or aircond switch will trip the RCCB. In a separate post, an owner who tapped the aircond switch’s neutral found his smart switch worked only while the aircond switch was on, and reset otherwise.
  • No neutral. These leak a small current through the lamp to power themselves. Sellers include a capacitor to fit across the first lamp (L1) so a low-watt LED doesn’t flicker or glow. One buyer’s switch quoted a 3W minimum load. Owners report mixed results: one had no trouble with 15W lamps, while another called lighting “a hit or miss” on no-neutral switches, with fans less of a problem.

Smart wall switches are regulated equipment. ST’s approval guideline lists electronic and remote-control switches under its switch category, and LED drivers, bulbs and retrofit tubes under lamp fittings. All need the ST-SIRIM label, and lighting also needs an energy-efficiency (MEPS) label. Many marketplace smart switches show only CE and RoHS marks. Durability complaints in the groups include a touch panel that stopped responding after a year (the app still worked) and smart plugs dying within two years.

DIY or electrician?

Under the Electricity Regulations 1994 (reg. 111), repairing or replacing equipment that’s part of an installation is work for a competent person or someone under their control. In practice, plenty of homeowners in these groups swap a fitting like-for-like. Where it goes wrong in the cases above, it’s usually one of these, and each is a good reason to call a wireman instead:

  • wiring in one colour, or more wires at the point than you expected;
  • a new light point, a new switch position or a new circuit (see what house wiring costs per point);
  • outdoor lights, which need weatherproof fittings and 10mA protection;
  • a neutral for a smart switch, which has to come from the right circuit;
  • flicker or dimming across several lights, which points to the wiring or the supply rather than the lamp.

If you do it yourself, switch off the MCB for that circuit, not just the wall switch. A switch wired into the neutral leaves the lamp live.

What electricians charge

These are prices wiremen and customers quoted in 2026 discussions. They’re reported figures, not market rates. For new light points and loops, see our house wiring prices guide: advertised rates are around RM80–130 per light point, and about RM25–35 to fit a light the owner supplies.

JobReported priceWhere, when
Replace one downlight (labour)RM15 was called too cheap by most replies; RM25–30 per lamp “normal”; RM60–80 for a single lamp, or a RM50 call-out with the lamp charged separately, and one asked RM120 for a lone visit; 10 lamps for RM400Pendawai Elektrik, Aug 2026
Change one bulb, 8 km away, bulb RM8Most suggestions RM50–80; some wiremen won’t go out for under RM100Pendawai Elektrik, Jul 2026
Fit 10 downlights the same dayOffers of RM270–350 for the lotSetia Alam, Aug 2026
Light point and loopFirst point RM120–150, each looped light RM70–90; one contractor quotes a lump sum of RM85 a lamp, and charged RM75 a lamp on a 108-lamp jobPendawai Elektrik, Jan 2026
One warehouse high-bay lampRM30 to RM600 suggested; access (scaffold or scissor lift) is most of the costPulau Indah, Apr 2026

Two patterns show up across these threads. Single-lamp jobs cost far more per lamp than batches, because the travel, ladder and time are the same. And developers sometimes count “points” by switch: one switch running three lights counted as one point. Wiremen pushed back hard on that. Most price the first light as a point and each extra one as a loop.

If a lamp keeps burning out or a circuit keeps tripping as lights switch on, our RCCB tripping guide covers the fault-finding, and SIRIM cable explains cable sizes if you’re extending a lighting circuit.