Basement to Roof

Solar and Energy

How to Build a Home Solar System, and Why Not to Build the Panels

Updated

Soldering your own modules from loose cells is a good weekend science project but a poor way to power a house. Putting together a working system from factory panels, an inverter, racking and wire skips the installer's markup and can save you real money if you respect the electrical code.

Two black weatherproof solar connectors, unmated, side by side on red and blue PV wire leads
The two halves of a solar connector pair are shaped differently, and halves from different brands may fit together without making a safe seal. Photo: Pengo, CC BY-SA 3.0

Panel Prices, DIY vs. Pro Cost per Watt, and the Lost Tax Credit

  • Don't build the panels themselves. Factory modules now sell for about $0.33–$0.41 per watt by the pallet. A 450-watt panel costs roughly $150–$185. Loose cells plus glass, encapsulant, backsheet, frame and junction box cost about the same or more, and the result is a panel with no listing that no inspector will pass.
  • Do consider building the system. A homeowner can buy listed panels, an inverter, racking and wire for about $1.00–$1.50 per watt. A professional install usually costs $2.50–$3.00 per watt.
  • There's no federal tax credit for this anymore. The 30% residential credit (Section 25D) ended for homeowner-owned systems placed in service after December 31, 2025. That makes the cost gap between DIY and a pro install matter more than it used to. Check for state and utility rebates, because some still exist.

Why Hand-Built Panels Don't Belong on a House

A factory panel goes through a vacuum laminator that bonds the cells between tempered glass and a backsheet with no air pockets. It's then flash-tested, and it carries a UL 61730 / IEC 61215 listing. A garage-built panel sealed with silicone or epoxy has none of that, and three things go wrong:

  1. Moisture gets in. Within a few seasons, solder joints and cell fingers corrode and output drops off.
  2. Hot spots develop. Cells that are mismatched or cracked heat up under partial shade. A homemade panel has no reliable bypass-diode arrangement, so it can scorch the backsheet or start a fire.
  3. It can't be permitted. NEC 690.4 requires listed equipment. An unlisted array can fail inspection, void your homeowner's insurance, and be refused interconnection by the utility.

Building a small 12-volt panel from cells is a good way to learn how series strings, bypass diodes and I-V curves work. Use it to charge a battery for a shed light or a trail camera. Don't bolt it to a roof or wire it into the house.

Pick the Type of System First

System type What it does Typical DIY equipment cost (late 2026) Permit & utility approval
Grid-tied, no battery Offsets your bill; shuts off when the grid goes down ~$1.00–$1.30/W Yes, both
Hybrid (grid + battery) Offsets your bill and keeps chosen circuits running during outages ~$1.10–$1.60/W plus batteries Yes, both
Off-grid A cabin or home with no utility connection Varies widely; batteries dominate the cost Building/electrical permit in most jurisdictions
Portable / small 12–24 V RV, van, shed, boat $1.50–$3.00/W at small scale Usually none

Most homeowners who want a lower power bill should look at grid-tied or hybrid. Off-grid only pays off where bringing in utility power would cost tens of thousands of dollars.

How to Size the Array

Start from 12 months of electric bills, not a guess. If a heat pump is on your list for the next few years, add its expected load now so the array isn't undersized.

Formula: daily kWh ÷ (peak sun hours × 0.80) = array size in kW

The 0.80 accounts for real-world losses: heat, wiring, inverter efficiency, dirt and shading.

Example: A home uses 900 kWh a month, or about 30 kWh a day. It's in a 4.5-sun-hour location, which covers much of the Midwest and mid-Atlantic.

30 ÷ (4.5 × 0.80) = 8.3 kW, or about 18 panels at 450 W

Rough peak sun hours by region:

  • Desert Southwest: 6–7
  • Southeast and Texas: 5–5.5
  • Midwest and mid-Atlantic: 4–4.5
  • Northeast and Pacific Northwest: 3.5–4

A south-facing roof at a pitch of 20–35° gets close to full output. East or west faces lose roughly 10–20%. Shade does much more damage than orientation, because one shaded panel can drag down a whole string unless you use microinverters or optimizers.

Main Components and Current Prices

Panels

  • Mainstream residential modules are now 400–450 W monocrystalline TOPCon. Bifacial panels of 540 W and up are common for ground mounts.
  • Pallet price: about $0.33–$0.41/W. A pallet is usually 26–36 panels, and freight adds roughly 10%.
  • Single panels at retail: expect $0.40–$0.60/W.
  • Buy from a brand with a real US presence, because a 25-year warranty is only as good as the company behind it.
  • Panels bigger than about 500 W are 7+ feet long and weigh 60+ lb. They're fine on a ground rack but awkward for one person on a roof.

