Guides · Malaysia

Light switches and wall sockets in Malaysia: which wire goes where, why lights glow when off, and why plugs burn

Most switch and socket questions in Malaysian wiring groups come down to a few things. A light switch only ever carries the live. A switch with three wires that you’re replacing with a two-terminal one was almost always a 2-way switch, so buy a 2-way. Colours tell you less than you’d think, and since ST’s 2026 directive, black and blue can mean opposite things in different cables in the same house. A melted socket or plug is usually a bad contact, not an overload. And a test pen lighting up with the switch off doesn’t always mean there’s real voltage there.

This guide comes from this year’s switch and socket questions in Malaysian electrical and DIY Facebook groups: photos of the backs of switches, burnt plugs and the arguments underneath them. Where the groups cite a rule, it’s checked against the Energy Commission’s (Suruhanjaya Tenaga, ST) documents.

Before you open anything

Malaysia’s Electricity Regulations 1994 (reg. 111) say only a competent person, or someone working under one, may repair or replace equipment that’s part of an installation. That includes a wall switch or socket. Plenty of homeowners in DIY groups change their own anyway, and wiremen’s groups are full of the results: a bedroom light that died because the loop wire was left out, a “DB tendang” (tripped DB) after a guess, a 1-way switch bought to replace a 2-way.

What both camps agree on:

  • Photograph the old switch or socket from the back before you disconnect a single wire. The most-liked reply under one “which wire goes where” post was simply that.
  • Turning the switch off doesn’t make the box dead. The incoming live and any loop to the next switch stay live. Only the MCB or the main switch isolates them.
  • Test, don’t trust colours. A non-contact test pen can glow on induced voltage. Electricians reach for a multimeter.

Even if you’re paying someone, it helps to know what you’re looking at: you’ll buy the right part, and you’ll know whether the person you hired put it back properly.

Reading the back of a light switch

Malaysian switches are labelled per gang (one rocker = one gang) and per way (1-way switches a light from one place; 2-way pairs with another switch so you can switch a stair or shared-bathroom light from both ends).

Terminal markingWhat it isWhat lands there
COM, C, or LCommon: the incoming liveThe live from the DB, often with a second wire looping it on to the next switch or room
L1 (1-way)Switched liveThe wire to that gang’s lamp or fan
L1 and L2 on one gang (2-way)The two switched outputs of a 2-way switchThe two “strapper” wires running to the other 2-way switch
LA1, LB1, LC1… with COM A/B and COM COutputs of gangs A, B, C, and two separate common inputsLamp wires on the outputs; the live on both COMs (link them if there’s one supply)
L1/N1 and L2/N2, or “L N in / L N out”, often with a neon or LEDA double-pole (DP) switch, usually 20A, for water heaters and aircondsLive and neutral in, live and neutral out to the appliance

A normal light switch has no neutral and no earth. The exceptions are metal-clad switches, where the earth goes to the metal box, and DP or indicator switches, which do take a neutral. When a homeowner asked where the red and green wires went after a switch change, one of the most-liked replies was “since when does a green wire go to a switch?”

“The old switch had three wires, the new one has two holes”

This is one of the most common posts. The old switch was a 1-gang 2-way: a COM plus L1 and L2. The new one is a 1-way, with only an input and an output. Electricians answered the post the same way, over and over: you bought the wrong switch, take a photo of the old one to the shop and ask for a “1 gang 2 way”. If you join the two strapper wires into a 1-way switch, the light may only work from that one switch, or not turn off at all, depending on which wires you joined.

“The new switch has an extra L” or “the old one had two COMs”

Many older 2-gang switches were 2-way switches used as 1-way: two COM terminals linked by a short wire, and one output per gang. Newer 1-way switches often have a single shared L plus L1 and L2. Put both incoming live wires (the old COMs and their link) into L, and each lamp wire into L1 or L2. A 3-gang switch marked COM A/B and COM C has two common inputs so a wireman can feed gangs from different circuits or phases. On a normal single-phase house, both get the live: link them.

“I changed the living room switch and now the bedroom light doesn’t work”

There was a yellow (or white, or red) wire in the old switch’s COM terminal alongside the incoming live, and it got left out. That’s the loop: the bedroom switch takes its live from this switch. Put it back in the COM/L terminal with the incoming live. A loose wire like this sitting in a switch box is live whenever the circuit’s MCB is on.

Water heater switches with a light

A 20A water-heater switch is double-pole: it must break both live and neutral, and ST doesn’t allow a socket and plug on a water heater (GPPEPD 9.1(h)). Its indicator usually lights from the outgoing live and neutral, so if it stays dark after a replacement, check that both outgoing terminals are connected. Fitting an indicator switch in place of a plain light switch usually doesn’t work: the lamp needs a neutral, and light switch boxes normally don’t have one. The earth wire isn’t a substitute. More on the heater circuit itself in our water heater RCBO guide.

