Slide Switch Wiring Diagram Explained: SPDT, DPDT & Center-Off Circuits

✍️ By Vistar Electronics Engineering Team 📅 Published: November 24, 2026

Table of Contents +

A slide switch wiring diagram looks trivial until a 6-pin part reaches the production line with its two rows tied to the wrong nets. The board powers up, one channel is dead, and the assembly house wants to know whether the fault is your layout or their reflow profile.

Most of these failures trace back to three assumptions: that the middle pin is always common, that “normally open” means something on a slide switch, and that a rating printed on a datasheet applies to any load. This guide corrects all three, with circuits you can copy and a purchasing checklist at the end.

Looking for Slide Switches for Your PCB Design?

Vistar Electronics supplies SPST, SPDT, DPST, DPDT and 3-position slide switches in SMT, DIP through-hole, vertical and right-angle styles. Current ratings from 0.3A to 5A, mechanical life of 10,000 cycles minimum, RoHS and REACH compliant. MOQ from 1,000 pcs. Free samples for qualified projects.

What a Slide Switch Wiring Diagram Actually Tells You

Every slide switch diagram reduces to one idea: a movable contact connects a common terminal (COM) to one of one or two throw terminals. The slider decides which.

That is why this guide uses COM, L1 and L2 rather than NO and NC. Normally open and normally closed describe a rest state, and a latching slide switch has none. It stays wherever you leave it, so both throws are equal.

Slide switch wiring diagram overview showing SPDT, DPDT and ON-OFF-ON symbols
SPDT, DPDT and ON-OFF-ON symbols. Blue is common, orange is throws, dashed is the other slider position.

The configuration code tells you the rest. Pole is the number of independent circuits, and throw is the number of positions each pole can reach.

  • SPST (2 pins): on/off for one circuit.
  • SPDT (3 pins): one circuit, two paths.
  • DPDT (6 pins): two isolated circuits moved by one slider.
  • SP3T / 1P3T: one circuit, three positions or paths.

For a broader look at configurations and mounting, see our slide switch ultimate guide. For the internal mechanism, read how the slide switch working principle affects contact behavior.

Identify the Pins Before You Solder Anything

On many PCB slide switches the middle pin is common. Not on all of them. Some right-angle and SMT parts put common at one end, and 6-pin packages can be either a true DPDT or an SPDT with doubled pins.

Do not guess from the footprint. Use the datasheet drawing, or test the part in thirty seconds.

Slide switch pin identification diagram showing COM, L1 and L2 on a 3-pin switch

The continuity test

  1. Set the multimeter to continuity (buzzer) mode.
  2. Slide the actuator fully to one end and probe each pair of pins.
  3. Note which pair beeps, then slide to the other end and repeat.
  4. The pin present in a beeping pair in both positions is COM.

On a DPDT, run the test separately on each row. You should find two commons, and no continuity between rows in either position.

Testing a slide switch with a multimeter continuity test to find the common pin

Extra metal tabs or shell pins are there for retention. Solder them to their pads, and confirm in the datasheet whether they are electrically isolated before you tie them to ground.

Key Specifications That Decide Whether Your Wiring Survives

A correct diagram on a switch that is wrong for the load still fails. These are the parameters that matter, in the order we check them on customer drawings.

Current and voltage rating: read the fine print

Ratings are almost always quoted for a resistive load, and DC ratings are lower than AC ratings because DC arcs do not extinguish at a zero crossing. A switch rated 0.3A at 50V DC is not a 0.3A switch for every circuit.

Motors, relay coils and solenoids add inrush and inductive kick. A common design habit is to run the contacts at half the rated current or less on inductive loads. That is a rule of thumb, not a standard, so confirm it against your application.

Contact material: gold or silver

Contact plating should match the signal level, not the price.

  • Gold-plated contacts: suited to low-level signals such as logic lines and audio, where there is not enough energy to break through surface films.
  • Silver-plated contacts: suited to power switching, where current is high enough to keep the contact surface clean.

Our deeper write-up on switch contact material selection covers oxidation and intermittent failures in detail.

Electrical and mechanical figures worth requesting

ParameterSignal-grade seriesPower-grade series
Current rating0.5A3A to 5A
Voltage rating12V to 30V DC125V to 250V AC / 30V DC
Contact resistance (initial)≤ 50 mΩ≤ 50 mΩ
Insulation resistance≥ 100 MΩ at 100V DC≥ 100 MΩ at 100V DC
Mechanical life10,000 cycles minimum10,000 cycles minimum
Operating temperature-40°C to +85°C-40°C to +85°C