Inverters

  • Microinverters (one per panel): easiest to design around shade, they have rapid shutdown built in, and they run at 240 V AC on the roof. Expect roughly $0.35–$0.50/W. They're the most forgiving choice for a first-time DIYer.
  • String inverter with rapid-shutdown devices: costs less per watt on larger, unshaded arrays.
  • Hybrid all-in-one inverters: these combine the solar charge controller, battery charger and inverter in one box.
  • A 12 kW grid-interactive hybrid with UL 1741 SB listing runs about $3,600–$5,500 depending on the retailer.
  • Smaller 6 kW off-grid units run around $1,500.
  • Check carefully: many budget all-in-ones are off-grid only and must not be connected to utility power. If you plan to back-feed the grid, the listing has to include UL 1741 SB.

Batteries

  • The DIY standard is a 48 V lithium iron phosphate (LFP) server-rack battery, usually 5.12 kWh per module.
  • Current street prices run $1,000–$1,600 per 5.12 kWh module, which works out to about $195–$315 per kWh. Self-heating and better communication (CAN/RS485 to the inverter) push a unit toward the top of that range.
  • Size the battery bank for the loads you actually want to keep running, not the whole house. Refrigerator, freezer, well pump, furnace blower, internet and some lights typically need 10–15 kWh per day, or three to four rack modules with some margin.
  • In an unheated garage in a cold climate, buy self-heating batteries. LFP must not be charged below freezing.

Racking, Wire and Hardware

  • Roof rails, flashed mounts, clamps and grounding: about $0.15–$0.25/W.
  • Ground mount: steel or aluminum structure plus concrete piers, about $0.20–$0.40/W.
  • Wire and electrical parts: PV wire (usually 10 AWG for module strings), MC4 connectors from the same manufacturer as the panels, conduit, a DC disconnect, an AC disconnect if your utility requires one, and breakers. Budget $800–$2,000 for a typical house-sized system.

Example Budget: 8 kW Grid-Tied, Roof Mounted, DIY

Item Approximate cost
18 × 450 W panels (pallet pricing + freight) $2,900–$3,700
Microinverters and gateway $3,000–$4,000
Racking, flashing, clamps $1,200–$2,000
Wire, conduit, disconnects, breakers $800–$1,500
Permit, plan review, engineering letter if required $300–$1,500
Electrician for the final service connection (where required) $500–$1,500
Total ≈ $8,700–$14,200 ($1.07–$1.75/W)

A comparable professional install, at $2.50–$3.00/W, would cost about $20,000–$24,000. That gap is your pay for the work, the risk you take on, and handling your own warranty claims.

Ground Mount or Roof Mount

Roof mount pros: - No yard space used - Shorter wire runs - Less material

Section through a ground-mount solar footing and wire trench: a concrete pier carried below frost depth, and the burial cover for three wiring methods.Pier3–4 ftFrost depth10–16 in.Direct burial24 in.PVC conduit18 in.Rigid metal6 in.
A ground mount below grade, drawn to one scale. The concrete pier runs below the local frost depth, while the wire run back to the house needs far less cover: 6 inches in rigid metal conduit, 18 in PVC, 24 for direct-burial cable.

Roof mount cons: - Every penetration is a possible leak - The roof should have at least 15 years of life left, because removing and reinstalling an array runs thousands of dollars - Rapid-shutdown rules apply

Ground mount pros: - Safer to build - Easy to clean and to clear snow - You can choose the ideal angle and direction - Bifacial panels gain 5–10% from light reflected off the ground

Ground mount cons: - Uses yard space - Needs a trench and conduit back to the house - Needs foundation work

Ground-mount posts usually sit in concrete piers 10–16 inches across. The piers go below your local frost depth, often 3–4 feet in northern states. The racking manufacturer's engineering tables set the pier size from your wind and snow loads. Use the tool below to figure how much concrete the footings will need:

Concrete calculator: cubic yards and bags

Concrete in the forms: 1.23 cu yd (33.3 cu ft)

Ready-mix order with 8% extra: 1.34 cu yd

Or bagged mix: 60 × 80 lb, or 80 × 60 lb, or 120 × 40 lb

The ready-mix industry advises against small loads under 4 cu yd. Ask the plant about its minimum order and any short-load fee, or use bags.

Bags are counted from the yield printed on the bag: 0.60 cu ft for 80 lb, 0.45 for 60 lb, 0.30 for 40 lb. Post holes subtract the post.

Open the concrete calculator on its own page

Trench depth for the wire run back to the house depends on the wiring method:

  • Rigid metal conduit: 6 inches of cover
  • PVC conduit: 18 inches
  • Direct-burial cable: 24 inches under most yards (NEC Table 300.5)

Code Points That Catch DIYers

