This is one of the more hands-on questions in solar: how do you actually wire panels through a charge controller to a battery? It comes up most for off-grid and DIY setups — a cabin, a campervan, a shed — where you’re building a self-contained DC system rather than a grid-tied install. The good news is the circuit order is logical and consistent. The important news is that there’s a clear line in New Zealand between what’s legal to do yourself and what isn’t. Here’s both.

What a charge controller does, briefly

In a battery-based solar system, you can’t just wire panels straight to a battery — the panel voltage is wrong for charging and would damage the battery. The charge controller sits between them: it takes the variable power from the panels and delivers it to the battery at the correct voltage and current, protecting the battery from overcharging. (There are two types — MPPT and PWM — covered in MPPT vs PWM charge controllers.)

The wiring order

A solar charge-controller circuit goes together in a specific sequence, and the order matters for both function and safety:

Solar array → DC isolator → charge controller → battery (with fusing and an isolator on the battery side too).

Walking through it:

  1. The array (panels wired in series and/or parallel to suit the controller’s input) feeds the system.
  2. A DC isolator between the array and controller lets you safely disconnect the panels — essential, since panels can’t be switched off and are live whenever there’s light.
  3. The charge controller regulates the panel power and feeds it to the battery.
  4. The battery bank, connected through its own fuse or breaker and isolator, so it too can be disconnected and is protected against a fault.

A couple of golden rules run through the whole job: correct polarity everywhere (reversing positive and negative can destroy the controller instantly), and appropriate fusing on both the array and battery sides to protect against short circuits. There’s also a recommended order for connecting and disconnecting — typically the battery is connected to the controller before the panels — to protect the electronics.

The crucial New Zealand legal line

Here’s what you must know before touching any of this. New Zealand law draws a sharp line based on voltage and grid connection:

  • A self-contained off-grid system running at extra-low voltage (ELV — generally 50 V AC or 120 V DC and below), not connected to the mains, is broadly more open for a competent person to work on themselves — think a small 12 V or 24 V cabin, caravan, or boat setup.
  • Anything that connects to your home’s mains wiring, or is grid-tied, or runs at higher voltages, is prescribed electrical work that must be done by a registered electrician who issues a Certificate of Compliance.

So a small ELV off-grid DC circuit may be legal to build yourself; connecting solar to your house is not. And “legal” doesn’t mean “safe to do carelessly” — even ELV systems carry real fire and battery hazards (especially lithium), so the battery installation standard (AS/NZS 5139) and good practice still apply. If in any doubt, get an electrician. (See DIY solar — what’s legal.)

Why the order and the rules matter

Wiring a charge-controller circuit isn’t hard to understand, but the details — polarity, fusing, isolation, connection order — are what stand between a working system and a fried controller, a damaged battery, or a fire. The sequence exists for safety as much as function. Respect the legal limits, respect the polarity and fusing, and an off-grid DC circuit is a logical, reliable thing; get casual with any of them and it bites.

The verdict

The wiring order for a solar charge-controller system is array → DC isolator → charge controller → battery, with correct polarity and proper fusing and isolation on both sides. For a small, self-contained extra-low-voltage off-grid setup, a competent person may legally build it themselves in New Zealand — but anything touching the mains or grid-tied is electrician-only prescribed work, and even legal DIY carries real hazards. Know which side of that line you’re on before you start.

Get a free assessment and we’ll help you design a system that’s safe, legal, and right for your site.

Sources: Charge-controller wiring sequence and fusing per manufacturer and industry guidance; ELV vs prescribed-work limits per New Zealand electrical regulations (EWRB / Electricity (Safety) Regulations); battery install per AS/NZS 5139. Verify current rules before any DIY work.

See your own payback
A free, personalised assessment for your home — no obligation.
Free assessment