Two more items rarely appear in a first RFQ and cause the most arguments later: contact timing (break-before-make or make-before-break) and actuator travel. Both affect behavior in the circuits below.

SPDT Slide Switch Wiring: Three Circuits You Can Copy

An SPDT part has three terminals and controls one circuit. In position A, COM connects to L1. In position B, COM connects to L2.

1. On/off switch with a power LED

You do not need an SPST for simple on/off. Wire the battery positive to COM, L1 to the load, and leave L2 unconnected.

Switch the positive line and keep ground common across the board. The LED and its series resistor sit in parallel with the load, after the switch.

SPDT slide switch wiring diagram used as an on/off switch with power LED

2. Selecting between two sources

Put one source on each throw and take the output from COM. This is the standard arrangement for input selection and mode selection.

SPDT slide switch wiring selecting between two sources

Power sources need extra care. If the switch is make-before-break, both throws briefly connect to COM and tie your two supplies together. Check the contact timing, and add a diode or a power-path IC when the sources can differ in voltage.

3. Mode select into a microcontroller

Wire COM to ground, L1 to a GPIO with its internal pull-up enabled, and leave L2 open. One position reads low, the other reads high. Add software debounce, because slide contacts do bounce.

For a closer look at SPDT behavior and applications, see our article on the SPDT slide switch.

DPDT Slide Switch Wiring Diagram: Two Circuits, One Slider

A DPDT switch is two SPDT circuits in one body, moved together. The two rows are electrically isolated, so they can carry different voltages or signals.

DPDT slide switch wiring diagram showing two ganged SPDT circuits

Stereo source selection

Use Row 1 for the left channel and Row 2 for the right. For each row, wire Source A to L1, Source B to L2, and COM to the amplifier input.

Connect grounds directly rather than through the switch. A single DPDT switches both channels at the same instant, which two separate SPDT switches cannot guarantee. We compare the two options in our SPDT vs DPDT slide switch article.

Polarity reversal for a small DC motor

This is the classic cross-wired circuit. Connect supply positive to L1 of Row 1 and L2 of Row 2, and supply negative to the other two throws. The motor goes between COM1 and COM2.

In position A, COM1 is positive and COM2 is negative. In position B they swap, and the motor reverses.

DPDT slide switch polarity reversal wiring diagram for a DC motor

Do not drive anything but a very small motor directly. Stall and inrush current can be several times the running current. Use the switch as a logic input to an H-bridge for anything larger, and add a flyback diode on inductive loads.

3 Position Slide Switch Wiring: What the Center Does

An ON-OFF-ON slide switch wires exactly like an SPDT. The difference is a middle position where COM connects to neither throw.

Slider positionConnectionGPIO A / GPIO B
LeftCOM to L1LOW / HIGH
CenterCOM openHIGH / HIGH
RightCOM to L2HIGH / LOW

To read all three states, wire COM to ground, L1 to one GPIO and L2 to another, both with internal pull-ups enabled. No external resistors are needed on most microcontrollers.

3 position slide switch wiring diagram connected to two microcontroller GPIO pins

Typical uses are forward/off/reverse, high/off/low, and mode 1/off/mode 2. For true three-way selection with three separate outputs, you need a 1P3T part instead. Our 3-way vertical slide switch 1P3T is one example.

Technical Comparison: Choosing the Right Version

SPDT, DPDT and 3-position at a glance

TypeCircuitsBest forWatch out for
SPDT1Source or mode selection, simple on/offContact timing when switching two supplies
DPDT2, isolatedStereo, polarity reversal, dual routingRows wired together by mistake; larger footprint
ON-OFF-ON1 or 2Forward/off/reverse, three-state logicFirmware must treat center as a valid state

SMT versus through-hole mounting

  • SMT: suits automated, high-volume assembly and double-sided boards. Specify tape and reel, and verify the solder-pad geometry with your assembler.
  • DIP through-hole: gives the strongest mechanical retention, which matters when users push the slider hard or the product vibrates.
  • Right-angle versus vertical: choose by where the enclosure slot sits, then check the actuator height against panel thickness.

Break-before-make versus make-before-break

Break-before-make parts open one path before closing the next, so two throws are never connected at the same moment. Make-before-break parts overlap briefly.

For audio, the overlap can avoid a click. For power selection, it can short two sources. Neither is better in general, which is why the datasheet should state it.

