Understanding the Virginia Electrical Code Basics
The Virginia electrical code joins state building rules with the National Electrical Code Virginia has adopted. It is not a separate rulebook.
Updated
Electrical PE stamping
The Virginia electrical code joins state building rules with the National Electrical Code Virginia has adopted. It is not a separate rulebook. The Department of Housing and Community Development (DHCD) lists the 2021 Virginia codes and the 2020 National Electrical Code as the codes in force now. (dhcd.virginia.gov)
What electrical code does Virginia use?
Virginia uses the 2020 National Electrical Code (NEC), also called NFPA 70. It sits inside the 2021 Virginia Uniform Statewide Building Code (USBC). The 2021 Virginia codes took effect on January 18, 2024. Permit applications filed on or after January 18, 2025, must meet the 2021 USBC. (dhcd.virginia.gov)
The year on the book is not always the year Virginia adopted it. A book marked “2021” can still be the Virginia text years later. A newer national electrical code does not apply just because it was published. Virginia adopts code changes through its own state process. (dhcd.virginia.gov)
Before you buy parts or accept a bid, ask the local building department which edition covers the permit. If the job already has a permit, give that permit number. Rules for a new application may not decide an older permit. Virginia ties the code to the permit date and the transition rules. (law.lis.virginia.gov)
How the statewide framework fits together
The Virginia Uniform Statewide Building Code (USBC) is the state rule set. Its parts cover different kinds of work. The Virginia Construction Code covers new construction. The Virginia Existing Building Code covers work in buildings that already exist. The residential code covers buildings in its housing scope. (dhcd.virginia.gov)
For electrical planning, keep these books separate:
- Virginia Construction Code: Rules for new construction, including the electrical chapter.
- Virginia Residential Code: Houses and townhouses that qualify, including their electrical rules.
- National Electrical Code: The electrical install standard Virginia has adopted.
- Virginia Existing Building Code: Rules for repairs, alterations, and other work in existing buildings. (codes.iccsafe.org)
A house and an apartment are not reviewed the same way. The residential code covers detached one- and two-family homes and townhouses. Apartment buildings, and condominiums outside that group, fall under the Virginia Construction Code. Name the building type and the work, not only that someone lives there. (dhcd.virginia.gov)
Choosing the right Virginia electrical code book
A useful Virginia electrical code book matches the adopted edition and the job. Start on the DHCD code pages, then pick the Virginia code and the electrical standard that fit the work. DHCD download files hold the Virginia edits. International Code Council editions fold those edits into the full code text. (dhcd.virginia.gov)
That split matters when you look up a rule. A file of edits only is not the whole model code. A national book with no Virginia edits can miss a Virginia question. Keep the full text with the state notes, not a short search excerpt. (dhcd.virginia.gov)
Write down the edition, the section, and the question. For example: “Does this basement bedroom circuit need AFCI protection under the Virginia rules that apply?” That is more useful than asking if a whole remodel is “up to code.”
What are Virginia’s electrical outlet requirements?
Virginia electrical outlet requirements depend on the room, the walls, how appliances are used, and the rules that apply. In a typical living area, no point along qualifying wall space should be more than 6 feet from a receptacle. Kitchens, bathrooms, basements, and other listed rooms follow their own rules.
For Virginia building code electrical outlets, start with a floor plan, not a total outlet count. Doors, fixed items, and breaks in the wall change the layout. A receptacle for a kitchen counter or work surface does not count as a wall receptacle. (dhcd.virginia.gov)
Check these rooms one at a time:
- Living and sleeping spaces: Mark the wall sections that count, and check spacing around the room, including corners.
- Bathrooms: Check the receptacle at each basin, and the limits around tubs and showers.
- Kitchens: Check counter, island, and peninsula rules apart from general wall spacing.
- Basements: Plan on GFCI protection in both finished and unfinished areas. (dhcd.virginia.gov)
On a kitchen remodel, set the island size before you lock the electrical plan. DHCD notes on the 2021 changes say island and peninsula receptacles follow the countertop area. An older example, or advice from another NEC edition, can send the layout the wrong way. (dhcd.virginia.gov)
Protective devices and service equipment deserve early attention
USBC electrical rules cover more than where outlets go. DHCD housing guidance says GFCI protection covers listed receptacles up to 250 volts, not only standard plugs. That includes dryer receptacles in laundry rooms and some range receptacles near sinks. (dhcd.virginia.gov)
Basements need extra care. GFCI protection applies in finished and unfinished basement areas. For a basement bedroom, DHCD staff say to keep AFCI protection as well. The local building department still enforces the rule. One device does not settle every circuit rule. (dhcd.virginia.gov)
Service work can be more than a new panel. The 2021 changes call for an emergency disconnect outdoors, in a spot that is easy to reach, for one- and two-family homes. They also call for a surge-protective device at the service. Replacing the service equipment brings that surge rule with it. Ask which rules fit the work so the price covers the full job. (dhcd.virginia.gov)
If the job needs a sealed load calculation or one-line, Kevin Engineering sends it to an electrical engineer licensed in Virginia. The license is checked before any seal. The sealed set is covered on electrical PE stamping and electrical service upgrades.
Local enforcement without a separate local electrical code
Local building departments enforce the statewide code. Running the permit office is not the same as writing a separate electrical code. DHCD names local building inspection departments as the enforcers. Loudoun County says Virginia localities cannot change the Virginia Construction Code or the USBC. (dhcd.virginia.gov)
A search for Loudoun County Virginia electrical code amendments should separate building rules from fire rules. Loudoun says it cannot change the statewide building code. Local fire rules can be stricter. Its building-code list names the 2021 Virginia codes and the 2020 NEC. (loudoun.gov)
A search for the Virginia Beach electrical code leads to the city Permits & Inspections Division. That office runs the project. Local departments enforce the USBC, so Virginia Beach has no electrical book of its own. Ask about the application, inspection times, and rules for the job. File the application and the inspection request in the city citizen portal. (dhcd.virginia.gov)
How a Virginia PE seal is applied, and how those local portals differ, is covered in the Virginia PE stamp guide.
Plan permits and inspections before work starts
New electrical wiring, and changes to it, usually need a permit before work starts. Some jobs are exempt. Virginia exempts certain ordinary swaps of switches, receptacles, luminaires, and ceiling fans in specified residential occupancies from a permit application. An exemption does not remove the duty to meet the code. (law.lis.virginia.gov)
Use this checklist before work starts:
- Describe the scope clearly. Separate a device swap from new wiring, moved outlets, service changes, and added equipment.
- Confirm the permit. Ask which exemptions, if any, fit that exact work.
- Name the applicant. Confirm who pulls the permit and which contractor or exemption details are required.
- Plan the inspections. Ask which stages need a visit, and who requests each one.
- Keep the records. Save the permit, approved plans, correction notices, and inspection results. (law.lis.virginia.gov)
Use this article to plan the work, not to wire it. Take open design questions to a licensed electrician and the department that enforces the code.
The practical takeaway
The electrical code Virginia uses comes down to three questions. Which edition applies? Which code covers this building and this work? What does the local department need before it can approve the job? State pages set the rules. Local officials enforce them. (dhcd.virginia.gov)
Before you commit, write down the scope, a clear layout, and the questions still open. That gives the electrician and the building department a solid file to review.
FAQ
- What electrical code does Virginia use?
- Virginia uses the 2020 National Electrical Code (NFPA 70) inside the 2021 Virginia Uniform Statewide Building Code. The 2021 Virginia codes took effect on January 18, 2024. Applications filed on or after January 18, 2025, must meet the 2021 USBC. A newer national electrical code does not apply until Virginia adopts it.
- Does Loudoun County or Virginia Beach publish its own electrical code?
- No. Local building departments enforce the statewide USBC. Loudoun County says Virginia localities cannot change the Virginia Construction Code. Local fire rules can be stricter. The Virginia Beach Permits & Inspections Division runs the USBC for that city.
- Do all outlet locations follow the 6-foot spacing rule?
- No. In a typical living area, no point along qualifying wall space should be more than 6 feet from a receptacle. Kitchens, bathrooms, basements, and other listed rooms have their own rules. Under the 2021 changes, island and peninsula receptacles follow the countertop area.
- Does replacing a switch or receptacle always need a permit?
- Not always. Virginia exempts some ordinary swaps of switches, receptacles, luminaires, and ceiling fans in specified residential occupancies from a permit application. An exemption does not remove the duty to meet the code. New wiring, moved outlets, and service changes are a different job. Confirm that work with the local building department.
- Which Virginia electrical code book should I use?
- Use the edition the local department enforces for that permit. Start on the DHCD code pages. Downloadable USBC files hold the Virginia edits. International Code Council editions fold those edits into the full code text. A file of edits only is not the whole model code.
Related articles

Understanding North Carolina State Building Code
The North Carolina State Building Code is a set of volumes, not one book. The right edition, the residential scope, and the permit all depend on the work.

Understanding New Jersey Electrical Permit Requirements
A New Jersey electrical permit is usually required when you install or change electrical wiring or regulated equipment, but ordinary maintenance is often exempt.

Atlanta Building Permits and Engineering Seal Guide
The right Atlanta building permit, supporting drawings, and engineering seal depend on the work, not just on project size.