InspectAPedia®   -   Search InspectApedia

Schematic of a simple electrical circuit (C) Carson Dunlop Associates Electrical Code Basics for Homeowners

This article answers basic questions the National Electric Code (NEC) for homeowners.

InspectAPedia tolerates no conflicts of interest. We have no relationship with advertisers, products, or services discussed at this website.

- Daniel Friedman, Publisher/Editor/Author - See WHO ARE WE?

Electrical Code Advice for Homeowners & DIY Repairs

Open electrical panels are dangerous (C) Daniel FriedmanThis article series provides information about a variety of electrical hazards in buildings, with articles focused on the inspection, detection, and reporting of electrical hazards and on proper electrical repair methods for unsafe electrical conditions.

Watch out:  Do not attempt to work on your electrical wiring, switches, or outlets unless you are properly trained and equipped to do so. Electrical components in a building can easily cause an electrical shock, burn, or even death. 

Even when a hot line switch is off, one terminal on the switch is still connected to the power source.

Before doing any work on the switch, the power source must be turned off by set­ting a circuit breaker to OFF or removing a fuse.

See SAFETY for ELECTRICAL INSPECTORS

and ELECTRICAL WIRING BOOKS & GUIDES

Why we Must Follow the National Electrical Code When Performing Electrical Work

Building code enforcement authorities and local laws in many communities require that electrical work be performed only by a licensed electrician.

In some communities local laws permit certain electrical work to be done by the homeowner without a permit and without conflict with local codes. Contact your city or village building department for a copy of local regulations.

In any case, any electrical work, new wiring, repairs, replacements of parts, must comply with the requirements of both local laws and the National Electrical Code.

Since the electrical code is written by experts and since the "code" is intended to assure that electrical wiring in a building is functional, adequate, and most of all, safe, not only should electrical work comply with the code to be legal, it should comply with the code to be safe.

Electrical work by the homeowner might affect not only safety but also fire insurance coverage. If a fire loss claim results from wiring you installed, the company may classify you in a higher risk category or in some cases your insurance company may fail to honor your claim entirely.

The NEC - National Electric Code

The National Electrical Code Book provides  thorough, very detailed instructions for determining the adequacy of an electrical wiring system and is written intending to guide a professional electrician (not a homeowner) in the safe repair and modification of electrical systems such as lighting, receptacles, and electrical wiring.

The chances are your house wiring was safe and adequate when your house was built.

It is probable, too, that your house wiring was originally done in accordance with the National Electrical code.  This code was developed by the National Fire Protection Association and is revised from time to time.

TheUS National Electrical Code or "NEC" itself has legal status only  insofar as it has been adopted by cities, towns, counties, and other governmental units as part of local building ordinances. The status of the code in your locality can be determined by contacting the building inspection department of your local government.

The NEC does not give step by step instructions

The National Electrical Code does not provide step-by-step instruction.

Rather, the code specifies the preferred method of performing electrical wiring tasks and the proper materials to use in various in various applications.  Incidentally, the code does not limit or prohibit electrical work by a homeowner, but as we explained above, local laws may require that you hire a licensed electrician.

Beware: understanding the electrical code requires some expertise. Even licensed electricians often buy a version of the National Electric Code which includes explanations, interpretations, and sketches to help clarify the details of safe electrical wiring practices.

Most home electrical work is surprisingly easy to do; the system is logical; replacement parts are standardized so they will fit anywhere in the U.S.

Where to Obtain the National Electrical Code

US National Electrical Code NEC sources listed at InspectApedia.comThe NEC is published by the National Fire Protection Association (NFPA) and can be easily obtained from that association directly as well as from lots of online book-sellers. The NEC is also available to read online as an electronic document as well as in the form of a large (1000 page) bound book.

The US National Electrical Code (2023 is the next version) text remains © protected property of NFPA however. So to print the text you need to buy the CD ROM of the code from NFPA, or buy the book itself.

Copies of the electrical code are probably also available at your local library. Copes are often on sale in electrical supply stores and in some book stores. 

A some­what simplified version of the electrical code, known as the "One- and Two-Family Residential Occupancy Electrical Code," less costly than purchasing the entire NEC. The simplified edition covers the most popular and widely used wiring methods.

Sources of the US NEC

The Canadian Electrical Code

