How to Hook Up Solar Panels to Batteries: An Installer's Guide

PES Supply, a PES Global Group Company
· 14 min read Reviewed by PES Supply editorial team
Solar charge controller and battery bank wired to a small off-grid solar array

Table of Contents

    Hooking solar panels to batteries is the project that separates people who read manuals from people who buy replacement charge controllers. The concept is simple — panels feed a controller, the controller feeds a battery bank, an inverter turns stored DC into household AC. The details are where systems live or die: wire gauge, fuse placement, charge voltage setpoints, and the order in which you connect things. We've helped thousands of off-grid and backup builds through the equipment side, and the failures are always the same handful of mistakes. This guide walks the full build the way we'd spec it across the counter, with the NEC references and the math included.

    A technician inspecting solar panels on a rooftop, symbolizing the first step in setting up a solar energy system.

    Safety up front: battery banks store enough energy to weld a dropped wrench to a terminal, and PV strings at 400V DC do not forgive. If any step here exceeds your comfort with electrical work, that step is where you hire a licensed electrician. The solar installation guide and battery installation guide cover the broader system context.

    Understanding Your Core Solar Components

    The Four Pillars of Your System

    Every solar-plus-storage system, cabin-scale to whole-home, has the same four organs: the array (panels), the charge controller (the brain that protects the batteries), the battery bank (the tank), and the inverter (the translator to AC). Undersize any one and the others can't compensate — a giant array on a small controller clips production, a huge bank on a small array never charges fully in winter, and a small inverter trips while the batteries sit full.

    Essential Components and Their Functions

    Component Primary Function Key Specification to Check Example Brands We Stock
    Solar panels Convert sunlight to DC power Wattage, Voc (for controller input limits), temperature coefficient JA Solar, Trina, REC
    Charge controller (MPPT) Regulates array output into proper battery charging; prevents overcharge Max input voltage, max charge current, battery chemistry profiles Victron, MidNite, Morningstar
    Battery bank Stores energy for night and cloudy days Usable kWh, chemistry (LiFePO4 vs AGM), cycle life, BMS quality EG4, Fortress, SimpliPhi, Trojan
    Inverter (or inverter/charger) Converts battery DC to 120/240V AC Continuous + surge watts, waveform (pure sine only), idle draw Sol-Ark, EG4, OutBack, Magnum

    Sizing Your System for Real-World Demands

    Infographic about how to hook up solar panels to batteries

    Calculating Your Battery Needs

    Battery sizing starts from the load list, not the panel count. Tally daily consumption in kWh (the full method is in our power consumption guide), decide days of autonomy — 1 day for grid-tied backup, 2–3 days for off-grid — then divide by usable depth of discharge. LiFePO4 delivers 90–95% of nameplate routinely; AGM and flooded lead-acid should be planned at 50% to preserve cycle life. Worked example: a cabin using 5 kWh/day with 2 days of autonomy on LiFePO4 needs 5 × 2 ÷ 0.9 ≈ 11.1 kWh — a 48V, 230Ah bank, which in practice means two 10 kWh-class rack modules or three 48V 100Ah units. The same load on AGM needs 20 kWh of nameplate — double the footprint, double the weight, and a shorter service life, which is why LiFePO4 has taken over the market.

    Daily Load Autonomy Chemistry Required Nameplate Capacity Typical Configuration
    2 kWh (weekend cabin) 2 days LiFePO4 ~4.5 kWh One 48V 100Ah module or a 5 kWh unit
    5 kWh (full-time off-grid cabin) 2 days LiFePO4 ~11 kWh Two 10 kWh-class modules
    10 kWh (efficient home) 1.5 days LiFePO4 ~17 kWh Three to four rack modules; 15–30 kWh systems
    10 kWh (efficient home) 1.5 days AGM ~30 kWh Large, heavy, rarely sensible in 2026 — shown for contrast
    20 kWh (all-electric home backup) 1 day LiFePO4 ~22 kWh Whole-home systems: 20 kWh+ batteries

    Matching Solar Panels to Your Battery Bank

    The array must refill the bank on an average day, with margin. The field rule: array watts ≈ daily Wh ÷ local peak sun hours × 1.2 (loss factor for heat, wiring, controller efficiency). For 5 kWh/day in a 3.5-peak-sun-hour climate: 5,000 ÷ 3.5 × 1.2 ≈ 1,715W — call it 2 kW, which is five 400W panels. Undersizing the array is the most common off-grid failure mode we see; a battery that never reaches 100% state of charge sulfates (lead-acid) or drifts out of balance (lithium without a full charge to trigger BMS balancing), and both die young. When in doubt, add a panel — modules are the cheapest component in the system.

    Wiring Your Solar Panels and Charge Controller

    Series vs. Parallel Wiring Explained

    Series wiring adds voltage, keeps current constant: two 40V/11A panels in series make 80V/11A. Parallel wiring adds current, keeps voltage constant: the same two in parallel make 40V/22A. Series strings are the default for MPPT systems because higher voltage means smaller wire and less loss over distance — but string voltage has a hard ceiling: your controller's maximum input voltage, checked at the coldest recorded local temperature, because Voc rises as temperature drops. A string reading 380V on a mild day can push 430V+ in a hard freeze and cook a 450V-rated controller. Always run the cold-temperature Voc math before landing the wires.

    Configuration Result When to Use It Watch Out For
    Series (string) Voltages add, current constant MPPT controllers, long wire runs, most residential arrays Cold-weather Voc ceiling; one shaded panel drags the string
    Parallel Currents add, voltage constant PWM systems, small 12/24V arrays, mixed-orientation panels Thicker wire required; fusing per string above 2 strings
    Series-parallel Both scale in blocks Larger arrays on high-voltage MPPT controllers Match string lengths exactly; fuse each parallel string

    An NEC-Compliant Checklist for Professionals

    The code articles that govern this build: NEC 690 (PV systems — wiring methods, disconnects, rapid shutdown where required, grounding), NEC 706 (energy storage systems — the home of battery-specific rules), NEC 480 (storage batteries), NEC 240 (overcurrent protection — fuse and breaker sizing), NEC 250 (grounding and bonding), and NEC 310.16 (conductor ampacity). The non-negotiables we check on every build: a listed disconnect within sight of the battery bank, overcurrent protection on every ungrounded conductor leaving the battery (fuses at the battery end of the cable run, not the inverter end), conductors sized at 125% of maximum continuous current, and proper labeling at every disconnect and junction. Our NEC compliance guide expands each article.

    Connecting The Battery Bank and Inverter Safely

    A close-up of a technician's hands carefully tightening the terminals on a large lithium-ion battery, showing the precision required for safe connections.

    Cable Sizing and Overcurrent Protection

    Battery-to-inverter cable is where DIY builds most often go wrong, because 12V systems pull astonishing current: a 2,000W inverter at 12V draws ~167A continuous, which after the 125% NEC factor means a 208A-rated conductor and fuse — 4/0 copper territory. The same inverter at 48V draws 42A and runs happily on 6 AWG. This is the single best argument for 48V battery banks on anything above 1,500W of inverter.

    Wire Gauge and Fuse Sizing Reference

    System Amperage (Amps) Recommended Wire Gauge (AWG, Cu, 75°C per NEC 310.16) Required Fuse/Breaker Size (NEC 240.6 standard)
    Up to 28A continuous 8 AWG 40A
    Up to 40A continuous 6 AWG 50A
    Up to 52A continuous 4 AWG 65–70A
    Up to 68A continuous 2 AWG 85–90A
    Up to 92A continuous 1/0 AWG 110–125A
    Up to 120A continuous 2/0 AWG 150A
    Up to 160A continuous 4/0 AWG 200A

    Fuse types matter: use Class T fuses for lithium battery banks — their interrupt rating (up to 200,000A) is what actually stops a dead short across a LiFePO4 bank, where ANL and Mega fuses can arc over and fail to clear. Class T holders and fuses are in our fuses section, and proper lugs, heat shrink, and battery cable are under wire & cable.

    Final Connections and Terminal Torque

    The connection order is a safety sequence, not a suggestion: battery bank fully assembled and fused → charge controller connected to the battery FIRST (so it boots and detects system voltage) → then PV array to controller → then inverter to battery via its own fuse and disconnect → AC loads last. Reverse order on shutdown. Torque battery terminals to the manufacturer spec — typically 8–12 N·m (roughly 70–105 in-lb) on M8 rack-battery terminals, marked on quality equipment — with a calibrated torque wrench, not a calibrated wrist. I've seen a loose battery lug heat to the point of melting its terminal insulator on a 100A load; the resistance of a sloppy connection turns amperage into a space heater. After the first week of operation, re-torque everything once; copper creeps.

    Commissioning Your System and Avoiding Common Pitfalls

    Programming Your Charge Controller

    Charge parameters must match the battery manufacturer's datasheet, not generic defaults. Typical 48V (51.2V nominal) LiFePO4 setpoints: absorption/bulk 56.0–56.8V, float 54.0–54.4V (or float disabled), temperature compensation OFF for lithium, equalization NEVER. AGM: absorption 57.6V, float 55.2V, temp compensation enabled. Flooded: similar to AGM with monthly equalization per the battery maker. Wrong setpoints are silent killers — chronic undercharge unbalances lithium banks; overcharge vents and ages lead-acid. Victron's SmartSolar MPPT line and MidNite controllers like the MNEMS4448 make this a five-minute menu job with per-chemistry presets; verify the preset values against your battery datasheet anyway.

    Choosing Your System Voltage: 12V, 24V, or 48V

    A solar installer using a tablet to monitor and commission a newly installed solar battery system, ensuring all parameters are correct.

    System voltage is the first design decision and the one that's painful to change later. The physics are simple: for the same power, doubling voltage halves current, and current is what sizes your wire, fuses, and controller cost. A 12V bank suits RVs, vans, and small marine systems up to about 1,000W of inverter — beyond that, the amperage demands cable thick as your thumb. A 24V bank stretches to roughly 2,000W and remains common in boats and legacy RVs. A 48V bank is the modern default for cabins and homes: a 5,000W inverter draws a manageable ~104A, charge controllers push twice the array watts through the same amp rating (a 60A controller manages 3.4 kW of array at 48V versus 850W at 12V), and the rack-battery ecosystem — 48V batteries, hybrid inverters, pre-wired power centers — is built around it. If you're building anything meant to power a dwelling, start at 48V. Nobody has ever messaged us wishing they'd chosen a lower system voltage.

    MPPT vs. PWM: The Controller Decision

    PWM controllers are switches that connect the array to the battery directly — cheap, durable, and wasteful, because a 36V-array on a 12V battery through PWM discards the voltage difference as unused potential, throwing away 30%+ of the array's capability. MPPT controllers are DC-DC converters that track the array's maximum power point and transform excess voltage into additional charging current — routinely harvesting 20–30% more energy than PWM from identical panels, and enabling high-voltage strings with thin wire. The rule in 2026 is simple: PWM survives only in tiny systems (a single panel on a gate opener or boat); anything with 400W+ of array earns back the MPPT price difference within the first year of recovered energy. Our charge controller catalog spans both, and the MPPT vs. PWM deep dive runs the numbers side by side. For mid-size banks, 60A-class units (60A controllers) cover most cabin builds; whole-home arrays step up to 100A units or multiple controllers.

    Grounding and Bonding: The Unsexy Safety Layer

    Every metal chassis — panel frames, racking, controller, inverter case — bonds to a common equipment grounding system, and the system gets one (and only one) ground reference point per NEC 250. Panel frames ground through listed racking hardware (integrated bonding clamps and lugs from lines like IronRidge and Unirac), not sheet-metal screws into aluminum. The battery negative or positive bond depends on system design — most modern 48V equipment expects a negative-ground architecture — and mixing grounding philosophies between components creates the kind of fault current paths that damage equipment in ways warranties don't cover. When in doubt, follow the inverter manufacturer's grounding diagram exactly; they wrote it to satisfy both the NEC and their own protection circuitry. Our grounding and bonding guide walks the full detail.

    Maintenance: Keeping the System Alive for Decades

    Solar-plus-storage is low-maintenance, not no-maintenance. Monthly: glance at the controller's harvest numbers against your baseline — a 20% unexplained drop means shading, soiling, or a failing string. Quarterly: check terminal torque on the battery bank's main connections (thermal cycling loosens lugs), inspect cable jackets for chafe where they pass through conduit, and verify the enclosure vents are clear. Annually: wash the array (soiling costs 3–7% in dusty regions, more near gravel roads), exercise every disconnect so it doesn't seize, and review battery state-of-health through the BMS data. Flooded lead-acid adds monthly electrolyte checks with distilled water only. Lithium banks mostly ask to be kept between 32°F and 113°F and charged fully often enough for the BMS to balance — once a week minimum, and daily in normal service. The battery life extension guide has the full maintenance calendar.

    Hybrid Inverter/Chargers: The Modern Shortcut

    Everything described above as four separate boxes increasingly ships as one: hybrid inverter/chargers combine the MPPT controller, battery charger, inverter, and automatic transfer switch in a single UL-listed unit. A Sol-Ark or EG4-class hybrid (see hybrid inverters and pre-wired inverter packages) takes the array on its PV inputs, the battery on its DC terminals, the grid or generator on its AC input, and the loads on its output — with the changeover logic, charge programming, and monitoring already integrated. For whole-home backup this is now the default architecture: fewer boxes, fewer cable runs, one warranty conversation. The trade-off is a single point of failure and a higher ticket; for cabins and modular builds, discrete components still make sense because you can replace the controller without replacing the inverter.

    Cold-Weather and Hot-Weather Notes

    Temperature cuts both ways in this system. Cold boosts PV output (panels love clear, freezing days) but freezes lithium charging — LiFePO4 cells must not be charged below 32°F/0°C, which is why quality batteries carry low-temperature charge cutoffs and why rack batteries belong indoors or in heated enclosures. If the bank must live in an unheated space, heated battery boxes or self-heating battery models solve it; skipping that detail is how people kill a $4,000 bank in one January night. Heat is the quieter enemy: battery cycle life roughly halves for every 15°F above 77°F sustained, and charge controllers derate in hot enclosures. Ventilate the battery room, shade the inverter, and give every box its clearance specs — the manuals' installation diagrams exist because the thermal testing did.

    The Commissioning Sequence

    First power-up checklist, in order: verify polarity with a meter before touching any terminal (reversed polarity on a charge controller is usually fatal to the controller). Confirm bank voltage reads as expected. Connect the controller to the battery; confirm it boots and reads the correct system voltage. Program the charge profile. Land the PV array with the string disconnect open, verify string Voc against the cold-weather calculation, then close the disconnect in full sun and watch the controller sweep to charging. Connect the inverter, test with a small resistive load first (a lamp, not the well pump), then step up. Log baseline numbers: charge voltage achieved, array watts at solar noon, inverter output under load. Those baselines turn every future troubleshooting session into a comparison instead of a guessing game.

    The Pitfalls We See Most

    Mixed battery ages or chemistries in one bank — never parallel a new battery with a two-year-old one; the weak unit drags the strong one down to its level. Missing battery-end fuses, because "the inverter has a breaker" — the cable between battery and inverter is the unfused fire path. Undersized arrays that never finish a charge cycle. Controllers programmed to "lithium" while connected to AGM. And my personal repeat offender: MC4 connectors crimped with pliers instead of a proper crimper, which work loose and arc. Every one of these is free to avoid and expensive to learn.

    Two more that deserve naming. Voltage drop denial: long 12V runs sized by ampacity tables but not by voltage drop arrive at the inverter sagging under load, and the inverter alarms or shuts down at the worst moment — for runs over 10 feet at 12V or 24V, calculate drop (V = 2 × length × current × resistance per foot) and upsize until drop stays under 3%. And documentation amnesia: label every cable at both ends the day you install it. Three years later, when you're adding a second inverter at midnight, the labeled system is a joy and the unlabeled one is a trace-every-wire-with-a-toner weekend.

    Related Resources

    Need Help Sizing This?

    Our team can help you calculate loads, select the right equipment, and source everything from one PO.

    📞 (502) 790-0600

    Email Our Team
    Solar Panels Generators Batteries / ESS EV Chargers Circuit Breakers Charge Controllers

    One PO. One Invoice. Every Trade Covered.

    PES Supply is the distribution arm of PES Global Group — 50,000+ SKUs from 169 authorized brands, LTL freight shipping from Louisville, KY.

    Get a Quote
    Share: X f in @

    Related Articles

    EPA Section 608 certification exam types and passing scores chart — PES Supply

    EPA Section 608 Certification: Complete Study Guide (Type...

    Aug 30, 2026

    R-410A Phase-Down 2026: What HVAC Contractors Need to Know

    Aug 29, 2026
    N-Type vs TOPCon vs HJT Solar Panels: Which Technology Is Best in 2026?

    N-Type vs TOPCon vs HJT Solar Panels: Which Technology Is...

    Aug 26, 2026
    How Many Solar Panels Do I Need for 10,000 kWh Per Month? - The Complete 2026 Guide

    How Many Solar Panels Do I Need for 10,000 kWh Per Month?...

    Aug 26, 2026
    Solar + Battery Storage: The Complete 2026 Guide for Homeowners

    Solar + Battery Storage: The Complete 2026 Guide for Home...

    Aug 24, 2026
    Commercial rooftop solar panels at sunset with American flag — ITC safe harbor and commence-construction rules for 2026

    ITC Safe Harbor & Commence-Construction: What Solar Buyer...

    Aug 17, 2026
    Solar panel modules stacked at a U.S. port facility with customs documentation overlay, representing Section 232 tariff compliance for solar imports

    Section 232 Solar Tariffs & Minimum Import Prices: The De...

    Aug 14, 2026
    Close-up of an electrical breaker panel with a licensed electrician testing circuits with a multimeter

    How to Size Circuit Breakers: NEC 125% Rule (2026)

    Aug 12, 2026
    Container port at golden hour with crane lifting crated solar panels over the dock

    Solar Module Sourcing in 2026: Regional Costs, Tariff Sta...

    Aug 09, 2026
    Pallets of stacked solar modules in a bright distribution warehouse with forklift and conduit racks

    Module Prices Hit $0.34/W — So Why Did Your Commercial Qu...

    Aug 08, 2026
    Two installers finishing a residential rooftop solar installation at sunset

    The Safe Harbor Deadline Passed. Here's What Actually Hap...

    Aug 07, 2026
    Worker in cleanroom suit inspecting a silicon ingot at a solar polysilicon factory, shipping containers beyond the window

    Section 232 Polysilicon Tariffs Hit Solar: What August 20...

    Aug 06, 2026
    Technician's hands with clipboard and tablet inspecting a home standby generator, shallow depth of field

    Generac Generator Warranty Explained: 5, 7, and 10-Year E...

    Aug 03, 2026
    Residential standby generator installed beside a modern suburban home's electrical service panel at golden hour

    Whole Home Generator Sizing Guide 2026: How Many kW Do Yo...

    Aug 03, 2026
    Wall-mounted home battery storage unit installed in a garage beside a solar inverter

    Battery Storage Incentives by State: 2026 Rebate Programs...

    Jul 30, 2026
    Rows of solar panels in a distribution warehouse, tied to 2026 supply and pricing trends

    Solar Market Outlook H2 2026: Panel Prices, Supply Chain,...

    Jul 29, 2026
    Imported solar panels in shipping crates at a port, subject of 2026 tariff updates

    Solar Industry Tariff Updates: What Installers Need to Kn...

    Jul 27, 2026
    A city skyline at dusk with glowing windows and power transmission lines in the foreground

    Growing Electricity Demand: Why Energy Policy Reform Is M...

    Jul 24, 2026
    A technician installing a wall-mounted mini-split heat pump indoor unit in a bright modern living room

    Mini Split Installation Cost (2026): Equipment, Labor & E...

    Jul 23, 2026
    Solar panels elevated over green farmland with sheep grazing beneath

    Harnessing the Sun and Soil: How Agrivoltaics is Revoluti...

    Jul 21, 2026
    A showroom display of several brand-new black solar panel models angled on stands

    Newest Solar Panels in 2026: Latest Models from Leading U...

    Jul 18, 2026
    From the Field: A Master Electrician's Guide to Solar Commissioning

    From the Field: A Master Electrician's Guide to Solar Com...

    Jul 15, 2026
    A home energy storage system with a smart meter showing zero grid flow

    How Can a Residential ESS Achieve 0W Grid Flow?

    Jul 14, 2026
    Close-up of an automatic transfer switch panel with conduit in a residential utility room

    How Automatic Transfer Switches Work

    Jul 12, 2026
    A large residential rooftop fully covered with solar panels on a sunny day

    Solar Panels for 10,000 kWh/Month: 2026 Sizing Guide

    Jul 06, 2026
    7 Benefits of Switching to Commercial Solar Energy

    7 Benefits of Switching to Commercial Solar Energy

    Jun 30, 2026
    2026 H1 Solar Industry Recap: Record Installations, Tariff Uncertainty, and Storage Dominance

    2026 H1 Solar Industry Recap: Record Installations, Tarif...

    Jun 30, 2026
    How to Successfully Implement Solar Energy in Your Business

    How to Successfully Implement Solar Energy in Your Business

    Jun 30, 2026
    Three different solar panel types displayed side by side on stands outdoors

    The Main Types of Solar Panels: Which Should You Choose?

    Jun 26, 2026
    After Nearly 20 Years, America's Biggest Clean Energy Project Is Finally Operational

    America's Largest Clean Energy Project Goes Live After Ne...

    Jun 26, 2026
    Procurement Strategy: How to Navigate Solar Equipment Sourcing in 2026

    Procurement Strategy: How to Navigate Solar Equipment Sou...

    Jun 15, 2026
    A friendly solar consultant shaking hands with a homeowner on a sunny driveway

    How to Find Local Solar Companies Near Me

    Jun 14, 2026
    How Long Do Solar Panels Last? (2026 Guide)

    How Long Do Solar Panels Last? (2026 Guide)

    Jun 14, 2026
    A homeowner in conversation with a solar consultant on a sunny driveway

    What Questions Should I Ask My Solar Company?

    Jun 14, 2026
    A homeowner on the porch of a solar-equipped suburban home reviewing an energy bill

    Is Solar Worth It for My Home?

    Jun 10, 2026
    A homeowner and contractor reviewing permit paperwork on a clipboard in front of a house with new solar panels

    What Are Solar Permits and How Long Do They Take?

    Jun 07, 2026
    A homeowner at a kitchen table with a calculator and solar quotes

    Solar Panel Cost in 2026: What You'll Actually Pay

    Jun 06, 2026
    How Much Money Can I Save With Solar Panels?

    Solar Panel Savings in 2026: Real Numbers by State

    May 30, 2026
    The New York State Capitol area skyline with rooftop solar installations in the foreground

    New York Boosts Solar Investment in 2027 State Budget

    May 29, 2026
    A compact modular microinverter unit being mounted beneath rooftop solar panels by an installer

    Mango Power modular microinverter hits US residential sol...

    May 29, 2026
    A futuristic solar panel manufacturing facility with robotic arms and rows of new modules

    How Tesla Plans to Scale Solar Production to 100GW by 2028

    May 25, 2026
    A vast Australian solar farm with rows of panels and large battery storage containers

    NSW Seeks 2.5 GW Renewable Capacity, 12 GWh Storage Under...

    May 21, 2026
    Solar Workforce Crisis 2026: Installer Shortage, Training Programs, and Electrician Demand

    Solar Workforce Crisis 2026: Installer Shortage, Training...

    May 15, 2026
    Cows grazing in a green alpine pasture beneath elevated solar panels

    Nestlé Launches Agri-PV “Cow Solar” Project in Allgäu, Bl...

    May 04, 2026
    A row of suburban homes with rooftop solar and small battery cabinets

    FranklinWH Systems to Launch First U.S. City-Owned Reside...

    May 01, 2026
    Three sleek white home battery units wall-mounted in a row in a modern garage

    Tesla Expands Energy Solutions with Three-Phase Powerwall 3P

    Apr 26, 2026
    Solar panel canopies over a California school campus parking lot

    School District in California Deploys 3.1 MW Solar System...

    Apr 14, 2026
    The Future of Solar: 7 Breakthrough Technology Trends in 2026 — Portlandia Electric Supply

    The Future of Solar: 7 Breakthrough Technology Trends in ...

    Apr 12, 2026
    Trainees in safety vests learning solar panel installation at a training facility

    New York Boosts Renewable Workforce Funding with $50 Mill...

    Apr 05, 2026
    Pallets of wholesale solar panels stacked in a warehouse for EPC and installer buyers

    Wholesale Solar Panels: The Complete B2B Procurement Guid...

    Mar 13, 2026

    Get Price Drops & Product Releases

    Weekly digest for installers and project managers — price drops, new stock, NEC code updates.

    PES Supply, a PES Global Group Company