These are the problems that most often cause failed inspections and unsafe systems:

  • Maximum DC voltage: On one- and two-family homes, PV DC circuits are limited to 600 V (NEC 690.7).
  • Calculate string voltage with the panel's open-circuit voltage corrected for your record low temperature, not the label voltage. Cold makes panel voltage rise.
  • A string that looks fine on paper in July can exceed the inverter's limit on a January morning.
  • Rapid shutdown (NEC 690.12): Roof arrays must drop to 80 V or less inside the array boundary within 30 seconds of shutdown. Microinverters or panel-level shutdown devices meet this rule. A plain string inverter does not.
  • Busbar limit (the "120% rule," NEC 705.12): The main breaker plus the solar back-feed breaker can't exceed 120% of the panel's busbar rating. A 200 A panel with a 200 A main allows a 40 A solar breaker, which is about 7.6 kW of inverter output. Going larger means:
  • a supply-side (line-side) tap,
  • a main breaker derated to a smaller size, or
  • a panel upgrade.
  • Conductor sizing: Size PV circuits at 125% × 125% of short-circuit current. Then apply derating for conduit fill and for the high temperatures on rooftops.
  • Grounding and bonding: Every module frame and rail must be bonded, with listed bonding clamps or lugs. A grounding electrode tie-in is required for ground mounts.
  • Labels: The code requires specific warning placards at the service panel, at the disconnects and on conduit runs. Inspectors check for them.

How to Do It, Step by Step

  1. Pull 12 months of usage and confirm the roof's condition and shading. Check shade at 9 a.m. and 3 p.m. in December, when the sun is lowest.
  2. Call the building department and the utility. - Ask the building department whether a homeowner can pull an electrical permit. - Ask the utility about its interconnection application, its net-metering or net-billing rates, and whether it requires an external AC disconnect.
  3. Design the system: string layout, voltage at the coldest temperature, wire sizes, breaker size, and a one-line diagram. Many DIY suppliers will draw permit plans for a few hundred dollars, and the money is well spent.
  4. Submit the permit and the interconnection application. Don't buy a pallet of panels until the design is approved.
  5. Install the racking and panels. Use fall protection on any roof. Follow the flashing instructions exactly.
  6. Run conduit and conductors and set the disconnects. Keep the array covered or disconnected while you work. A panel in sunlight is always live.
  7. Make the service-panel connection, or hire a licensed electrician for this step. Some jurisdictions require one regardless.
  8. Pass the inspection.
  9. Wait for permission to operate (PTO) from the utility before you turn the system on. Turning on early can bring fines, disconnection, or the loss of net-metering eligibility.

Plug-In and Small Systems

Some states, Utah first among them, now allow small plug-in "balcony" solar units of up to about 1,200 W without the full interconnection process. Other states are considering similar laws. Check your own state's rules before buying one. Never plug a regular grid-tie inverter into a wall outlet that isn't designed for it, because the plug's prongs can be live when unplugged.

Off-grid systems for sheds, RVs and cabins at 12, 24 or 48 V are the best place to learn hands-on. Mistakes there are cheap, and the stakes are lower than on a house tied to the grid.

Common DIY Mistakes

  • Mixing MC4 connectors from different brands. "Compatible" connectors are a leading cause of arcing faults.
  • Sizing strings from the label voltage instead of the cold-corrected voltage
  • Exceeding the busbar limit and then finding out at inspection
  • Buying an off-grid-only inverter for a system that will connect to the grid
  • Leaving out drip loops and UV-rated cable ties. Standard nylon ties fail on a roof within a few years.
  • Skipping torque specs on lugs and clamps. Loose connections cause most electrical fires in PV systems.
  • Turning the system on before PTO

When to Hire a Professional Instead

Hire out the job, or at least the design and the service connection, if any of these apply:

  • The roof is steeper than 6/12, more than one story up, or tile or slate
  • The service panel is 100 A, or a brand that's been recalled or is known for problems
  • Local rules require a licensed contractor
  • You aren't comfortable working with circuits that stay live whenever the sun is up

A common middle path is to do the racking and panel install yourself and pay an electrician to make the final connection. That still captures most of the savings.

Frequently Asked Questions

Is it cheaper to build solar panels than to buy them? No. Factory modules cost less per watt than the materials you'd need to hand-build them, and they come with a listing and a 25-year warranty.

How much does a DIY home solar system cost in 2026? For a grid-tied system, about $1.07–$1.75 per watt all-in. Batteries add roughly $195–$315 per kWh of storage.

Can a homeowner legally install their own solar? In many US jurisdictions, yes, with a permit. Some states or utilities require a licensed electrician for the service connection or for the whole job. Always check before you buy.

Is there still a federal tax credit for DIY solar? Not for systems a homeowner buys and puts in service in 2026. The residential credit ended on December 31, 2025. Some state, utility and local incentives continue.

How long does a DIY system take to pay back? Without the federal credit, typical payback is about 6–12 years. It depends on your electric rate, how much sun you get, and your utility's net-metering terms. Higher rates and full retail net metering shorten it.