Quantra ElectricalGet a quote

How to Wire a Switch or Outlet: Safe Steps (2026)

How to wire a device means connecting its hot, neutral and ground conductors to the right terminals so current flows safely. This guide covers replacing a switch or outlet on an existing circuit, choosing wire, and cutting it cleanly, and it shows where homeowner work ends.

For the wider topic, see our wiring and cable guide.

Safety warning. Household wiring can cause fatal shock, arc faults and fires if a conductor is live, loose or the wrong size. Stop and call a licensed electrician if you find aluminum wiring, scorched insulation, a tripping breaker, or any wire you cannot identify.

This guide is general information, not professional advice. Rules vary by location.

You are responsible for checking the rules that apply to you and for your own safety.

Key points

  • Homeowner work here means replacing a switch or outlet on an existing circuit with the breaker off and the wires tested dead.
  • New circuits, garage wiring, buried cable and service changes belong to a licensed electrician, and many areas require a permit.
  • Match wire size to the breaker: the cable must carry the circuit's amperage without overheating.
  • Every circuit needs a hot, a neutral for 120 volt loads, and a ground, so identify each before you disconnect anything.

How to wire: what you need

Gather everything before you open the box, so you do not leave a panel or box half finished.

ItemWhat to getWhy it matters
Voltage testerNon-contact pen plus a two-prong testerConfirms the wires are dead before you touch them
Wire strippersSized for 12 and 14 AWG solid copperRemoves insulation without nicking the copper
ScrewdriversInsulated flat and PhillipsTighten terminals to a firm, even grip
Replacement deviceSwitch or outlet rated for the circuit amperageA 15-amp-only device on a dedicated 20-amp circuit can be overloaded
Wire nutsSized for the wire count in each spliceHolds splices tight and insulated
Electrical tape and labelsVinyl tape and wire labelsKeeps track of which wire went where
Breaker sizeTypical copper cableTypical use
15 amp14 AWGLighting and general outlets (indicative)
20 amp12 AWGKitchen, garage and general outlets (indicative)
Larger circuitsSize by an electricianSee what size wire for 50 amp

How to wire a switch or outlet step by step

Follow these six steps for a like-for-like replacement, and stop if anything looks different from what you expect.

Shut off the power and test every wire

Photograph and label the existing wires

Cut and strip each wire cleanly

Connect the ground first

Land the hot and neutral on the correct terminals

Fold, mount and test the device

How to wire: common mistakes

How to wire: when to call a licensed electrician

Permit fees for residential electrical work vary, and your city or county sets the rules for what you may do yourself.

Permit fees for residential electrical work typically range from $50 to $500 depending on the scope of work.

Frequently asked questions

What wire to use for outlets?

Most general outlets on a 15-amp circuit use 14 AWG copper, and 20-amp circuits use 12 AWG copper. The cable must match the breaker, and many homes use non-metallic sheathed cable with a ground.

Confirm with a licensed electrician before you add or change any circuit.

How to cut a wire safely?

Turn off the breaker, test that the wire is dead, then cut straight across with sharp side cutters. Leave enough length to reach the terminal, since you cannot add it back without a splice.

Do not cut a wire you cannot confirm is de-energized.

How to install electricity in a house?

New electrical service and whole-house wiring require a licensed electrician, and typically a permit and inspections. The electrician sizes the service, runs circuits, installs the panel and coordinates the utility connection.

Check with your local building department for the rules in your area.

How to wire a garage?

Garage wiring usually means new circuits, often with ground-fault protection, and sometimes a subpanel or buried feed. That is licensed electrician work and typically needs a permit.

Do not run cable yourself, and check local rules before you plan outlets or lighting.

Next step: get the wiring done right

If your project is more than swapping a device on a dead circuit, we can send a licensed electrician from Quantra Electrician to assess it. Describe the job in the quote form, and check with your local building department about permits before work begins.

Get a quote

Related guides

Request a quote

Tell us what you need and we will get back to you.