Do I need a permit to put solar panels on the roof?
Usually needs a permit
Solar is permitted essentially everywhere, and there are two approvals rather than one — the building department's, and the utility's interconnection agreement, which is what actually lets the system export.
What changes the answer
- Any grid-tied rooftop array — a permit covering both the electrical work and the structural load on the roof
- Interconnection with the utility is a separate agreement, and switching the system on without it is a serious matter
- The roof's age and condition matter: a roof needing replacement within the array's life is a decision to make before, not after
- Battery storage adds its own requirements on location, separation and often a limit on capacity inside a dwelling
- Ground-mounted arrays are structures on the lot, with setbacks and sometimes their own height rules
These thresholds come from the model code and are commonly amended locally, which is usually where people get caught.
Why it matters
The permit is rarely the obstacle — most jurisdictions have streamlined this and many use expedited residential review. The real risks sit either side of it: an array on a roof with five years left forces a costly removal and reinstall, and an unpermitted system is a documented problem at resale, for the insurer, and for claiming the tax credits that made the economics work.
Confirm the requirement with the authority that would issue the permit before deciding.
The version of this people actually ask
Do I need a permit for ground-mounted solar panels?
Yes, and it is judged differently from a rooftop array. A ground mount is a structure on the lot: it has foundations, it faces wind uplift with nothing sheltering it, and it is subject to setbacks and sometimes height limits like any other structure. The electrical scope is similar; the trench and the run back to the house are added to it.
Do I need a permit for a solar battery like a Powerwall?
Yes. Energy storage has its own requirements that panels do not — limits on aggregate capacity in a dwelling unit, rules about which rooms it may be installed in, separation from exits and from other units, and in some jurisdictions specific fire-department access provisions. It is common for the battery to be the part of a solar project that takes the longest to approve.
Do I need a permit for a small off-grid or portable solar setup?
A portable panel charging a battery for camping is not building work and nobody regulates it. It becomes regulated when it is fixed to the building and wired into it — and being off-grid does not exempt it, because the electrical requirements exist for the wiring and the fire risk rather than for the grid connection. The utility side is what off-grid removes, not the building side.
Should I replace my roof before installing solar?
Not a code question, but the most consequential one in the project. Panels typically outlast the remaining life of a roof that is already a decade or more old, and removing and reinstalling an array to re-roof underneath it costs thousands. Most installers will raise it; if yours has not, it is worth raising yourself before signing.
This is the typical rule, not your answer
This is the typical rule in the United States and not a decision about your property — permitting is run by more than 22,000 separate authorities and any of them can amend the code it adopts, so confirm with your local building department before you start. Put a ZIP in to see what applies in that state, and how to reach the office that decides.
Photovoltaic systems are not in the IRC R105.2 exemptions. Electrical requirements come from NEC Article 690, with rapid shutdown at 690.12; the structural review is the existing roof's capacity for the added dead load and wind uplift under IRC Chapter 8. Interconnection is governed by the utility's tariff rather than by any building code.
Other projects
- Build a deckA permit is usually required once a deck is more than 200 square feet, more than 30 inches above grade, serves an exit door, or is attached to the house.
- Put up a fenceFences under 7 feet are typically exempt from a building permit — but height limits, corner-visibility rules and pool-barrier requirements are set locally and catch people constantly.
- Add a shed or small outbuildingOne-story detached sheds are typically exempt up to 200 square feet under the residential code — but the number people quote is 120, and both are right depending on which code your jurisdiction adopted.
- Replace a water heaterReplacing a water heater almost always requires a permit, even though it is routinely done without one.
- Remove or open up an interior wallIf the wall is load-bearing, a permit and engineered drawings are required. If you are not certain whether it is load-bearing, assume it is.
- Upgrade or replace an electrical panelPanel and service work always requires a permit, and in most places must be done by a licensed electrician.