Common Slide Switch Wiring Mistakes

  1. Assuming the middle pin is common. Confirm with the drawing or a continuity test on the actual part number.
  2. Exceeding the rating on an inductive load. Miniature slide switches are typically signal-level devices. Use a transistor, MOSFET or relay for anything with real inrush.
  3. Mixing circuits across DPDT rows. The rows are isolated by design. Tie them together only in a deliberate reversal circuit.
  4. Ignoring contact timing. A make-before-break part in a source selector can back-feed one supply from the other.
  5. Mismatching plating and signal level. Low-level logic or audio on silver contacts can become intermittent over time. Gold is the safer choice there.
  6. Forgetting debounce. A slide switch bounces like any mechanical contact. Add an RC filter or firmware debounce on any logic input.

Quick troubleshooting table

SymptomLikely causeFirst check
No output in either positionWrong pin used as COMContinuity test in both positions
Works, then turns intermittentOverloaded or filmed contactsLoad current versus rating, contact plating
One DPDT channel affected by the otherRows share a netTrace both rows on the schematic
Double triggers on a GPIOContact bounceAdd debounce
Loose or sloppy feelDetent or fit mismatchReview our mini slide switch reliability factors

Purchasing Strategy: What to Put in the RFQ

Most slide switch quote delays come from missing information, not from pricing. A complete first request shortens the loop by days.

Specify these in the RFQ:

  • Circuit and positions: SPDT, DPDT, 1P3T, ON-ON or ON-OFF-ON.
  • Electrical load: voltage, current, AC or DC, and resistive or inductive.
  • Contact plating: gold for signal, silver for power.
  • Mounting and orientation: SMT or DIP, vertical or right-angle, with your footprint drawing.
  • Actuator: height, length and travel, checked against panel thickness.
  • Life and environment: required cycles and operating temperature.
  • Packaging and compliance: tape and reel for SMT, plus RoHS and REACH documents.

Send the PCB footprint file or a 2D drawing whenever you can. It prevents pad-pitch mismatches that only show up at first article.

Validate samples on your own circuit

Do not stop at “it clicks.” Run three checks before you approve a part for production:

  1. Continuity map: confirm every position against your wiring diagram.
  2. Real-load test: switch your actual load, not a bench resistor, and watch for sparking, heating or intermittent contact.
  3. Cycle test: run a repeated actuation test at the load you will use, and compare contact resistance before and after.

On compliance, ask for RoHS documentation that references the current EU RoHS Directive, particularly if your product ships into Europe. For a clear introduction to how mechanical switches are classified, SparkFun’s button and switch basics tutorial is a good reference for new team members.

Frequently Asked Questions

How do you wire a slide switch?

Connect the input or load to the common terminal and the two alternatives to the throw terminals. The slider connects COM to one throw at a time.

Which pin is common on a slide switch?

On many PCB slide switches it is the middle pin, but this varies by model. Use the datasheet, or test with a multimeter: COM is the pin that beeps with a different pin in each slider position.

Do slide switches have normally open and normally closed terminals?

No. A latching slide switch has no rest state, so both throws are equal. Use COM, L1 and L2 instead.

Can I use a DPDT switch as an SPDT?

Yes. Use one row and leave the other unconnected, or wire the rows in parallel to share current if the datasheet allows it. It costs more and takes more board space than a true SPDT.

How do you wire a 3 position slide switch?

Wire it like an SPDT. The center position leaves COM unconnected, which gives an off state or a third logic state.

Can a slide switch control a motor directly?

Only a very small motor within the rated current, and ideally with a flyback diode. For anything larger, use the switch as a logic input to a driver or relay.

Wiring It Right the First Time

A correct slide switch wiring diagram starts with the right part, then the right pin, then a load the contacts can actually carry. Get those three in order and the circuits above work on the first board.

If you are specifying slide switches for a new design, Vistar Electronics supplies SPDT, DPDT and multi-position parts in SMT and through-hole styles, with 2D and 3D drawings available so your footprint is right before the first order. Our engineers are happy to review your wiring and load against a candidate part. Stocked parts typically ship in about 3 days, and custom configurations take 2 to 4 weeks.

Need Slide Switches Matched to Your Wiring and Load?

Send us your schematic, footprint or drawing. Vistar Electronics supports OEM and ODM customization of actuator height, terminal style and packaging. RoHS and REACH compliant, ISO 9001 certified. MOQ from 1,000 pcs. Free samples available for qualified projects.

Written by Vistar Electronics Engineering Team

The Vistar Electronics Engineering Team specializes in connector design, manufacturing, and application solutions including USB‑C, HDMI, DisplayPort, FPC connectors, and electronic switches.

With extensive experience in precision electronic components, our engineers provide technical guides based on real‑world manufacturing knowledge and product applications.

🔬 Technical Review

Reviewed by Vistar Electronics Engineering Team to ensure technical accuracy based on connector specifications, industry standards, and manufacturing practices.

Request a Quote

    Inquiry for:

    Loading product...