The short version: installing solar on your own home is legal in most of the United States, but the connection to your service panel is regulated electrical work that most jurisdictions require a licensed electrician to perform. So DIY grid-tied is generally legal — as a hybrid, where you do the array and someone licensed does the tie-in — and rarely legal as a start-to-finish solo project.

This matters because it is the point where people discover, after buying equipment, that their plan does not work where they live.

Three separate hurdles, often confused

HurdleWho decidesTypical DIY outcome
PermitYour building departmentUsually obtainable as owner-builder
LicenceState licensing lawOften required for the panel connection
InterconnectionYour utilityApproved if permit and inspection pass

A great deal of confusion comes from treating these as one question. You can hold a valid owner-builder permit and still be legally barred from performing the service-panel work yourself. You can complete both and still be refused interconnection if your inverter is not on the utility's approved equipment list.

Owner-builder exemptions and their limits

Many states have owner-builder provisions letting a homeowner perform work on a home they own and occupy without holding a contractor's licence. Where these exist they are usually the mechanism that makes DIY solar possible at all. But they come with conditions that vary considerably: some exclude the service equipment specifically, some require the home not be sold for a period afterward, some cap project value, and some apply to building work but not electrical work.

The practical question to ask your building department is narrow and specific: may an owner-builder perform the AC connection to the main service panel, or must that be done by a licensed electrician? That single question resolves most of the ambiguity, and the answer determines your project structure.

Your utility has its own rules

Even with permit and licence resolved, the utility can impose requirements of its own. The common ones:

  • Approved equipment lists. Inverters generally must be listed to UL 1741 and meet IEEE 1547 — a cheap unlisted inverter can fail your application after everything is installed.
  • A licensed contractor named on the interconnection application. Some utilities require this regardless of what your building department allows.
  • A signed interconnection agreement before the system may operate.
  • Permission to Operate (PTO). Running a grid-tied system before receiving PTO breaches the agreement and can mean disconnection.

Check your utility's requirements in parallel with the permit, not after. Details are in how to interconnect a DIY solar system with your utility.

What is genuinely not allowed anywhere

One thing to state plainly, because it kills people: never connect any power source to your home wiring through a wall outlet, and never bypass or defeat anti-islanding protection. Backfeeding sends power onto lines that utility crews believe are dead. It is illegal everywhere in the U.S., and it is the mechanism behind lineworker deaths after storms.

That applies to generators and to any plug-in solar device. The legal ways to feed your home are a proper interconnection or a transfer switch, both of which isolate you from the grid when the grid is down.

The practical structure that works

  1. Confirm the licence question with your building department before buying anything.
  2. Confirm your utility's equipment list and application requirements.
  3. Pull an owner-builder permit if available.
  4. Do the racking, panel mounting, DC wiring and conduit yourself.
  5. Hire a licensed electrician for the AC side and service-panel connection — typically $500-2,000.
  6. Pass inspection, submit for interconnection, wait for PTO before switching on.

That structure captures the large majority of the DIY saving while keeping the regulated work with someone licensed to do it. It is the arrangement most successful DIY grid-tied projects actually use, and it is what the DIY versus professional cost comparison assumes.

Nothing here is legal advice, and licensing law is genuinely state-specific. Verify with your own building department and utility rather than with any general guide.