Home Blog Blog Details

What is a Toggle Switch

April 22 2026
Ersa

It is a small switch that can be turned on and off with just a flick of the finger. It looks like a small slider, pushing it back to turn on and back to turn off, and is one of the most common switches in electronic devices.

Toggle Switch Guide: Types, Wiring, and How It Works

A toggle switch is a small mechanical switch that turns a circuit on or off with a quick finger flick. It is widely used in toys, desk lamps, battery boxes, small appliances, DIY electronics, and circuit boards. Depending on the design, it can provide simple ON/OFF control or switch between different circuits and modes.

Safety Note: Always disconnect power before wiring a toggle switch. If you are working with AC mains power and are not sure about the wiring, consult a qualified electrician.

What Is a Toggle Switch?

A toggle switch is a compact switch operated by moving a small lever or handle. It is one of the most common switches used in electronic and electrical devices.

toggle switch

What It Looks Like

  • A small lever or slider-style actuator
  • Usually 2 or 3 terminals
  • Common types include ON-OFF, ON-ON, and ON-OFF-ON

What It Does

  • Controls circuit ON/OFF status
  • Switches modes or output paths
  • Used in toys, small appliances, light cords, control panels, and DIY equipment

Compared with a rotary switch, a toggle switch is simpler. A rotary switch changes settings by turning, while a toggle switch changes position by flipping. In most cases, a toggle switch is used for basic ON/OFF control or simple circuit selection rather than dimming.

How to Hook Up a Toggle Switch

The basic idea is simple: cut only one wire, connect one end to the switch input, and the other end to the switch output. The other wire remains unchanged.

1. Check How Many Terminals Your Switch Has

2-pin toggle switch

  1. Cut the wire you want to control.
  2. Connect one cut end to one terminal of the switch.
  3. Connect the other cut end to the other terminal.
  4. Tighten or solder the connections securely and wrap them with insulation tape if necessary.

3-pin toggle switch

  1. Cut one wire.
  2. Connect one end to the middle terminal.
  3. Connect the other end to either the left or right terminal.
  4. Leave the remaining terminal unused.

2. Universal Wiring Rule

  • Break only one wire.
  • The switch should normally be connected to the live wire in AC circuits or the positive wire in DC circuits.
  • Use one terminal for input and one for output.
  • Unused terminals can be left empty.

3. Standard Wiring for a Lamp or Power Supply

For desk lamps, LED strips, and small devices:

Power positive / live wire → switch terminal
Other switch terminal → lamp positive / load input
Power negative / neutral wire → directly to the load

How to Wire a Toggle Switch

toggle switch wiring

1. General Wiring Principle

  • A switch interrupts one wire and reconnects it when turned on.
  • The negative or neutral wire usually does not pass through the switch.

2. Wire It According to the Number of Terminals

If it is a 2-pin toggle switch:

  • Cut the live wire or positive wire.
  • Connect each cut end to one terminal of the switch.
  • Wrap or insulate the connection securely.

If it is a 3-pin toggle switch:

  • Cut the live wire or positive wire.
  • Connect one end to the middle terminal.
  • Connect the other end to either the left or right terminal.
  • Leave the third terminal unused.

3. Physical Wiring Example

Power positive → switch terminal
Switch terminal → lamp positive
Power negative → lamp negative

How to Wire a Toggle Switch with 3 Prongs

A 3-prong toggle switch normally requires only the middle terminal and either side terminal when you use it as a basic ON/OFF switch. The third terminal is usually left unconnected.

Simple Universal Method

  1. Cut the wire you want to control.
  2. Connect one wire end to the middle terminal of the switch.
  3. Connect the other wire end to either the left or right terminal.
  4. Leave the remaining terminal empty.

Result:

  • Flip one way: circuit ON
  • Flip the other way: circuit OFF
Option A:
Wire 1 → Left terminal
Wire 2 → Middle terminal
Right terminal → Unused

Option B:
Left terminal → Unused
Wire 1 → Middle terminal
Wire 2 → Right terminal

Both methods work. The only difference is the direction you need to flip the lever.

How to Wire a Toggle Switch with 2 Prongs

A 2-prong toggle switch is the easiest type to wire and is hard to connect incorrectly.

One-Step Wiring Method

  1. Cut the wire you want to control.
  2. Connect one cut end to one prong of the switch.
  3. Connect the other cut end to the other prong.
  4. Insulate the connection properly.

Basic Principle

  • Switch ON: the circuit is connected
  • Switch OFF: the circuit is open

For lights and small appliances, the standard practice is to switch the positive or live wire and leave the negative or neutral wire connected directly.

How Does a Toggle Switch Work?

how a toggle switch works

