Pittsburgh & Western Pennsylvania
Grounding & Protection

Grounding for Detached Structures

Powering a detached garage or shed? Learn why a separate grounding electrode system is crucial for safety and required by the NEC. This guide explains the essentials.

6 min readUpdated March 14, 2026NEC Article 250.32

What This Rule Addresses

NEC Article 250.32 provides the requirements for grounding and bonding at separate buildings or structures that are supplied by a feeder or branch circuit from a main building. This rule is crucial for ensuring the safety of detached structures like garages, workshops, or sheds that have their own electrical power. The code requires that a detached structure with more than one branch circuit have its own grounding electrode system. This system must be established at the detached structure and bonded to the equipment grounding conductor that runs with the feeder from the main building. The purpose is to create a local ground reference at the detached structure and to ensure a low-impedance path for fault currents to return to the source.

The rule offers a few options for establishing the grounding electrode system at the detached structure. This can be a ground rod, a concrete-encased electrode, or any other approved grounding electrode. The key is that the grounding electrode system at the detached structure must be bonded to the equipment grounding conductor and the neutral conductor at the subpanel in the detached structure. This ensures that any ground fault that occurs in the detached structure will have a clear path back to the main service panel, where the overcurrent device will trip. For homeowners in Western Pennsylvania with detached garages or workshops, it is essential to have a licensed electrician verify that the grounding for these structures is compliant with the latest code to prevent serious electrical hazards.

Why This Safety Rule Exists

The primary reason for this rule is to protect against electric shock and fire hazards in detached structures. Without a proper grounding electrode system at the detached structure, a ground fault could energize the metal parts of the building and any equipment inside it. This would create a dangerous touch potential for anyone who comes into contact with these surfaces. By requiring a local grounding electrode system, the code helps to equalize the potential between the detached structure and the earth, reducing the risk of electric shock. This is especially important in areas with significant lightning activity, as the local ground can help to dissipate the energy from a nearby strike.

This rule also ensures the effective operation of overcurrent protection devices. The low-impedance path created by the bonding of the grounding electrode system to the equipment grounding conductor and the neutral conductor allows a large fault current to flow back to the main panel in the event of a ground fault. This high current will trip the circuit breaker or blow the fuse, quickly de-energizing the circuit and preventing a fire. Without this reliable fault current path, a ground fault could persist, creating a serious fire hazard. This rule is a critical safety measure for any property with a powered detached structure.

Where This Rule Typically Applies in Homes

This rule applies to any detached structure on a residential property that is supplied with electricity from the main house. This includes detached garages, workshops, sheds, barns, and even guesthouses. If the detached structure has more than one circuit, it is required to have its own grounding electrode system. This system is typically located near the subpanel in the detached structure. You will likely find a ground rod driven into the earth outside the structure, with a grounding electrode conductor running to the subpanel.

Inside the subpanel, you will see that the grounding electrode conductor is bonded to the equipment grounding bus, the neutral bus, and the metal enclosure of the panel. This creates the necessary connections to ensure a safe and reliable grounding system for the detached structure. If you have a detached structure on your property and you are not sure if it is properly grounded, it is important to have it inspected by a licensed electrician. They can verify that the grounding system is compliant with the code and make any necessary corrections.

Common Situations Homeowners Encounter

Homeowners often encounter issues with the grounding of detached structures when they are buying or selling a home, or when they are having electrical work done. A home inspector may identify an improper or missing grounding electrode system at a detached garage as a safety concern. This is a common issue in older properties where the electrical work may not have been done to modern standards. If you are finishing a detached garage or adding a workshop to your property, you will need to ensure that the new electrical service is properly grounded.

Another common situation is when a homeowner adds a subpanel to an existing detached structure. It is critical that the new subpanel is installed with a proper grounding electrode system. This is not a DIY project for the average homeowner. It requires a thorough understanding of the electrical code and the proper techniques for installing and bonding the grounding system. To ensure the safety of your family and your property, it is always best to hire a licensed electrician for this type of work.

Safety Considerations

The most important safety consideration for detached structures is to ensure that they have a proper grounding electrode system. This is not an optional feature; it is a critical safety requirement. Never use a detached structure that has electrical power but no grounding system. The risk of electric shock and fire is simply too great. If you are unsure about the grounding of your detached structure, have it inspected by a licensed electrician.

It is also important to protect the grounding electrode system from damage. Be careful when digging or landscaping around the detached structure to avoid hitting the ground rod or the grounding electrode conductor. If you suspect that the grounding system has been damaged, have it inspected and repaired by a licensed electrician immediately. A compromised grounding system is a serious safety hazard.

When to Contact a Licensed Electrician

You should contact a licensed electrician for any electrical work in a detached structure, especially when it involves the installation or modification of the grounding system. This includes installing a new subpanel, adding new circuits, or correcting any deficiencies identified by a home inspector. A licensed electrician will have the knowledge and experience to ensure that the work is done safely and in compliance with the electrical code.

If you are planning to build a new detached structure on your property that will have electrical power, you should consult with a licensed electrician during the planning stages. They can help you design a safe and compliant electrical system, including the proper grounding for the structure. Investing in professional electrical work is an investment in the safety of your home and family.

This information is provided for educational purposes to help homeowners understand common electrical safety concepts and code principles. The official National Electrical Code is published by the National Fire Protection Association (NFPA). Always consult licensed electricians and local authorities for specific code requirements, as local codes and adopted NEC versions may vary.

detached structure groundingseparate buildinggrounding electrodeoutbuilding groundgarage groundingNEC 250.32