Grounded three-prong outlets are required by law in all new construction and in the portions of a home affected by major electrical work, under the National Electrical Code (NEC) that every state has adopted in some form.1National Fire Protection Association. Learn Where the NEC Is Enforced Older homes with existing two-prong outlets are generally allowed to keep them under a grandfather principle, but that allowance ends the moment you renovate, and it comes with real safety and financial trade-offs that catch many homeowners off guard.
When the Law Requires Grounded Outlets
NEC 406.4(A) requires that all receptacles on 15-ampere and 20-ampere branch circuits be the grounding type. The grounding contact on each receptacle must connect to an equipment grounding conductor running back to the electrical panel, so that fault current has a path that will trip the breaker if something goes wrong.2National Fire Protection Association. The Basics of Grounding and Bonding
Two situations trigger the requirement clearly:
- New construction. Every outlet in a new home or commercial building must be a grounded, three-prong receptacle wired with a proper equipment grounding conductor. No exceptions.
- Major electrical work. Adding new circuits, replacing an electrical panel, or extending wiring into renovated areas forces the affected portions of the system up to the current adopted code. Gut a kitchen or finish a basement, and the new outlets in that space have to meet today’s grounding standards.
Swapping a broken outlet for the same type generally does not trigger a full upgrade, but what counts as “significant” work varies by jurisdiction. A quick call to the local building inspector before starting saves problems later.
Grounding is only part of the modern rule. In wet or hazardous locations, the NEC also requires ground-fault circuit interrupter (GFCI) protection, which cuts power in milliseconds if it detects current leaking through a person or object. Under NEC 210.8(A), GFCI protection is required in bathrooms, kitchens, laundry areas, garages and accessory buildings, unfinished basements and crawl spaces, outdoor locations, and near sinks in both residential and commercial settings.3UpCodes. Ground-Fault Circuit-Interrupter Protection for Personnel The 2023 NEC expanded kitchen coverage to include receptacles serving refrigerators, ranges, and disposals, and pulled 250-volt receptacles into the rule. Jurisdictions still enforcing older editions may have a slightly narrower list, but kitchens, bathrooms, garages, and outdoor outlets have been on it for decades.
Local governments can also enforce stricter rules than the state baseline, so the code edition and any local amendments in your area determine the exact requirements. Check with the local building department before starting any project.
What About Older Homes With Two-Prong Outlets?
Homes built before modern grounding standards often have two-prong ungrounded outlets throughout. These are usually legal to keep under “grandfathering”: the house was built to the code in effect at the time, and you are not required to upgrade every outlet because the code changed since. You can live with those outlets indefinitely without violating the law.
The grandfather status is not permanent, though. It disappears when:
- You do significant electrical work in the affected area.
- A local ordinance specifically requires upgrades for safety reasons.
- The property changes use in a way that triggers new code review, such as a rental license renewal or a point-of-sale inspection in municipalities that require them.
Grandfathered or not, ungrounded outlets carry hazards worth understanding before you decide to leave them alone.
The Hidden Cost of Keeping Ungrounded Outlets
Without a ground wire, fault current has no safe path back to the panel. A short circuit inside an appliance can energize the metal casing, and the breaker may not trip because not enough current is flowing to trigger it. The shock risk sits quietly until someone touches the wrong thing.
Surge protection is the other quiet failure. A standard surge protector uses metal oxide varistors that redirect excess voltage to the ground wire. Plug one into a two-prong outlet, or into an adapter that defeats the ground pin, and it physically cannot do its job. There is nowhere to send the surge energy. The power strip still works as an extension cord, but the “surge protection” label becomes meaningless. If you have expensive electronics plugged into what you think are protected outlets in an ungrounded circuit, they are not actually protected.
Three Legal Ways to Upgrade
The NEC recognizes three code-compliant approaches to ungrounded outlets, and they differ significantly in cost and level of protection.
Replace With a GFCI Receptacle
NEC 406.4(D)(2) specifically allows replacing an ungrounded two-prong outlet with a GFCI receptacle even when no ground wire is present in the box.4UpCodes. Non-Grounding-Type Receptacles The GFCI provides shock protection by detecting current imbalances and cutting power, which addresses the primary safety concern. A single GFCI installed at the first outlet on a circuit can also protect every outlet downstream on that same circuit.
The trade-off is that a GFCI without a ground wire does not provide equipment grounding. Surge protectors still won’t work properly, and sensitive electronics don’t get the ground reference they were designed for. Expect to pay roughly $90 to $200 per outlet for professional installation, making this the most affordable option.
Run a New Grounding Conductor
NEC 250.130(C) permits retrofitting an equipment grounding conductor to an existing ungrounded circuit without replacing all the wiring. The new ground wire can connect to the grounding bus in the main panel, to the grounding electrode system, or to the grounding conductor of another circuit originating from the same panel. This gives the outlet a true equipment ground while keeping the existing circuit wiring in place. Grounding a single outlet this way typically costs $100 to $300, depending on the distance to the panel and how accessible the wiring path is.
Rewire the Circuit
Replacing the entire circuit with modern NM-B cable (which includes a ground wire) is the most thorough solution. It removes any concerns about the condition of old wiring and supports full GFCI and AFCI protection. It is also the most disruptive and expensive, often requiring opening walls to run new cable.
The Labeling Rule Nobody Talks About
When you replace a two-prong outlet with a GFCI and no ground wire exists, the NEC requires visible labels on the receptacle or its cover plate. The GFCI itself must be marked “No Equipment Ground.” A standard three-prong outlet installed downstream and protected by that GFCI must carry two labels: “GFCI Protected” and “No Equipment Ground.”4UpCodes. Non-Grounding-Type Receptacles Most GFCI receptacles ship with these stickers in the box. Skipping the labels is a code violation and can mislead the next occupant or electrician into thinking a real equipment ground is present when it isn’t.
Rentals, Home Sales, and Insurance
Even if the code lets you leave ungrounded outlets alone, three other legal frameworks may push you to upgrade.
Rental properties. The implied warranty of habitability, recognized in most states, requires landlords to keep rental properties safe and fit for living. Electrical hazards are a common category of habitability violations. An ungrounded outlet in a 1950s house may not automatically violate the code, but a landlord who knows about a live electrical safety concern and does nothing faces negligence liability if a tenant is injured. Some jurisdictions require electrical upgrades as a condition of rental licensing or certificate-of-occupancy renewal, which effectively cancels the grandfather exception for rentals.
Mortgages. FHA-backed mortgages require properties to meet minimum safety standards, including electricity adequate for lighting and mechanical equipment, and freedom from known safety hazards affecting occupants.5U.S. Department of Housing and Urban Development. FHA Single Family Housing Policy Handbook 4000.1 FHA rules do not specifically mandate grounded outlets, but an appraiser who identifies an electrical safety hazard can flag it as a condition that must be corrected before closing. VA loans follow a similar approach. Whether ungrounded wiring becomes a deal-breaker depends on the appraiser’s judgment and the local code.
Insurance. Insurance companies tend to be more direct. Ungrounded outlets are on the standard list of electrical red flags underwriters screen for. An insurer may increase premiums, add exclusions for electrical losses, require upgrades within 30 to 90 days as a condition of coverage, or decline to issue a policy at all. Homes combining ungrounded outlets with older panels and outdated wiring have the highest risk of coverage problems.
Permits and Who Can Do the Work
Replacing an existing outlet with the same type, or swapping a receptacle for a GFCI, generally does not require a permit. The moment you run new wiring, add an outlet, or extend a circuit, a permit is almost certainly required. Residential electrical permit fees typically run $50 to $400 depending on scope and municipality.
Skipping the permit rarely pays off. Unpermitted work discovered during a later inspection, sale, or insurance claim can be ordered torn out and redone by a licensed electrician. Building departments can declare a property unsafe to occupy until the issue is resolved. Unpermitted electrical work also creates title problems that surface during sales, when buyers and lenders expect to see permits for significant upgrades.
Many states allow homeowners to perform electrical work on their own primary residence without an electrician’s license, though permits and inspections still apply. Other jurisdictions require a licensed electrician for all permitted work. Check with the local building department before assuming a project is DIY-legal. Grounding mistakes are among the most dangerous electrical errors to get wrong, because the fault stays invisible until someone gets hurt.