Canadian electrical code - 2012 sources listed at InspectApedia.comThe Canadian Standards Association (CSA) has been publishing the Canadian Safety Standard for Electrical Installations since 1927. This document forms the basis for electrical codes adopted in the individual Canadian provinces.

The U.S. and Canadian electrical codes differ in some technical details but are slowly merging.

The 2006 and later (2012) Canadian Electrical Code draws from the International Electrotechnical Commission (IEC) Standard 60364, the European standard for electrical wiring.

You can obtain copies of the Canadian Electrical Code at several online websites such as Amazon.com, eBay, and CSA - cited bcelow.

The United Kingdom Electrical Code

In the U.K., electrical wiring is specified by the UK Institution of Engineering and Technology (IET) in IEE Wiring Regulations BS 7671 which, like the CSA code, draw on IEC 60634.

In Australia and New Zealand, electrical wiring is specified by the wiring rules in AS/NZS 3000.

Examples of Electrical Code Requirements that Homeowners Should Know

How to select the proper electrical junction box

Electrical codes require that all wire connections or cable splices be inside an approved metal or plastic box. You cannot bury a box inside a wall - that is, you cannot hide or cover over a junction box with a finished surf race like drywall or paneling.

The junction boxes in a home must all must be accessible. This protects your home from the danger of fire and makes it easier to inspect and upgrade your wiring in the future.

The size, shape, and type of electrical junction box you need to choose depends on what it's for. Boxes vary in size, depth, and material. The junction box you need to use to join wires together in an attic for a splice is not the same shape as a box you need to use to install a single electrical outlet.

Even the choice of a single junction box to install a single electrical outlet on an existing electrical circuit will be affected by the number of electrical wires that have to enter the box (more wires need more cubic inches of space to be wired safely).

These details are spelled out in the National Electrical code as well as in subsets of the code written and amplified to guide installers of residential electrical wiring.

Adding or Wiring an Electrical Outlet

A very common homeowner task that some people tackle is replacing a worn electrical outlet, or more complicated, adding a new electrical outlet in a building. While this task is not difficult, if it is not done properly there can be a real risk of fire or shock or even a fatality.

See ELECTRICAL OUTLET, HOW TO ADD & WIRE for an example of a simple task that has more details that need to be correct than you may have thought.

How to Connect Multiple Wires to a single terminal on a switch or electrical outlet

Never attach more than one wire to a terminal. Codes prohibit it, and it's unsafe because terminal screws are made to hold only one  wire.

An easier way to join many wires to a terminal is to cut a short piece of wire (about 4 inches), strip both ends, and splice it to the other wires to form a pigtail.

See ELECTRICAL SPLICES, HOW TO MAKE for details of the proper procedure for splicing wires together.

How & Why It is Important to Assure Safe Electrical Grounding at a Property

Home inspector Arlene Puentes summarizes distinctions important in understanding the function of electrical grounding at a building:

  1. Grounding to trip the circuit breaker or blow the fuse: Electrical grounding is necessary to protect people from electric shock by providing a good electrical path to route a faulty electrical connection

    (such as a SHORT CIRCUIT) to ground (literally, to the earth)

    so that current will flow through and thus trip the circuit breaker or blow the fuse, safely and quickly turning off the electrical circuit.

    (A short circuit is one of the two ways that a fuse or circuit breaker will blow. The second is the drawing of more current (amps) than the circuit is intended to carry.)
  2. Grounding to route stray electricity from static electricity, electrical power surges, lightning, etc. to ground.

    This can protect the insulation on electrical wires from damage due to high voltage. The protection against static electricity helps reduce the chances of an un-wanted spark that can cause damage to electronic components or cause an explosion of nearby combustible gases.
  3. Grounding to provide a normal path for electricity to flow: energy flows in an building's electrical circuit from a power source (the utility pole through electrical panel, though building circuits and electrical devices connected to them) to the ground, to earth.

    If there is no good connection to earth, electricity does not flow, though it might if you stand on wet ground and touch a live electrical wire - an action that could be fatal. Ground and neutral are related electrical terms. Neutral is used to describe the "return path" from in an electrical circuit to the electrical panel.

    Inside of the main electrical panel the neutral wires are bonded to the ground wires and to a grounding conductor that connects that assembly to earth (typically through a grounding electrode or "ground rod")

