Disconnecting solar panels safely requires understanding that solar panels generate electricity whenever they’re exposed to light — you cannot turn panels “off” the way you turn off a light switch. Even with all breakers open and the inverter disconnected, solar panel strings remain energized as long as sunlight is hitting them. Safe disconnection uses the proper sequence of disconnects, covers, and circuit protection to isolate the panels before any maintenance or work begins.
This guide covers how to safely disconnect solar panels for maintenance, inspection, inverter replacement, or system decommissioning — and what the NEC requires.

Why Solar Panels Cannot Be Turned Off
A solar panel converts light to electricity as long as light hits the cells — there’s no electrical switch inside the panel itself that stops this process. When sunlight hits the panel, current flows regardless of what other switches or disconnects are open downstream.
This creates a critical safety consideration: the DC conductors between solar panels and the first disconnect point (inverter or combiner box) are always energized during daylight, even if every breaker in the house is open. A grid-tied residential string inverter with 10 panels may have 360V DC or higher at the panel string terminals — a serious shock hazard that requires respect and proper procedure.
NEC Article 690.12 (Rapid Shutdown) addresses this by requiring solar systems installed after 2019 to include a rapid shutdown function that de-energizes conductors within the array boundary to within 30V within 30 seconds of activating the emergency shutoff — protecting first responders and firefighters. This function is activated by the AC utility disconnect (shutting off AC power to the inverter causes the rapid shutdown system to limit string voltage at the panel level using module-level power electronics like microinverters or DC optimizers).
The Disconnect Sequence: Grid-Tied System
For a standard grid-tied residential solar system, the safe disconnection sequence is:
Step 1: Turn off the AC disconnect. The AC disconnect is typically a lockable switch near the utility meter or at the main service panel. Turning this off cuts AC power to the inverter and activates the rapid shutdown function (if the system complies with NEC 690.12 post-2019 requirements).
Step 2: Turn off the solar production meter disconnect (if present). Some utility interconnection setups include a production meter with an integrated disconnect.
Step 3: Turn off the DC disconnect at the inverter. Grid-tied string inverters have a DC disconnect switch that isolates the panel string from the inverter’s internal DC bus. This switch should be turned off after the AC disconnect — the inverter’s internal capacitors take a few seconds to discharge.
Step 4: Wait for capacitor discharge. Even with all disconnects open, the inverter contains capacitors that store charge. Wait at least 5 minutes after opening all disconnects before touching any internal inverter components. Verify with a voltmeter that DC voltage at the inverter terminals has dropped to safe levels before proceeding with maintenance.
Step 5: Cover the panels (for work requiring zero voltage). If you need to work on the array itself (replacing a panel, checking MC4 connectors), covering the panels with opaque material (a tarp, heavy black plastic sheet, or cardboard) eliminates the light source and stops electricity generation. This is the only way to get truly zero voltage at the panel terminals during daylight.

