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.