What Is the National Electrical Code (NEC)?

The electrical safety standard that decides how circuits, panels and outlets must be installed.

Updated November 2026 Glossary Term

National Electrical Code (NEC): A safety standard published by the National Fire Protection Association as NFPA 70 that sets rules for installing electrical wiring and equipment, adopted by states and cities and revised every three years.

What the NEC Covers

The National Electrical Code, also called NFPA 70, covers how electrical systems are installed in homes and other buildings: wire sizes and protection, outlets and switches, panels and grounding, bathroom and kitchen protection, and equipment such as EV chargers and solar systems. It is written by the National Fire Protection Association, a private standards body, not by a government.

It becomes enforceable only when a state or city adopts it. Most U.S. jurisdictions do, in some edition.

Chapters cover general rules, wiring methods, equipment and special occupancies and conditions, which is where pools, solar and vehicle chargers are handled.

Edition Years and Which One Applies

The NEC is revised on a three-year cycle, and editions are named by year. Many places enforce one that is a cycle or two behind the newest, and some states amend it. A rule you read about online may come from an edition your city has not adopted yet, or may already have been removed from the one it uses.

The permit office or the electrical inspector can tell you the edition in force. See code edition for how adoption cycles work.

Changing editions can alter details such as which outlets need protection, so an electrician quoting from the newest edition may differ from your local inspector.

What an Electrical Inspection Checks

Electrical inspectors check that work matches the NEC as adopted: breaker and wire sizing, grounding and bonding, outlet types and locations, and protection devices such as GFCI. The sequence usually has a rough inspection before walls close and a final once devices are in place. An electrical permit is what puts the work under that inspection.

Failing items are listed on the inspection card and must be corrected before the next visit.

Where the NEC Comes Up on This Site

Any permit with new circuits, a panel change or a pool pump touches the NEC. Our electrical panel permit research compares city fees and who may pull the permit, and the owner-builder research shows which cities let a homeowner do their own wiring.

The code sets how the work is done; the cities' own pages set who may pull the permit and what it costs.

If your project has a service upgrade, a subpanel or a circuit for a new appliance, the electrical permit is the document that brings the NEC into play, and the inspection that follows is where it is checked.

Frequently Asked Questions

On its own, no. It is a standard written by a private standards organization. It becomes legally binding when a state or city adopts it, which most do. The adopted edition, plus any local amendments, is what the inspector enforces on your project.
Adoption is a government process that often lags the publication of a new edition. Cities and states review it, sometimes amend it, and adopt it on their own schedule. As a result, the edition on your inspection card can be older than the newest one. The permit office states which edition is in force.
If your city lets homeowners pull electrical permits, the inspector will check your work against the adopted NEC, so you need to follow it. Some cities require a licensed electrician or a test. See our owner-builder research to learn how your city handles it.
Stay up to date
Get notified when we add new cities or update permit fees.