Wire colours: old, flexible, and the new 2026 code

There are now three colour schemes you might meet in one Malaysian house.

Old fixed wiring (for new work, allowed until the end of 2028)New fixed wiring (IEC 60445, ST 2026 directive)Appliance flex and light fittings
Live, single-phaseRed, but yellow or blue are also allowedBrownBrown
Three-phase L1 / L2 / L3Red / yellow / blueBrown / black / greyBrown / black / grey
NeutralBlackBlueBlue
EarthGreen or green-yellowGreen or green-yellowGreen or green-yellow

The old fixed-wiring colours are in Table 8.4 of ST’s domestic wiring guideline. Note that the live in a single-phase house can be red, yellow or blue. Flexible cords for light fittings and appliances have used brown, blue and green-yellow for years (Table 8.5).

In 2026 ST issued Arahan/ST/No.11/2026, a directive moving fixed wiring to the international colours. Either code may be used for new wiring, additions and alterations from 1 January 2026. All wiring must follow the new code from 1 January 2029. Where old and new colours are mixed in one installation, the DB must carry a clear warning label, and joints mixing the two must be marked. Breaking an ST directive is an offence: a fine of up to RM200,000, up to two years’ jail, or both. The directive applies to new and upgraded work; it doesn’t spell out what happens to old-colour wiring nobody touches.

The trap is obvious once you see the table. In old wiring, black is neutral and blue can be the live. In new wiring, black is a phase and blue is neutral. A house with an old circuit and a new extension can have both in one ceiling. A DIY group already split over a simple exhaust fan: brown and blue on the fan, blue, black and green coming out of the ceiling. Many replies said “blue to blue”; the most-liked said the opposite. The best-supported answers said that in old wiring the supply’s blue was the live and black the neutral. The owner connected blue to blue and black to brown, and the fan ran, because an AC fan doesn’t care. If those answers were right, the fitting ended up with live and neutral swapped.

So: colours are a hint, not an answer. Find the live by testing, with the circuit on and the meter set correctly, then isolate before you connect. When you add wiring to an old house now, expect the new colours and ask for the labels the directive requires.

Practical mapping for a light fitting on old wiring: the fitting’s brown goes to the house’s switched live (red, yellow, white or blue, whichever comes from the switch) and its blue goes to the house’s black. The green-yellow goes to the fitting’s metal body. Plastic-bodied fittings often have no earth terminal at all.

A light glows, flickers or “has current” with the switch off

A test pen lighting up at a light point with the switch off was one of the most argued-over posts in the groups. These are the usual causes, roughly in the order wiremen give them.

What you seeLikely causeHow it’s told apart
Test pen glows faintly on the lamp wire, but the lamp is darkInduced (“ghost”) voltage: a cheap neon or non-contact pen picks up voltage from neighbouring live cables in the same conduitA multimeter reads low or erratic voltage; with a lamp fitted, nothing lights
The neutral shows “current” at a light pointNeutrals are often shared between lamps. If one neutral joint is loose or broken, other lamps on the circuit that are switched on push live voltage back through their filaments onto it (“neutral return”)Goes away when the other lights on the circuit are off; find the loose neutral joint
LED glows dimly or blinks when offA small leakage current, from an illuminated or electronic switch, cable coupling, or the lamp’s own driver; LEDs light on a trickle that never showed on an old bulbDisconnect the lamp wire at the switch: if the glow stops, it’s the switch; if not, suspect the cable or the neutral. Try another lamp
Lamp holder is live with the switch off; the switch is wired in the neutralReversed polarity: the switch breaks the neutral, not the live, at the switch or back at the DBST’s polarity test requires every single-pole switch to be on the live conductor (GPPEPD 11.2.3); a wireman tests with the supply off and a meter on ohms
Lights dim, flicker or brighten oddly across the houseA floating neutral at the DB, meter or supply sideSerious: can destroy appliances. See our DB fire guide

The reversed-polarity case is the one that matters for safety. The lamp still switches on and off, so nobody notices, but the holder stays live while someone changes the bulb. Some replied that a test pen is enough, but the most-liked answers said a test pen can’t tell you any of this: use a multimeter, or remove the lamp and test again.

A switch that buzzes or makes the light flicker when it’s on, especially one that’s stiff or wobbly, usually has worn contacts; one owner whose light flickered and crackled reported the problem gone after a new switch. A switch that smells burnt, or is stuck on and warm, needs its circuit switched off at the MCB until it’s replaced.

Why sockets and plugs burn

