Skip to main content

Product guide

4-Pin and 2-Pin Push Button Switch Wiring Explained

Published Updated Author Cunjian Zhu Source ZJWZJH (JINHONG)

4-Pin and 2-Pin Push Button Switch Wiring Explained

How to identify the pins on a 4-pin or 2-pin push button switch, wiring diagrams for an illuminated 4-pin button, and the checks to make before applying power.

A 4-pin push button usually has two switch terminals and two lamp terminals: one normally open (NO) contact and an LED. A 2-pin push button is the same switch without the lamp. Wire the two switch pins in series with the circuit you want to control, and wire the two lamp pins to a supply of the rated lamp voltage, observing + and − if the LED is polarised.

Always confirm which pins are which on the drawing for your exact model, because four pins do not follow one universal layout.

Identify the four pins.

Four pins can mean different things. The drawing or the markings on the body tell you which layout you have.

Common 4-pin and 2-pin push button layouts
PinsWhat they areTypical device
2 pinsOne NO or one NC contactNon-illuminated button
4 pins: 2 switch + 2 lampOne NO (or NC) contact and an LEDIlluminated button such as a ring or power-symbol metal button
4 pins: 2 + 2 switchTwo separate contacts, for example 1NO+1NC with no shared commonNon-illuminated button with two contacts
4 pins on a PCB tactile switchOne contact; the four legs are joined in two internal pairsSmall 6 mm or 12 mm board switches

On illuminated panel buttons, lamp terminals are often marked + and −, or X1 and X2, and switch terminals 1 and 2 or C and NO. A button with five pins adds an NC terminal to a shared common; that layout is covered in the 5-pin push button wiring guide.

Find the pins with a multimeter.

Step 1. Disconnect the button from any circuit. Set the meter to continuity.

Step 2. Try each pair of pins with the button released and then pressed. The pair that changes from open to closed when pressed is the NO contact; a pair that changes from closed to open is an NC contact.

Step 3. The remaining pair is the lamp. On the diode-test range, an LED conducts in one direction only; the pin on the red probe when it conducts is +. Many panel LEDs need more voltage than a meter supplies, so a lamp that does not light on test is not necessarily faulty.

Wire a 4-pin illuminated push button.

The lamp can show different things, and the choice decides the wiring. The examples below use 24 V DC and a 24 V lamp, meaning a complete LED assembly with its own series resistor, as fitted in panel buttons. A bare LED would need an external resistor.

4-pin illuminated push button wiring, two options
The NO contact (1–2) and LED (X1–X2) are in the same button but are separate circuits.

Option A: lamp lights with the load. Connect the lamp in parallel with the load, after the NO contact. The lamp shows that the contact is closed. On a momentary button it lights only while pressed; on a latching button it stays lit while latched.

Option B: lamp shows that power is present. Connect the lamp straight across the supply. The lamp lights whenever the circuit is powered, which helps the user find the button and confirms the supply.

Option C: lamp driven separately. Wire the lamp to a PLC output or a relay contact, so it shows a machine state such as running or fault, independent of the button. This is the usual choice in control panels.

Wire a 2-pin push button.

A 2-pin button is a single contact. Connect one pin to the supply side and the other to the load, relay coil or PLC input. For an NO button, the circuit is completed while the button is pressed (momentary) or latched (latching). For an NC button, which is used for stop functions, the circuit is broken when pressed. The difference is explained in normally open vs normally closed.

Check ratings before switching a load.

Small buttons have small contacts. Check the switch rating and the lamp voltage on the product page before wiring:

Example: ZJWZJH (JINHONG) J12 power symbol button
ItemValue from the product page
Panel hole12 mm
Contact1NO
Thermal current (Ith)3 A
Insulation voltage (Ui)250 V
Lamp voltage options6, 12, 24, 36, 110 or 220 V
ProtectionIP65, IP67 on request

The J12 product page states that its LED lamp terminals have no anode/cathode difference, but that is not true of every button, so check the polarity for your model. Where a load draws more than the contact rating, switch a relay coil with the button and let the relay switch the load. Lamp voltage choices are explained in illuminated push button LED voltage.

4-pin wiring checklist

Confirm these points before applying power.

4-pin wiring checklist
CheckWhat to confirm
PinsSwitch pair and lamp pair identified from the drawing or by test.
ContactNO or NC, and rated for the load current and voltage.
LampVoltage matches the supply; polarity observed if marked.
Lamp functionLights with the load, shows power, or driven separately.
TestContinuity checked with the circuit isolated.

FAQ

How do you wire a 4-pin tactile push button?

A 4-pin PCB tactile switch has one contact, and its four legs are joined internally in two pairs. With the switch out of circuit, use a meter to find which legs are always connected; those form one pair. Wire one leg of each pair: one to the input, the other to the supply or ground. The other two legs can stay unused.

How do you wire a 4-pin illuminated push button to 12 V or 24 V?

Order the lamp for the supply you have, then wire the switch pair in series with the load and the lamp pair to the supply, observing + and − if marked. ZJWZJH illuminated metal push buttons and symbol-marked metal buttons are ordered by lamp voltage; the J12, for example, offers 6 V to 220 V.

What is the difference between a 2-pin and a 4-pin push button?

A 2-pin push button has one contact and no lamp. A 4-pin button usually adds two lamp terminals to that contact, or on some models carries two separate contacts such as 1NO+1NC. Check the drawing for the exact part; the push button switch range lists the contact options for each model.

Why does my 4-pin button light but not switch?

The supply is probably wired to the lamp pins only, or the load is connected to the lamp pair instead of the switch pair. Recheck which pins change state when the button is pressed. Do this with the circuit isolated, then move the load to the pair that changes state.

Can I use a 4-pin button without wiring the lamp?

Yes. Leave the lamp pins unconnected and insulate them so they cannot touch other terminals. The switch works the same way; only the illumination is lost. If the lamp is needed later, wire it to a supply that matches its rated voltage.

Download this guide as a PDF

Need help choosing industrial control components?

Send the model or application, panel dimensions, circuit requirements and quantity. Our team can help you find the relevant product information.

Contact ZJWZJH (JINHONG)