1. Main Parts

  • Lever / handle: the external part moved by hand
  • Moving contact: the metal piece that moves with the lever
  • Fixed contact / terminal: the stationary metal terminal connected to the circuit
  • Spring / detent mechanism: provides pressure and position feedback
  • Insulated base and housing: supports the internal parts and helps prevent short circuits

2. Working Process

OFF position: the moving contact is separated from the fixed contact, so current cannot flow and the circuit remains open.

ON position: the lever pushes the moving contact into the fixed contact, the spring holds it firmly in place, and the circuit is completed.

3. Common Types

  • SPST: Single Pole Single Throw, simple ON/OFF
  • SPDT: Single Pole Double Throw, one common terminal switches between two outputs
  • DPDT: Double Pole Double Throw, switches two circuits at the same time

4. Key Features

  • Low contact resistance
  • Long service life
  • Stable switching positions

How to Wire a 3-Prong Toggle Switch

A standard 3-prong toggle switch is usually an SPDT switch. The middle prong is the common terminal, and the two side prongs are the switched outputs.

Identify the 3 Prongs

  • Middle prong: Common terminal (COM)
  • Left prong: Output / Throw 1
  • Right prong: Output / Throw 2

Most Common Wiring Method

  • Incoming wire → middle prong
  • Outgoing wire → left or right prong
  • Unused prong → leave empty

Switching Between Two Circuits

  • Power or signal → middle prong
  • Circuit A → left prong
  • Circuit B → right prong

Flip the switch one way to connect A, and the other way to connect B.

How to Wire a Three-Way Toggle Switch

three-way toggle switch

A three-way toggle switch is often a 3-position switch such as ON-OFF-ON. It usually has a common terminal in the middle and one output terminal on each side.

1. Terminal Layout

  • Middle prong: COM
  • Left prong: Position 1
  • Right prong: Position 2

2. Operating States

  • Left position: COM connected to the left terminal
  • Center position: all disconnected
  • Right position: COM connected to the right terminal

3. Typical Wiring Methods

Use it as a power switch:

  • Power wire → middle prong
  • Load wire → left or right prong
  • Unused prong → leave empty

Use it as a selector:

  • Power or signal → middle prong
  • Device A → left prong
  • Device B → right prong

How to Wire a Two-Prong Toggle Switch

A two-prong toggle switch is used for simple ON/OFF control. It only needs two connections and is one of the easiest switches to wire.

Basic Wiring Method

  • Cut the live or positive wire.
  • Connect one end to one prong.
  • Connect the other end to the other prong.
  • Leave the neutral or negative wire unchanged.

This type of switch is ideal for battery-powered projects, small lamps, and simple power control applications.

How to Wire an ON-OFF-ON Toggle Switch

An ON-OFF-ON toggle switch has three positions: one ON position on one side, an OFF position in the center, and another ON position on the other side. It is often used to select between two outputs while keeping a center-off position.

Typical Terminals

  • COM / L: common terminal
  • L1: first switched output
  • L2: second switched output

How It Works

  • Up position: COM connects to L1
  • Center position: all disconnected
  • Down position: COM connects to L2

Typical Wiring

  • Input power or signal → COM
  • Output A → L1
  • Output B → L2

This lets the switch select between two outputs, with the center position fully OFF.

FAQ
What is the difference between a 2-prong and a 3-prong toggle switch?
A 2-prong toggle switch is usually used for simple ON/OFF control. A 3-prong toggle switch usually has one common terminal and two selectable outputs, so it can be used either as a basic switch or as a selector between two circuits.
Which wire should go through the toggle switch?
In most cases, the live wire in AC circuits or the positive wire in DC circuits should go through the switch. The neutral or negative wire is usually connected directly to the load.
Can I use a 3-prong toggle switch as a normal ON/OFF switch?
Yes. Connect one wire to the middle terminal and the other wire to either side terminal. Leave the remaining terminal unused.
What does ON-OFF-ON mean on a toggle switch?
It means the switch has three positions: ON on one side, OFF in the center, and ON on the other side. It is commonly used to select between two outputs with a center-off position.
Can a toggle switch be used for AC and DC circuits?
Yes, but only if the switch is rated correctly for the voltage and current of the circuit. Always check the electrical specifications before using it.
Is a toggle switch the same as a rotary switch?
No. A toggle switch changes position by flipping a lever, while a rotary switch changes position by turning a knob or shaft. Rotary switches are typically used for multi-position selection, while toggle switches are better for quick manual switching.

Tip: If you want to improve SEO further, you can add internal links, product recommendations, and FAQ structured data below this article.

Ersa

Leda Lunardi has more than 10 years of extensive experience in electronic components and semiconductors, specializing in power devices, wide-bandgap semiconductors, advanced packaging, and reliability engineering. She possesses end-to-end expertise spanning device physics, materials R&D, process integration, and mass production. As a leading authority, she has driven key technological breakthroughs and industrialization, with extensive publications and core patents, and is highly recognized worldwide.