Where the burn is tells you most of the story.

  • Burn at one pin hole of the socket, or one pin of the plug: the socket’s contacts no longer grip the pin, or the pin is oxidised. One reply in a wiremen’s group put it simply: “Kalau overload akan terbakar kat wayar. Kalau pin sentuh tk sentuh akan terbakar kat lubang pin” (overload burns the wire; a pin that doesn’t make good contact burns at the pin hole).
  • Burn on the live side of a fused 13A plug, near the fuse: the fuse isn’t gripped tightly by its clip. One 1hp aircond plug in a DIY group was scorched around the fuse, while the unit’s label said 3.3A, a quarter of the plug’s rating. A follow-up post analysing it, and the better-reasoned replies, put it down to a poor contact at the fuse, not overload. The live side heats first because its current passes through more joints: wire screw, fuse clip, fuse, pin.
  • Burn at the back of the socket, at a terminal screw: a loose terminal, or a screw clamping the insulation instead of the copper. Same mechanism as a DB terminal fire.
  • Wire insulation browned for some distance along the cable: genuinely too much current for the cable, often an extension block or a looped socket carrying a heater, oven or air fryer as well as everything else.

Most burns happen on things that run for hours: fridges and freezers, airconds, water dispensers, routers, and rice cookers and kettles used daily. A contact with a little extra resistance at 5A all night gets hotter every year as it oxidises. Steam from a rice cooker under a socket doesn’t help. “Overload” is the reflex one-word answer under every melted-plug photo, but for a 100W fridge it’s almost never the cause.

What to do: replace the socket and the plug top. A burnt socket ruins the plug and a burnt plug ruins the socket. Cut the flex back to clean copper, and check the socket’s terminal screws when it’s opened. Cutting the melted plastic off a pin, which one DIY poster tried on a microwave plug, leaves the damaged contact in place.

Aircond on a 13A plug: what the rule actually says

Nearly every burnt aircond plug draws the same advice: “aircond tak boleh pakai plug 13A”, use a 20A double-pole switch with 4mm² cable straight from the DB. ST’s guideline is less absolute. Clause 9.1(m) says an aircond must connect through an accessory, “suis, soket alir keluar 13A / 15A atau pengasing” (a switch, a 13A or 15A socket, or an isolator), so it can be isolated. Units above 3hp must be wired fixed to their breaker. What the guideline does require is that the aircond has its own circuit (9.1(g)) with cable of at least 4mm² (Table 8.2 gives 4–6mm² as the minimum for special power circuits). So a 13A socket on its own aircond circuit is within the rule; an aircond plugged into an old looped socket on the general circuit isn’t. Many electricians prefer the 20A DP switch or a 15A round-pin socket anyway, because a fused plug has more contacts to go bad. More in our aircond installation guide.

Water heaters are different: no plug and socket at all, fixed connection with a double-pole switch.

Cheap sockets, and what the SIRIM label means

Every 13A socket, 13A plug, adaptor and extension block sold in Malaysia is a regulated item: it needs ST approval and the ST-SIRIM label. Sockets fall under MS 589-2, plugs MS 589-1, adaptors MS 589-3, and 15A round-pin parts MS 1577 (ST’s approval guideline). The label means the design passed type approval. It doesn’t mean the contacts in your unit are thick, or that the sticker is genuine. One DIY member opened a SIRIM-labelled power strip that sparked while running only a modem and router, under 100W, and found the contacts loosely held, nothing soldered or welded.

ST’s guideline also says switches, sockets and plugs used with UPVC conduit wiring shall be polycarbonate (9.1(b)); several commenters blame cheaper plastics that soften or turn brittle with heat. Electricians in these groups mostly name MK, UMS, Schneider, Hager and Siemens for sockets that feed fridges, airconds and kitchen appliances. A Mr DIY switched socket was RM8.30 or RM9.50 in September 2026, depending on the model. In the same thread, a Schneider socket was RM4.99 online (one reply asked whether it was genuine) and a Vivace about RM5. Several replies said the supermarket ones are fine for phone chargers, TVs and fans but not for kettles, ovens or other kitchen appliances. Others disagreed: one member has run one on a fridge for three years, another on a 1.4kW e-bike charger, and the in-house electrician who came to the poster fitted the RM9.50 one to the fridge. Nobody has failure-rate data; it’s experience, not statistics.

Socket circuits: ring, radial, and how many sockets

ST’s guideline (Table 6.3) limits general socket circuits by floor area, not by socket count:

CircuitBreakerMinimum cableFloor area served
Ring30 or 32A2.5mm²up to 100m²
Radial30 or 32A4mm²up to 75m²
Radial20A2.5mm²up to 50m²