Disconnecting a System with a Battery (Hybrid System)
Hybrid systems (solar + battery storage) have an additional energy source: the battery continues to supply power even when solar production stops and even when AC utility power is cut. The disconnect procedure for a hybrid system must account for both the DC solar string and the battery bank:
Step 1: Turn off AC utility disconnect.
Step 2: Turn off DC solar disconnect at the inverter/charger.
Step 3: Turn off battery main disconnect. Most battery systems (Powerwall, Franklin aGate, Enphase IQ Battery) have a manual disconnect or circuit breaker within or adjacent to the battery unit. Turning this off isolates the battery from the hybrid inverter and the rest of the system.
Step 4: Wait for capacitors to discharge, verify voltage, then proceed with maintenance.
Disconnecting Individual Panels: MC4 Connectors
If you need to disconnect an individual panel from a string (for replacement or inspection), the procedure involves opening the MC4 connectors — the waterproof locking connectors used for DC solar wiring. Important safety notes:
Never open an MC4 connector under load. An MC4 connector separating a live string circuit can arc — creating dangerous electrical arcing between the connector contacts as they separate. Always open all upstream disconnects (DC disconnect at inverter, AC disconnect) and cover the panels before opening any MC4 connections in the string.
MC4 disconnect tools: MC4 connectors require a specific release tool (a thin probe or the MC4 release key) to unlock the locking tab before the connectors can be pulled apart. Attempting to force MC4 connectors apart without the release tool can damage the connector locking mechanism and compromise the weatherproof seal when reconnected.
Series string voltage: Panels wired in series multiply voltage — a 10-panel string of 400W panels (each ~40V Vmp) has approximately 400V DC at the string terminals. This voltage is always present at the string output even with individual panels partially covered, as long as any panels in the series string are generating power.
Decommissioning: Full System Disconnection
Permanently decommissioning or removing a solar system involves the complete disconnection sequence above, followed by:
Notifying the utility and completing any required interconnection termination paperwork (for net metering customers).
Removing the utility’s production meter or returning net metering equipment.
Having a licensed electrician remove the solar system interconnection at the main service panel — removing the solar circuit breaker and capping or removing the solar wiring.
Removing panels, racking, and all DC wiring from the roof or ground mount.
Full decommissioning should be performed by a licensed solar contractor and electrician. Attempting to remove panels without proper electrical disconnection and isolation creates serious electrocution and arc flash risk.
Frequently Asked Questions
Can I turn off my solar panels?
You cannot stop solar panels from generating electricity when exposed to light — there is no switch inside the panels. What you can do is disconnect the panels from the system using the AC disconnect and DC disconnect switches. If the system has rapid shutdown (NEC 690.12, required for systems installed after 2019), activating the AC emergency shutoff will reduce panel conductor voltage to a safe level within 30 seconds. To completely stop electricity generation at the panel level, you must also cover the panels with opaque material to block all light.
What is the solar disconnect switch?
There are typically two (or more) disconnect switches in a residential solar system: the AC disconnect (between the inverter and the utility grid — may be integrated into the service panel as a dedicated circuit breaker, or a separate lockable switch) and the DC disconnect (between the solar array and the inverter — usually a switch on or adjacent to the inverter). Rapid shutdown switches (required after 2019) may be a combined AC shutoff or a dedicated emergency button. Some systems also have combiners with individual string fuses or disconnects.
Is it dangerous to disconnect solar panels?
It can be dangerous if done incorrectly. Solar panels generate dangerous DC voltage (200–600V+ for residential string systems) whenever exposed to light. Never open MC4 connectors or disconnect wiring in an energized string without first opening all upstream disconnects and covering the panels. Never touch the internal components of an inverter immediately after opening disconnects — internal capacitors hold dangerous charge for several minutes. For any work beyond routine observation, hire a licensed solar service technician.
How do I turn off my solar system in an emergency?
Most grid-tied residential solar systems with rapid shutdown (post-2019 installation) have an emergency shutoff — either a red button labeled “Solar PV System Shutoff” near the utility meter, the main service panel, or a dedicated shutoff switch per NEC requirements. Activating this limits the solar array conductors to 30V within 30 seconds. For older systems without rapid shutdown, turning off the main AC utility disconnect and the inverter DC disconnect are the primary emergency steps — but the panel conductors between the panels and DC disconnect remain energized at full voltage until covered.
Can I disconnect my solar panels from the grid?
Grid-tied inverters include anti-islanding protection — they automatically disconnect from the grid when grid power fails, preventing the solar system from energizing grid conductors during an outage. You can disconnect from the grid by turning off the AC disconnect between the inverter and the utility service. However, without a battery system and a hybrid inverter capable of island mode, simply disconnecting from the grid means your solar panels will also stop producing usable power (the grid-tie inverter requires grid reference voltage to operate). To use solar power independently of the grid, you need a battery + hybrid inverter or off-grid system.
Summing Up
Solar panels cannot be turned off while exposed to light — they continuously generate electricity from photons. Safe disconnection uses the proper sequence: AC disconnect first (which activates rapid shutdown on post-2019 systems), then DC disconnect at the inverter, then wait for capacitors to discharge. For work on the array itself, covering panels with opaque material eliminates generation at the panel level. Never open MC4 connectors in an energized string. Hybrid systems require additional battery disconnect steps. For anything beyond routine observation of the system, engage a licensed solar service technician — the DC voltages in residential solar systems are genuinely dangerous and deserve respect.
Updated