See ELECTRICAL GROUND SYSTEM INSPECTION for a detailed example of the importance of proper electrical ground connections and of what can go wrong if the electrical ground wiring is faulty.

See ELECTRICITY BASICS, HOW IT WORKS for a very basic explanation of electricity.

See DEFINITIONS of ELECTRICAL TERMS for more explanation of electrical potential or volts. In that section, see Definitions of Electrical Equipment Ground, Grounded Electrical Conductor, Ground, Ground Rod & Ground Bond for details.

What Authorities or Certifications Make Electrical Components Legal for Use ?

Listed Electrical Equipment: 

as defined in the U.S. National Electrical Code (NEC) (CSA provides similar terms) as: equipment, materials, or services included in a list published by an organization that is acceptable to the authority having jurisdiction and concerned with evaluation of products or services, that maintains periodic inspection of production or listed equipment or materials or periodic evaluation of services, and whose listing states that the equipment, material, or services either meets appropriate designated standards or has been tested and found suitable for a specific purpose.

In simpler terms this means that listed electrical equipment (circuit breakers, wires, connectors, switches, receptacles, and more) has been tested by someone whose procedures are acceptable to your state, provincial, or city or town electrical inspectors.

By implication, an electrical part that has not been listed may not be approved for use in a building, and by implication, may be unsafe.

Labeled Electrical Equipment 

is equipment or materials to which has been attached a label, symbol, or other identifying mark of an organization that is acceptable to the authority having jurisdiction and concerned with product evaluation, that maintains periodic inspection of production of labeled equipment or materials, and by whose labeling the manufacturer indicates a compliance with appropriate standards or performance in a specified manner.

In practice we've seen a range of care in the application of standards, testing, listing, and supervision, in the listing and labeling of electrical products, extending from serious, responsible, and proper, to improper and downright dangerous over the history of electrical products.

An example of improper labeling practices was documented in the history of the FPE Stab-Lok electrical panels and circuit breakers: the manufacturer lost their UL label for a time after getting caught placing labels on equipment where they did not belong.

See FEDERAL PACIFIC FPE HAZARDS for details.

The UL Seal provided by Underwriters Laboratories for electrical parts

An example of a long-established listing organization for electrical products is Underwriters Laboratories, founded in 1894 by William H. Merrill, an electrical engineer who supported the development of electrical standards, testing, and protection from electrical hazards. Originating in the United States, UL has facilities in more than 100 countries.

Underwriters' Laboratories Inc. is a nonprofit organization that per­forms tests on electrical products. If an item meets minimum safety standards avoidance of fire and shock, it is listed with the Underwriters' Laboratories. 

Listed items display the UL seal on the item or on its package.

This indicates minimum compliance standards.  Products having a wide variety of prices may all have the UL seal.  Higher priced items will generally have additional features for convenience or longer life.

...




ADVERTISEMENT





Reader Comments, Questions & Answers About The Article Above

Below you will find questions and answers previously posted on this page at its page bottom reader comment box.

Reader Q&A - also see RECOMMENDED ARTICLES & FAQs

On 2020-09-23 - by (mod) -

Thanks, Matt;

Indeed in the ARTICLE INDEX you'll find detailed description of installing electrical receptacles or outlets and their boxes;

Your local electrical code inspector is the final legal authority, but in general, you can route a wire to a new receptacle location using an "old work" electrical box that uses any of several patented support mechanisms to secure the box in the wall - it's not always necessary to mount the box to a stud (though of course that's a nice secure approach).

Some of our articles in that series show adding receptacles in walls in a 1900's home in NY using old work boxes - nowhere near a stud.

On 2020-09-23 by Matt

You also need to cover how to install junction boxes and outlet boxes. I thought they had to mounted to 2x4's (studs).

On 2020-09-19 1 - by (mod) -

JJ

NOt uncommon, not best

On 2020-09-19 by jJB

New home has receptacle and over head lighting on same breaker

On 2020-08-11 by Anonymous

I know it’s not supposed to be done. Is there a code or something that prohibits it?

On 2020-08-11 - by (mod) -

and below is a locking type Hubbell 30A receptacle


Hubbell 30A locking type receptacle at InspectApedia.com

On 2020-08-11 - by (mod) -

No, Nma, that would be improper and unsafe. A 240V receptacle accepts a different type of wall plug (the spades on the plug and the opening slots are hoirzontal rather than vertical).

