WiringSafetyDIY Solar

How to wire a solar system safely (fuses, gauge, and grounding)

The wiring and safety basics every DIY solar build needs — correct wire gauge, where to put fuses and breakers, busbars, and the mistakes that start fires.

Rival Energy Editors · January 14, 2026

Wiring is the part beginners rush and pros obsess over — because it’s where a solar build either becomes safe and reliable or becomes a fire risk. Low-voltage DC won’t shock you like household AC, but a 100Ah battery can dump hundreds of amps into a short and melt a wrench. Respect it, follow these basics, and you’ll be fine.

This is an educational overview, not a code manual. High-current DC and any household AC wiring carry real risk — follow your local code and bring in a licensed electrician where one is required.

Rule 1 — Fuse everything, close to the source

Every wire that leaves a power source needs protection sized to that wire, placed as close to the source as possible:

  • A main fuse or breaker within inches of the battery positive terminal. This is the most important fuse in the system.
  • A fuse on each panel string (or a combiner with fuses) so one faulted panel can’t back-feed the others.
  • A fuse between the charge controller and battery, and between the battery and inverter.

The fuse protects the wire, not the device — its job is to blow before the wire overheats.

Rule 2 — Size the wire to the current and distance

Undersized wire is the classic beginner mistake. Too-thin wire heats up, drops voltage, and can catch fire. Two factors set the gauge:

  • Current (amps): higher current needs thicker wire (lower AWG number).
  • Distance: longer runs lose more voltage, so they need thicker wire too.

Use a wire-gauge/voltage-drop chart for your exact amps and run length, and round up rather than down. Battery-to-inverter cables in particular are short, fat, and carry huge current — don’t guess. For panel runs, pre-made 10 AWG solar cable with MC4 ends covers most typical arrays.

Rule 3 — Use a busbar, not a daisy chain

When several things connect to the battery — controller, inverter, DC loads — don’t stack ring terminals on the battery post. Run one heavy cable to a pair of busbars (positive and negative) and connect everything there. It’s cleaner, safer, and makes fusing each branch easy. For low-current 12V branches, lever connectors keep lighting and sensor runs tidy.

Rule 4 — Get your connections tight and correct

  • Crimp, don’t just twist. Loose or corroded connections create resistance, heat, and voltage drop. Use proper lugs and a real crimper on big cable.
  • Polarity matters. Reversing positive and negative can destroy a controller or inverter instantly. Double-check before energizing.
  • Torque the terminals. Loose battery lugs are a top cause of melted terminals.

Rule 5 — Know your true state of charge

Wiring isn’t just power — it’s information. Install a shunt-based battery monitor on the negative side, with all loads and charging passing through the shunt. Voltage alone lies about how much capacity you have left; a shunt tells the truth.

A safe order to energize

  1. Wire the battery to the controller (battery side first, per your controller’s manual).
  2. Then connect the panels to the controller.
  3. Then add loads and the inverter, each fused.
  4. Verify polarity and fusing before every new connection.

The bottom line

Fuse close to the source, size wire to the current and run length, use busbars, make tight correct connections, and monitor with a shunt. Do those five things and your build is safe. Next, make sure your parts are sized right in the first place — here’s the method — or see the whole build in our complete DIY home solar guide.