Skip to content

Solar advice/Batteries and the grid

Do solar panels work during a power cut in Spain?

A standard solar system switches off when the grid goes down, even in full sun. Why that is, what a back-up system does differently, and what to decide before the next power cut.

By the Sunrise Energy teamUpdated 3 min read

A standard grid-connected solar system switches off when the grid goes down, even on a sunny day. The panels still receive light, but the inverter stops supplying the house. That surprises many owners the first time it happens. Keeping power during a cut is possible, but only with a system designed for it: a battery, an inverter that can run the house on its own, and a switch that separates the house from the grid.

Why a normal system switches off

When the grid fails, the lines in the street are meant to be dead so that technicians can repair them safely. If solar systems kept feeding power into those lines, they could be live. So every grid-connected inverter watches the grid constantly and disconnects within moments when it disappears or goes out of range. This is called anti-islanding protection. In Spain the low-voltage regulations require it (ITC-BT-40 of the REBT), inverters are tested for it, and it is built in.

When the grid returns and stays stable, the inverter reconnects on its own after a short wait. You do not need to do anything.

Three kinds of system, three outcomes

Panels only

The system switches off with the grid. The house is without power like the neighbours’, until the grid returns.

Panels and battery, no back-up

This one catches people out. The battery is there, perhaps full, but the system still switches off, because it has no way to separate the house from the grid safely. A battery alone is not back-up.

Panels, battery and back-up

A back-up system has an inverter that can form its own small grid for the house, and a switch, sometimes called a changeover or back-up box, that disconnects the house from the public grid first. Spanish rules allow a home system to run on its own like this for its own use, as long as it never feeds the public grid while it does. Then the battery, and in daylight the panels, supply the circuits connected to the back-up. When the grid returns, the house is reconnected.

One customer wrote about exactly this set-up:

“A special switch box that makes sure the power keeps coming from the batteries during a power cut. Very important. Without this switch you have nothing during a power cut!”
Jan W., San Miguel de Salinas, Google review, translated from Dutch

What back-up covers

Back-up is designed, not automatic. Things to decide with your installer:

  • Which circuits. Usually essentials: fridge and freezer, lights, router, alarm, a few sockets, perhaps a water pump. Large loads like air conditioning, an oven or an electric car charger are often left off, because they would empty the battery fast or exceed what the inverter can deliver.
  • How long. As long as the stored energy lasts, plus whatever the panels add in daylight.
  • How fast it switches. Some systems switch within a fraction of a second, others take longer. A short gap can restart sensitive equipment.

After a large blackout

The blackout that hit mainland Spain and Portugal on 28 April 2025, with power largely back by the early hours of the next day, made many people ask this question for the first time. Systems without back-up switched off, as they are designed to. A back-up system is built for exactly that situation: it keeps the circuits wired to it running for as long as the battery allows.

Adding back-up to an existing system

It depends on the inverter you have. Some hybrid inverters have a back-up output that only needs the switch and wiring; others need a different inverter or a separate battery inverter with back-up. We look at what is on your wall and tell you what is possible. For the question of whether a battery pays off at all, see do you need a solar battery in Spain. For how a grid-connected system works day to day, see how self-consumption works.

If back-up matters to you, say so when you ask for a quote, and tell us what you want to keep running.

Grid-tied, hybrid or back-up

What happens in a power cut

Panels only

During the cut
Switches off
In daylight
No power from the panels
At night
No power
When the grid returns
Restarts by itself
Needs
Nothing extra

Panels and battery

During the cut
Switches off
In daylight
No power from the panels
At night
No power
When the grid returns
Restarts by itself
Needs
Nothing extra

Panels, battery and back-up

During the cut
Selected circuits keep running
In daylight
Panels help supply and recharge
At night
From the battery while it lasts
When the grid returns
Reconnects by itself
Needs
Suitable inverter, switch and wiring

What a back-up system covers depends on the circuits it is wired to.

Emergency checklist

Before the next power cut

  • Find out whether your system has back-upAsk us if you are not sure
  • If it does, know which circuits are on itLabel them in the electrical panel
  • Keep heavy loads off during a cutSo the battery lasts longer
  • Keep a torch where you can find itBack-up can take a moment to switch
  • Never try to connect a generator to the house wiring yourself

Frequently asked questions

Sunrise Energy

Ask me anything about going solar here, or pick one of these.

More questions

Answers come from our own frequently asked questions, written by the Sunrise Energy team.

Why do my solar panels not work in a blackout?

Grid-connected inverters must switch off when the grid fails, so they cannot put power into lines that technicians may be working on. The panels still get light, but the inverter does not use it.

Is a battery enough for back-up?

No. You also need an inverter that can supply the house on its own and a switch that separates the house from the grid.

Can back-up run my whole house?

Sometimes, but usually it covers selected circuits. Large loads would empty the battery quickly or exceed what the inverter can supply.

Does the system restart after a power cut?

Yes. When the grid is back and stable, the inverter reconnects by itself after a short wait.

Want to know what this means for your roof?

Leave your details and we come and look. Figures follow once we have seen the roof and your consumption.

Request an obligation free quotation

Step 1 of 3