HOW-TO GUIDE

How to Solder a Replacement Tactile Switch Onto a PCB

To solder a replacement tactile switch onto a PCB, match the old switch's footprint, height and press force, remove it by freeing each pin with wick or fresh solder while rocking it out, and clear the holes. Then push the new switch in until it sits flat, solder one pin, check it is square, and solder the other three. Finish with a continuity test, pressed and released, before reassembling.

By the OhmSavvy Research Team ·

Q-MING 60W soldering iron kit with stand and tips
A basic adjustable iron handles a through-hole tact switch. The Q-MING 60W kit comes with five tips and a stand. See our Q-MING 60W kit review.

Before you start

  • Unplug the device and remove its batteries; discharge any large capacitors on the board.
  • Tact switches sit close to plastic buttons and ribbon cables. Move or tape them clear of the tip.
  • Ventilate flux fumes, wear safety glasses when clipping legs, and wash your hands after leaded solder.

Through-hole or SMD tactile switch?

Look at the old switch before ordering. The classic 6×6 mm through-hole tact switch has four legs through the board, usually in a 6.5 mm by 4.5 mm pattern. Surface mount versions sit on four pads on the surface, often in smaller sizes such as 3×4 mm, 4×4 mm or 5.2×5.2 mm, and some side-actuated types press from the edge of the board. The replacement must use the same mounting style and footprint.

Match the replacement's size, height and actuator force

PropertyWhat to checkTypical options
Body sizeOutline and pin pattern6×6 mm, 12×12 mm through-hole; 3×4 to 6×6 mm SMD
HeightBoard to top of actuatorOften 4.3, 5, 7, 9.5 or 13 mm for 6×6 parts
Actuator forceGrams-force or newtonsCommonly about 100 to 320 gf
StemRound, square or for a capMust fit the case button or keycap
RatingSignal-level switchingOften tens of mA at 12 V DC; check datasheet

Measure height with calipers from the board to the actuator top. When in doubt, match height first: a wrong height is the most common reason a fresh switch feels dead under its case button.

1Remove the old 4-pin switch

Four short legs that you cannot heat at once make this the fiddly part. Pick one of these approaches:

  • Clear each pin, then wiggle: wick or pump the solder off every pin, then flex each leg in its hole while touching it with the iron until it moves freely.
  • Add solder and rock it out: flood one side's two pins with fresh solder, heat them and lever that side up slightly, then switch to the other side. Alternating a little at a time walks the switch out.
  • Cut it free: the old part is scrap, so clipping its legs at the body and removing each stub on its own puts the least stress on the pads.
  1. 01

    Flux pins

    All four legs

  2. 02

    Free side A

    Heat, lever slightly

  3. 03

    Free side B

    Alternate, a little each

  4. 04

    Lift out

    No force on pads

  5. 05

    Clear holes

    Wick or needle

A low-stress removal sequence. Never pull on the body while any leg is still held by solid solder.

2Clean the holes

The new legs need open holes. Add fresh solder and flux to each hole, then clear it with wick, a pump from the far side, or a stainless needle pushed through while the solder is molten. The full method is in removing solder from a plated through hole. Check the pads are still attached; if one has lifted, repair it as described in repairing lifted PCB pads before going further.

3Seat the new switch flat

Line the legs up with the holes in the same orientation as the original; the 6.5 mm and 4.5 mm spacings normally allow only the correct alignment. Press until the body sits flat on the board. Many tact switches have kinked legs that snap in and hold the part; if yours do not, hold it with tape or a finger on the far side of the board.

actuator12346.5 mm (always joined)4.5 mmcloseswhen pressedtypical layout: confirm with a meter
Typical 6×6 mm pinout: the pins 6.5 mm apart are joined inside, and pressing the button links the two pairs.

4Solder the pins

Solder one corner pin first, then look along the board edge: if the switch is tilted, reheat that pin and press it flat. Then solder the diagonally opposite pin and the remaining two. Each joint needs only two to three seconds and enough solder for a small concave fillet. A typical setting is 320 °C to 350 °C with leaded solder; see the temperature guide. Keep the tip off the plastic body.

Fitting an SMD tact switch instead

For a surface mount tact switch, flux and lightly tin one pad, hold the switch in place with tweezers and reflow that pad, then check alignment before soldering the other three. Heat the pad and terminal rather than the body, as the plastic is small and the dome inside can distort. A fine chisel suits most SMD tact pads, and the solder bridge guide helps if terminals are close together.

Test the new switch

With the board unpowered, set the meter to continuity and probe across the two pairs, for example pins 1 and 3. It should read open when released and close to zero ohms when pressed. Then check the always-joined pins read continuous. The method for finding pairs is in how to test a push button switch with a multimeter.

OLΩΩ released0.2ΩΩ pressed
What a good tact switch shows across the switched pins on continuity or low ohms.

Test in the case too

Refit the enclosure and press the real button. A switch that tests fine on the bench but fails in the case usually means the height or stem does not match.

Irons from our soldering reviews

Q-MING 60W soldering iron kit
Q-MING 60W Kit

60W with an adjustable dial, five tips and a stand. Aimed at beginners and occasional use.

Hakko FX-888DX soldering station with FX-8801 handpiece
Hakko FX-888DX

100W digital station that takes the same T18 tips as the FX-888D it replaces, with a 65W iron for small switch legs.

As an Amazon Associate I earn from qualifying purchases. Prices and availability are shown on Amazon.

Frequently asked questions

Does it matter which way round a tactile switch goes?

For a four-pin through-hole tact switch it usually only matters by 90 degrees. Pins are joined in pairs internally, so turning it 180 degrees gives the same circuit, but turning it a quarter turn can leave the button permanently connected. The leg spacing differs on the two axes, so it normally only fits the correct way.

Can I replace a tactile switch with a different height?

Only if the enclosure button still works. Too short and the button cap may not reach it, leaving a dead or spongy press. Too tall and the switch is held partly pressed, or the case will not close. Measure the old switch from the board to the top of the actuator and buy that height.

Why does my new tactile switch feel different from the old one?

Tact switches come in several actuation forces, commonly given in grams-force or newtons, and stem shapes. A replacement with a heavier force feels stiff; a lighter one feels mushy or triggers on a light touch. Check the force on the original's datasheet if you can identify it, or try a mid-range value.

How hot should the iron be for a tact switch?

A normal through-hole setting is fine, typically 320 °C to 350 °C with leaded solder and a little higher for lead-free. The pins are small and short, so each joint takes two to three seconds. Avoid leaving the tip on a pin for long, as heat travels up into the plastic body and can deform the internal dome.

My replacement tactile switch does nothing. What went wrong?

Check orientation first: a switch turned a quarter turn may read as always closed or simply not connect the right pads. Then check each joint for a cold or missing fillet, and test the switch on its own with a meter. If the switch tests fine, the fault may be a lifted pad or a broken trace near the old part.

Where to go next

More soldering iron guides and reviews

Product reviews

View all 5 reviews →