

SC Lunyon S.R.L.
Str. Lunga Nr. 149, Ap. P3
500059, Brasov, Romania
CUI 53185791
© 2025-2026 Lunyon. All rights reserved.

/How To's
If you've got a lamp, a string of fairy lights, or any small appliance with a simple two-wire cord, you can do the same thing. This is one of those repairs that looks intimidating and turns out to be almost boringly easy. Let me walk you through exactly how I do it.
Quick vocabulary detour, because it makes buying one much less confusing. The little switch you clamp onto a cord is an inline cord switch. You'll also see it sold as a "feed-through switch," a "line switch," or just a "lamp cord switch." They all mean the same gadget: a small plastic box that the cord runs through, with teeth or screws inside that bite into the wires to make and break the circuit.
There are two common types. The cheap rocker kind has little spikes that pierce the cord insulation when you screw the halves together, so you barely have to strip anything. The other kind, which I prefer, has screw terminals where you wrap bare wire under a screw. The screw version is a bit more work but it grips better and lasts longer, so that's the one I'm describing here. The steps are nearly identical either way.
That's the whole list. No solder, no special crimpers.
I know your steps probably start with cutting the cord, but please do this one thing first. **Unplug the lamp from the wall.** Not "turn it off," actually pull the plug. A cord switch only breaks the circuit when it's installed and working, and right now it isn't installed yet. Working on a live cord is how people get a nasty surprise. Pull the plug, double check it's out, and now you can relax.
Decide where the switch should live. I like mine about a foot or two down from the lamp base so it falls naturally to hand, but put it wherever feels right for how you reach for it.
Once you've picked the spot, cut clean through the cord with your strippers or knife. Don't agonize over this. You're going to rejoin both ends inside the switch, so a single clean cut is all you need.
Here's the step people skip, and then they wonder why they've got bare copper poking out of the switch housing. Before you strip anything, hold the cut ends up to the open switch and eyeball how the cord sits inside it.
You want the outer sleeve of the cord to reach right up to where the wires enter the terminals, with no naked wire hanging out in the open once the case is closed. Lamp cord (the flat "zip cord" kind) is two wires joined down the middle. You'll need to gently separate the two halves for maybe half an inch to an inch so each wire can reach its own terminal. Pull them apart slowly so you don't tear the copper.
Measure twice here. It saves you redoing it.
Now peel back the outer insulation on each wire. If you've split the zip cord into its two halves, you're stripping each half on its own.
Strippers make this painless: find the notch that matches the wire gauge, squeeze, and pull the insulation off. With a knife, roll the blade lightly around the insulation without digging into the copper underneath, then slide the sleeve off. Nicking the copper strands weakens the wire, so go gentle.
You only need a short length of bare copper, roughly 5 to 7 mm, about a quarter inch. That's enough to sit under the screw or fill the terminal slot without leaving extra copper exposed.
If the wire is stranded (most lamp cord is), twist the little strands together tightly between your fingers so you've got one neat twist instead of a frayed brush. A tidy twist seats under the screw much better and won't leave stray whiskers that could touch where they shouldn't.
Drop each bared wire into its terminal in the switch and tighten the screw down onto it. Most inline switches have two sides, one for the wire coming from the plug and one for the wire going to the lamp, so each cut end gets its own pair of terminals.
Snug the screws firmly. You want the copper pinched solidly under the screw head, not just resting against it. If your switch is the screw-terminal type, this is the connection doing all the work, so it's worth getting right.
Before you go any further, give each wire a soft pull. Nothing dramatic, just enough to feel whether it's holding.
If a wire slides out or feels loose, back the screw off, reseat the copper, and tighten again. Better to catch a sloppy connection now than after the case is shut.
A lot of cord switches have a built-in strain relief, little plastic jaws or a clamp that grips the outer cord sleeve. Use it. I can't recommend this strongly enough.
The reason is simple: if you only rely on the terminal screws to hold the cord, then every time someone yanks the lamp or trips over the cord, that pull goes straight onto your wire connections. Over time they work loose, or worse, a strand pulls free and shorts. The strain relief takes that pull on the tough outer jacket instead of the delicate connections. Clamp it down on the full cord, not the stripped part.
Now pull again, and mean it this time. Give the cord a proper, confident tug from both sides of the switch.
With the strain relief doing its job, the cord should barely budge and the wires shouldn't move at all. If anything shifts, open it back up and sort it out. This is your last easy chance before the case is closed.
Bring the two halves of the switch together, make sure no wire is pinched across the seam or sticking out, and screw or snap the case shut. It should close flush with no gap. If the halves won't meet, a wire is probably sitting where it shouldn't, so open it and tuck things back in rather than forcing it.
Use a multi-meter to check for short-circuits. I can't stress this enough and it's the best test you can do before plugging it in the wall.
Plug the lamp back into the wall and try the switch. Click it on, the lamp should light. Click it off, it should go dark. Try it a few times to be sure the action feels solid and not mushy.
While you're at it, run your fingers along the switch housing. It should stay cool and feel normal. If you ever notice a cord switch getting warm, flickering, or buzzing, unplug it and recheck the connections, because that usually means a wire isn't seated properly.
That's it. You've got a switch right where you want it.
It's an inline cord switch, sometimes sold as a feed-through switch, a line switch, or simply a lamp cord switch. The cord runs through it, and it breaks the circuit when you click it off.
Same idea as a lamp. Unplug the cord, cut it where you want the switch, strip a short length of each wire, seat the wires in the switch terminals, tighten the screws, clamp the strain relief, and close it up. Just make sure the switch is rated for whatever the cord is powering.
For a standard lamp or small appliance, yes. It's a beginner-friendly job as long as you unplug the cord first and take your time on the connections. If you're dealing with house wiring inside a wall, that's a different and more serious task, and that's where I'd call an electrician.
Unplug the lamp, open or cut out the old switch, and you're back to two cord ends, exactly where step one of this guide starts. Wire in the new switch the same way and you're done.
No. An inline cord switch grips the wires with screws or piercing teeth, so there's no soldering involved. A firm screw connection and a clamped strain relief are all you need.