The socket counts quoted in the groups (“max 10”, “8 is fine”, “10 to 20”) aren’t in the guideline. The important part is matching breaker and cable. A 32A MCB on a 2.5mm² radial is wrong: the cable can overheat before the breaker trips. Heavy fixed appliances such as aircond, water heater, oven and dryer get their own circuits (9.1(g)). One wireman asked about 16 sockets looped on a C32 that he had found in a client’s house; the owner had told him it tripped often.

Two live wires in one 32A MCB: ring or “tumpang”? It might be a ring (both ends of one loop of cable come back to the breaker) or two separate circuits sharing one breaker because the DB was full. The test electricians gave: with the MCB off, lift one of the two live wires, switch back on, and see whether the lifted wire is still live. If it is, or if a continuity test shows the two wires join up, it’s a ring. If some sockets go dead, it’s two circuits on one breaker, which on a 32A MCB usually means the cable is undersized. This is live testing, so it’s a wireman’s job, but it’s a fair thing to ask them to check.

Placement rules worth knowing before you renovate: no socket within 300mm horizontally of a sink or tap, nothing above the hob (6.3(a)), and the cable to a wall switch or socket runs vertically above it (6.3(b)(iv)). That last one is why drilling straight above a socket so often hits its cable.

Polarity, power track, USB sockets and adaptors

Reversed live and neutral on a plug-in socket tester is common on power track sockets (the rail you clip movable sockets onto). The rail’s conductors are fixed top and bottom, so mounting the track the other way round swaps live and neutral at every socket. Wiremen who’ve fitted them say to check each install with a tester and swap the feed at the rail’s end if needed. They also distrust the clip contacts for rice cookers, ovens and air fryers. You’ll hear that “power track isn’t ST-approved”. That’s wrong as a blanket statement: ST’s approval guideline lists power track systems and modules as regulated items. So an approved track must carry the ST-SIRIM label, and it’s on you to check the one you buy has it. One member found a listing that claimed SIRIM approval, and a product without the label.

USB sockets are fine if approved: a 13A socket with USB ports must meet MS 589-2 and MS IEC 60950-1 (GPPEPD 9.1(n)). Smart plugs for freezers or water pumps are a matter of rating. One rated 16A on a 0.6A, 85W chest freezer is no problem; the same plug on a 2kW heater or kettle is a different story.

Adaptors and extension blocks are the most common thing that melts after the wall socket itself. A “4800W heavy-duty” T-adaptor still plugs into one 13A socket. Don’t put a dryer, kettle, air fryer and microwave on one block. Imported appliances with 16A or round-pin plugs (pressure washers, EV granny chargers, some ovens) want a dedicated outlet; some electricians suggest a 15A round-pin socket on its own circuit rather than a converted 13A plug and an extension cord.

What replacing a switch or socket costs

Reported quotes from 2026, not a price list:

JobReported figureWhere / when
Replace a light switch, including the switch, 4–5km tripPoster proposed RM35 total for a single mother; replies ranged from RM25–30 (several, often joking about the client) to RM50–80; the most-liked price answer said RM80 if nearby and claimed RM100+ is the market rateNational wiremen’s group, July 2026
Replace a 20A switch, part includedRM40 (same discounted customer)Same wireman, July 2026
Replace a stuck 20A water heater switchRM60Cheras, July 2026
Knock out and replace a broken switch boxRM35 per box quoted; the most-liked reply said a call-out now starts at RM80, others named moreJohor Bahru, August 2026
Fit a switch (new graduate, a friend’s job)RM15 labourApril 2026
Replace a socket or switch“up to RM50 each” if you hire someone, per a reel caption in a wiremen’s groupOctober 2026

Contractor price lists put installation-only work at about RM25–30 for a switch and RM30–35 for a socket, with a call-out charge often on top for a single item. Adding a new socket point is a wiring job priced per point; see our house wiring prices guide. Wiremen in the groups were scathing about a February 2026 post pricing a new socket point at RM45 in parts plus RM5 labour; one speculated that cable at RM3 a metre likely wasn’t SIRIM-approved (see our SIRIM cable guide).

If several switches or sockets need doing, get them done in one visit: the call-out is most of the cost of a single item.

Warning signs worth a call today

  • A socket or switch that’s warm, smells of burning, crackles, or has brown marks around a pin hole.
  • A plug top that comes out hot after a long run, especially on a fridge or aircond.
  • A light that can’t be switched off, or a switch that’s stuck and smells.
  • Lights flickering across the house or brightening when something heavy switches on: a neutral problem, see our DB fire guide.
  • An RCCB that trips when one particular appliance is plugged in: see why an RCCB keeps tripping.

Switch the circuit off at the MCB, unplug what’s on it, and get it looked at by a wireman working for an ST-registered contractor.