Earth Bondhon
Creators
Rojony Khatun Author
Rojony Khatun
CalculatorToolsProjectExpert
Reviewers
Małgorzata Koperska, MD Steven Wooding
Last updated: September 5, 2025

Switch in 2 Pin and 3 Pin Socket Wiring Diagram

🇺🇸
English
Default
🇪🇸
Español
Spanish
🇫🇷
Français
French
🇩🇪
Deutsch
German
Single Phase DP MCB

Single Phase DP MCB

Double Pole Miniature Circuit Breaker for single-phase supply

Single Phase Board Switch

Board Switch

A control switch used to operate single-phase electrical loads

Single Phase Board Socket

Board Socket

Socket outlet mounted on a single-phase board

[board-socket]
Single phase Light

5A 8-Pin Socket

Compact socket with 8-pin terminals, rated at 5 Amps

*Please note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

socket and switch for house wiring

Learn how to connect a switch with 2-pin and 3-pin sockets. Phase goes through the switch, Neutral directly to socket, and Earth to the 3-pin socket.

2 pin socket wiring with switch

In 2-pin and 3-pin socket wiring, the Phase wire is connected through a switch to the socket, Neutral goes directly to the socket, and Earth connects only in the 3-pin socket.

3 pin socket wiring with switch

A 2-pin and 3-pin socket wiring with switch is a common household connection. The principle is simple: the Phase (Line) wire is always connected through the switch before reaching the socket, so when the switch is OFF, the socket is disconnected from the supply. The Neutral wire connects directly to the socket’s Neutral terminal. In case of a 3-pin socket, an additional Earth wire is connected to the Earth terminal (usually the upper pin).

  • 2-Pin Socket: Phase → Switch → Socket Live terminal, Neutral → Socket Neutral terminal.
  • 3-Pin Socket: Phase → Switch → Socket Live terminal, Neutral → Socket Neutral terminal, Earth → Earth terminal.

This setup ensures safety: switching OFF cuts power only from the Phase side while Neutral and Earth remain fixed. It is important for appliances like mobile chargers, TVs, refrigerators, and irons.

Work / Installation (Inputs → Outputs)

2-Pin Socket

  • Input: Phase → Switch → Socket Live terminal
  • Neutral: Direct → Socket Neutral terminal

3-Pin Socket

  • Input: Phase → Switch → Socket Live terminal
  • Neutral: Direct → Socket Neutral terminal
  • Earth: Direct → Socket Earth terminal

Testing and Final Adjustments

You may either turn ON the main supply and test using a tester or plug after wiring. Insert 2-pin plug: the attached device must be able to turn on only when the switch is pressed. In a 3-pin plug, the Earth pin has to be tested by continuity - a tester has to be connected between the Earth and the Neutral to check correct earthing. Should the socket fail, re-examine that the Phase is properly fed through the switch and that the Neutral is hard-wired. Do not connect Phase to anything without a switch because it is unsafe. Always code the correct wire color: red/brown phase, black/blue N, and green/yellow E. Lastly, cover up any exposed joints and screw tighten socket screws.

Frequently Asked Questions - socket and switch for house wiring:

What is a 2-pin socket?

A socket with only Phase and Neutral terminals, no Earth connection.

What is a 3-pin socket?

A socket with Phase, Neutral, and an additional Earth terminal for safety.

Where does the switch connect in socket wiring?

The switch is always connected in the Phase line before the socket.

Is Neutral connected through switch?

No, Neutral goes directly to the socket.

Why is Earth needed in a 3-pin socket?

Earth provides safety against electric shock by grounding leakage current.

Can I use a 3-pin plug in a 2-pin socket?

Yes, but the Earth pin will remain unused, reducing safety.

Which wire goes to the switch?

Only the Phase (Live) wire is connected through the switch.

What is the standard wire color code?

Phase: Red/Brown, Neutral: Black/Blue, Earth: Green/Yellow.

What if I connect Neutral through switch?

It is unsafe, as Phase remains live in the socket even when switched off.

Where is socket wiring commonly used?

In homes, offices, and industries for appliances like TV, fan, iron, and charger.

Rojony Khatun

Rojony Khatun

CalculatorToolsProject

Rojony Khatun is the creator of a free online tools website designed to simplify everyday and engineering-related calculations for students, professionals, and hobbyists. The platform offers a wide variety of basic and advanced calculators across key categories, including Electrical Calculators, Electronic Calculators, and Time & Date Calculators, helping users solve problems quickly and accurately.