If you wired a 120VAC receptacle with 240V nothing prevents a user from plugging in a 120V appliance and at the higher voltage burning it up or starting a fire.

Don't do it.

Shown below is a Hubbell type receptacle for 220V

Hubbell 220V electrical receptacle at InspectApedia.com

On 2020-08-11 by Nma

I have an outlet marked 30amp, 125v. Can it be wired for 30amp 240v?

On 2020-05-31 - by (mod) -

Bill

Why does installing an afci require rewiring the whole house? The afci is an arc fault circuit interrupter that installs as a circuit breaker in the electrical panel for each of the lighting circuits involved.

On 2020-05-31 by Bill

I have almost completed a small reno to our home, replacing old receptacles with decorum, old fixtures with new, ran new wiring for oven.
The inspector has said all is ok except he is saying to provide AFCI for all lighting. This means rewiring the whole house. What are my options?


On 2019-12-01 by (mod) -

Fred

There are some special cases in which you might find low voltage and higher voltage wiring in the same junction box such as the box that contains the low voltage switching relay that turns a light fixture on and off. The low voltage wires operate the relay and the relay switch is high voltage wires to actually turn on and off the fixture.

You cannot run high voltage or line voltage and low voltage wires in the same electrical conduit.

To be more accurate both 120 volt and 14 or 24 volt AC wires are both considered low voltage in the electrical code. However I infer that the type of wiring that you're discussing.

On 2019-12-01 by fred

can you run low voltage wire in the same junction box as hi voltage wire.

On 2019-10-14 by (mod) -

Not sure we can come up with an explicit answer to code statements on "upgrades" Richard; however your local electrical inspector will probably tell you that new electrical work must comply with current electrical codes where you live.

On 2019-10-14 13:39:16.292685 by Richard

What electrical code speaks to ground system upgrade?

On 2019-10-03 by (mod) -

David:

1. follow the installation instructions in the manufacturer's IO Manual for your specific stove brand and model

2. The wire size must be proper for the electric stove ampacity - often 30A 40A or more depending on the model

3. The connectors or receptacle if one is used must be the proper size and rating for the circuit

On 2019-10-03 by David

What is code for wiring electric stove

On 2019-07-20 by (mod) -

Sorry, I'm confused by the question - I don't know.

What are you connecting?

Watch out: if you're not trained in proper and safe electrical wiring making a mistake could lead to a fire or shock or death.

On 2019-07-20 by Cory

What is the fourth wire I need connected to my breaker bix? Im updating.

On 2019-03-11 by (mod) - code for installing a main lighting panel

Leonard

the electrical & building codes do not give step-by-step instructions for installing electrical equipment.

However if you look in the ARTICLE INDEX giving just above you'll find an extensive list of detailed codes and specifications including for electrical panels.

On 2019-03-11 by Leonard casey

where can I find the code for installing a main lighting panel


...

Continue reading  at ELECTRICAL WIRING BOOKS & GUIDES or select a topic from the closely-related articles below, or see the complete ARTICLE INDEX.

Or see ELECTRICAL CODE BASIC FAQs - questions & answers about electrical codes posted originally on this page.

Or see these

Recommended Articles

Suggested citation for this web page

ELECTRICAL CODE BASICS at InspectApedia.com - online encyclopedia of building & environmental inspection, testing, diagnosis, repair, & problem prevention advice.


Or see this

INDEX to RELATED ARTICLES: ARTICLE INDEX to ELECTRICAL INSPECTION & TESTING

Or use the SEARCH BOX found below to Ask a Question or Search InspectApedia

Ask a Question or Search InspectApedia

Try the search box just below, or if you prefer, post a question or comment in the Comments box below and we will respond promptly.

Search the InspectApedia website

Note: appearance of your Comment below may be delayed: if your comment contains an image, photograph, web link, or text that looks to the software as if it might be a web link, your posting will appear after it has been approved by a moderator. Apologies for the delay.

Only one image can be added per comment but you can post as many comments, and therefore images, as you like.
You will not receive a notification
when a response to your question has been posted.
Please bookmark this page to make it easy for you to check back for our response.
Our Comment Box is provided by Countable Web Productions countable.ca

Comment Form is loading comments...

Citations & References

In addition to any citations in the article above, a full list is available on request.



ADVERTISEMENT