Home Improvement Skills & Specialties Electrical Wiring & Circuits

A Basic Guide to Home Electrical Wiring

Much of what you need to know for electrical repairs involves how to identify, buy, and install electrical wiring. Here are all the basic elements you need to understand about electrical wiring.

Electrical Wire Sizing

Electrical wire sizes

The Spruce / Margot Cavin

Proper electrical wire size is critical to any electrical wire installation. The American Wire Gauge (AWG) system relates to the wire's current-carrying capacity, or how much amperage it can safely handle. When choosing the right wire, you must consider the gauge, the wire capacity, and its intended use.

AWG Max Current (Amps)
6 37
7 30
8 24
9 19
10 15
11 12
12 9.3
13 7.4
14 5.9
15 4.7
16 3.7

Warning

Wires not properly matched to the amperage of the circuits they serve can create a notable risk of short circuits and fire.

Electrical Wiring Sheathing

NM electrical wire

The Spruce / Margot Cavin

Most interior wiring is done with non-metallic, or NM, cable—sometimes referred to by a popular brand name Romex. NM cable is made of three or more wires wrapped inside a flexible plastic jacket, or sheathing. It is used for most interior circuits, such as those for outlets, switches, light fixtures, and appliances.

The color of the sheathing indicates the gauges of the wires within the sheathing:

  • White: 14-gauge wires intended for 15-amp service
  • Yellow: 12-gauge wires intended for 20-amp service
  • Orange: 10-gauge wires intended for 30 amp service
  • Black: Heavier gauge wires for devices that require 40- to 60-amp service

Electrical Wiring Safety Principles

Using a voltage tester to make sure the power has been cut

The Spruce / Kevin Norris

Electrical wiring is safe to work on if you observe four basic principles:

  • Work on dead equipment: If the electrical wiring or device is completely dead, it is safe to work on.
  • Lock it out: Make sure the wiring or device, or anything upline (such as a circuit breaker), cannot be accidentally turned on.
  • Test the equipment: Use a voltage tester or multimeter to test the wire or device before working on it.
  • Be qualified or call someone who is: If you're not knowledgeable or feel uncomfortable working on the electrical wiring, call a certified electrician.

Electrical Wiring Color Coding

Colored electrical wires

The Spruce / Margot Cavin

Cable coloring relates to the type of wires inside the cable sheathing and their uses:

  • Black and red: Typically are used for current-carrying or hot connections.
  • White: Usually, grounded neutral conductors. 
  • Green and bare copper: Grounding wires.

Electrical Wiring Labels

Electrical wire labels

The Spruce / Margot Cavin

Electrical wires and cables have markings stamped or printed on their insulation or outer sheathing. These markings provide important information about the wiring and insulation, including the wire size and material, the type of insulation, the number of wires contained (inside a cable), and any special ratings or characteristics of the wire.

While looking at the color of wire or cable will help you narrow down the options at the store, reading and understanding the labels on wiring is the best way to ensure you get the properly rated material for your project.

Direct-Burial Cable

Direct burial cable

The Spruce / Margot Cavin

Standard electrical cable is designed to be run indoors, where it stays dry and is protected by wall, ceiling, or floor structures. For outdoor projects or when running wiring underground, you must use direct-burial cable, which can be installed underground with or without conduit (depending on local building code rules). With direct-burial cable, the individual conducting wires are embedded in solid vinyl to fully protect them from moisture.

Electrical Wire Stripping

Stripped electrical wire

The Spruce / Margot Cavin

Stripping electrical wire involves removing the plastic insulation surrounding the wire's metal core. It's important to do this carefully so there is no damage to the metal. The procedure is simple but requires a special wire stripping tool and an understanding of how to use it. This is a critical skill—and tool—for DIYers to have for any wiring project.

Electrical Wiring Box Fill Capacity

Electrical Junction Box
Getty / Peter Frank

There is a set limit to the number of wires allowed in electrical boxes. Fill capacity is determined by the size of the box, wire gauges, and the number of devices installed on the box. For safety, it is important to remain at or below the fill capacity. One way to determine wiring fill capacity is to find the box's volume (usually printed on the box or product literature) and divide this by the gauge of the wire in the box. For every device installed on the box, subtract two wires.

For example, a junction box with 18 cubic inches of volume can hold up to nine #14 AWG wires. Junction boxes have wires only, no devices. But if the box contains one electrical outlet, you must subtract two wires. The box could then hold up to seven #14 AWG wires (plus the outlet).

Size of Conductor(AWG) Free Space Required Within Box for Each Conductor
6 5 cubic inches
8 3 cubic inches
10 2.5 cubic inches
12 2.25 cubic inches
14 2 cubic inches
16 1.75 cubic inches
18 1.5 cubic inches

Electrical Wiring in a Circuit Breaker Panel

Electrical circuit breaker panel

The Spruce / Margot Cavin

The electrical panel, or service panel, is the power distribution point of a home electrical system. This is where all of the individual circuits of the house get their power and where they are protected by breakers or fuses. Wiring an electrical panel is a job for a licensed electrician, but DIYers should have a basic understanding of how a panel works and the critical role that breakers play in any system.

Electrical Disconnect Switches

Electrical disconnect
BanksPhotos / Getty Images

An electrical disconnect switch provides a means to shut off the power to a home's electrical system from an outdoor location. It is typically mounted below the electric meter, either on the side of a home or on the utility company's power pole. This is a service disconnect switch. Not all homes have a dedicated disconnect. A disconnect must be installed by a licensed electrician.

FAQ
  • What are the three main types of electrical wire?

    The three main types of electrical wire are live or hot wires (red or black), neutral wires (white), and grounding wires (bare copper or green).

  • What are the four main rules of basic electrical wiring?

    The four main rules of electrical wiring are: use the right gauge of wire for the current it will be carrying; never overfill electrical boxes with wire; use the correct type of wire within the electrical cable (such as, a black wire for a live load vs. a white wire for neutral); and always remain safe by working on dead electrical systems.

  • What are the primary safety precautions when working with electrical wiring?

    The primary safety precautions when working with electricity are: work on dead wiring and devices, test wires and devices before working on them, lock down system componenents to prevent accidental electrification, and call an electrician for help, if needed.

The Spruce uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Controlling Current in Electric Circuits. CK-12 Foundation.

  2. Electrical Safety Principles. Berkeley Laboratories / U.S. Department of Energy National Laboratory / The University of California.

  3. 314.16 Number of Conductors in Outlet, Device, and Junction Boxes, and Conduit Bodies. National Electrical Code (NEC).