Home / Micro Switch / Wiring Guide

Wiring & Testing

Micro Switch Wiring: Diagrams, COM/NO/NC & 3-Wire Connections

Learn how to identify COM, NO and NC terminals, wire a two-wire or three-wire micro switch, test it with a multimeter, and avoid the mistakes that cause unreliable switching.

Safety first

Before wiring: disconnect power and verify that the circuit is dead. Mains voltage can cause serious injury or death. If you are not qualified to work on mains wiring, use a licensed electrician. The diagrams below explain switching logic; they are not a substitute for local electrical codes and the switch datasheet.

Most low-voltage micro switches are used as signal switches, not as the main power switch for a motor or heater. Check the contact rating for the actual voltage, current and load type. A switch rated for a small signal current should not be used directly to switch a large inductive load.

Identify the terminals: COM, NO and NC

A three-terminal micro switch is usually an SPDT changeover switch:

Terminal Meaning State at rest State when actuated
COM Common terminal Connected to NC Connected to NO
NO Normally open Open circuit Closed to COM
NC Normally closed Closed to COM Open circuit

Do not assume that a three-wire switch has “positive, negative and signal” wires. Unless the product is a powered sensor, the three terminals are normally COM, NO and NC. Always confirm the terminal markings and datasheet before applying power.

A two-terminal switch is usually SPST-NO or SPST-NC. It has no changeover contact, so it can only open or close one circuit.

Two-wire micro switch wiring diagram

A two-wire switch is placed in series with the load. When the switch closes, current flows through the load; when it opens, the load turns off.

Two-wire micro switch in series with a power source and load Power source Micro switch SPST, in series Load lamp, relay, etc.

Series connection: power → switch → load → return. The switch carries the load current, so its rating must cover that load.

Use a two-wire NO switch when you want the load to turn on only while the actuator is pressed. Use a two-wire NC switch when the load should remain on and turn off when the actuator is pressed, or when an open circuit should indicate a fault.

Three-wire micro switch wiring

A three-terminal SPDT micro switch lets you choose the contact that is connected to COM. The three wires are not a power supply, ground and signal; they are the common contact and the two selectable contacts.

Three-wire SPDT micro switch with COM, NO and NC terminals SPDT switch COM NO NC Controller input Alternate signal / circuit Second circuit / NC path

SPDT changeover: COM connects to NC at rest and to NO when the actuator is pressed.

For a microcontroller or PLC input, connect COM to the signal common (or ground, depending on the input design), NO to the input, and configure a pull-up or pull-down resistor as required. The switch is a dry contact; it does not generate a voltage by itself.

If the controller input expects a closed circuit for normal operation, use the NC contact so a broken wire or a pressed switch produces a detectable change. This is common in safety and door-monitoring circuits.

How to wire a micro switch: step by step

  1. Disconnect and lock out power. Confirm zero voltage with a tester before touching conductors.
  2. Read the switch markings. Identify COM, NO and NC. If the markings are missing, use a multimeter continuity test to map the terminals.
  3. Choose the contact logic. Use NO for “close on actuation” and NC for “open on actuation” or fail-safe monitoring.
  4. Prepare the wire. Strip the correct length, use the specified terminal type and avoid nicking the conductor.
  5. Connect COM first. Then connect the selected contact. For low-voltage signals, keep wires short and route them away from power cables.
  6. Provide strain relief. Secure the cable so movement is not transferred to the terminals or solder joints.
  7. Test before connecting the load. Use continuity mode and operate the actuator to confirm the expected open/closed states.
  8. Insulate and reassemble. Check clearance, replace covers and test the complete assembly under normal operating conditions.

How to test a micro switch with a multimeter

Test Meter setting Expected result
COM to NC, at rest Continuity / resistance Continuity (near 0 Ω)
COM to NO, at rest Continuity / resistance Open circuit
COM to NC, actuated Continuity / resistance Open circuit
COM to NO, actuated Continuity / resistance Continuity (near 0 Ω)
Contact resistance Low-ohm meter Compare with datasheet; a rising value may indicate worn contacts

For a two-terminal switch, test across the two terminals: an NO switch reads open at rest and closed when actuated; an NC switch does the opposite.

Common micro switch wiring mistakes

Confusing NO and NC

The circuit works in reverse, or a safety circuit remains closed when it should open. Confirm the terminal map before power-up.

Using an AC rating for DC

DC arcs are harder to extinguish. A switch rated for AC may fail early on the same DC load.

Switching too much current

Use a relay or contactor for high-current loads; the micro switch should control the relay coil, not the main load.

No strain relief

Movement and vibration can crack solder joints or loosen terminals.

Excess soldering heat

Too much heat can deform the housing or change the spring characteristics. Follow the soldering profile.

Ignoring contact bounce

Digital inputs may need hardware or software debounce, especially for mouse buttons and encoders.

Micro switch wiring FAQ

How do I know which terminal is COM?

Look for the COM marking or consult the datasheet. If markings are absent, use a multimeter: COM is the terminal that changes continuity to the other two terminals when the actuator is operated.

Can I connect a micro switch directly to an Arduino or PLC?

Yes, as a dry contact input, provided the input circuit uses a suitable pull-up or pull-down and the switch is rated for the signal voltage and current. Use debounce in software if the input is sensitive.

What is a 3-wire micro switch used for?

It provides a changeover contact: COM can connect to NO or NC. This is useful for selecting between two circuits, reversing logic, or providing both open and closed signals.

Should I use NO or NC for a safety switch?

Safety circuits often use NC contacts so that a broken wire or a pressed switch opens the circuit. The correct choice depends on the risk assessment and controller design.

Can a micro switch be wired in either direction?

A dry contact is not polarised in the same way as a diode, but the load circuit and contact ratings still matter. Follow the datasheet and local wiring codes.

Why does my switch show continuity in both positions?

The meter may be on the wrong range, the wires may be shorted, or the switch may have welded contacts. Disconnect the switch and test it alone.

Need a switch with the right terminals?

ZING EAR offers PCB, solder, quick-connect and wire-harness terminals across the G5, G6, G10 and G3 series. Send your wiring requirements for a sample.

Request a sample