Solar self-consumption

Solar self-consumption in Spain: how surplus is compensated

Having panels does not mean every exported kilowatt hour is worth the same as one used at home. The gap comes from simplified surplus compensation, its legal ceiling, and the hours when the market price goes below zero.

Energy you export to the grid in Spain is not sold: it is compensated. Article 14 of Royal Decree 244/2019 sets an economic balance, within the billing period, between the energy you take from the grid and the surplus you export, with a hard ceiling: the value of the surplus can never exceed the value of the energy consumed. The energy part of your bill can reach zero, but never turn in your favour.

What simplified compensation actually is

A self-consumption installation cannot direct its output at will: the house takes what it needs at each moment and whatever is left over flows to the grid. Simplified surplus compensation is the mechanism that puts a price on that leftover and deducts it from your bill. It is set out in Article 14 of Royal Decree 244/2019 of 5 April, and it works as an economic balance, within the billing period, between the energy you take from the grid and the surplus you export.

The important distinction comes right away: compensating is not selling. There is no income, no transfer, no invoice you issue. There is a discount on your electricity bill that lowers what you pay for the energy you did draw from the grid. That is a difference of substance, not of wording, and almost everything below follows from it.

Who can use it

Not every installation qualifies. Three conditions must hold at the same time, and two contractual matters must be in order.

  1. Renewable primary energy. The installation's primary energy source has to be renewable. A domestic solar array is.
  2. Power no greater than 100 kW. That is a generous ceiling: any residential roof sits far below it.
  3. Self-consumption with surplus, covered by compensation. This is the specific mode that must be on record; other modes carry no right to compensation.
  4. A single supply contract. The consumption and the installation have to hang from the same contract.
  5. A specific compensation contract. Separate from the supply contract, and signed with your retailer.

Here is the sentence that decides how much you can recover. In the wording of Article 14, translated from the Spanish: in no case may the economic value of the surplus hourly energy be greater than the economic value of the hourly energy taken from the grid during the billing period.

Put plainly: compensation can bring the energy amount for the period down to zero, but never turn it in your favour. If in a given month you export more value than you consume, that excess is not paid out and is not saved for the following month. It is lost.

It is also worth not confusing a zero bill with a zero energy charge. The balance plays only against the energy consumed; what you pay for your contracted power is still there. A very sunny June can leave the energy term at nothing and still produce a bill with an amount on it.

And there is a consequence worth thinking through before sizing an installation: past a certain size, each extra kilowatt produces summer surplus with nothing left to offset against. An array matched to your real consumption often performs better than an oversized one.

When the market pays a negative price

Before negative prices make sense, you need to know how each exported kilowatt hour is valued. If you are on the PVPC — the regulated Spanish tariff, the Precio Voluntario para el Pequeño Consumidor, whose price changes every hour — the surplus is valued at the average hourly price resulting from the day-ahead and intraday markets, less the cost of imbalances. If you are on the free market, it is valued at the hourly price you agreed with your retailer: there is no legal formula there, only a contract, and it is worth reading before signing.

That market price comes from the wholesale market, the auction where supply and demand for the next day are matched each day, run by OMIE, the Iberian electricity market operator. And it can be negative: since 28 May 2026, the minimum clearing price of the European single day-ahead coupling is −600 €/MWh. The system admits prices below zero by design, when there is more generation than demand.

And there is, around midday. In Spain, negative or zero prices cluster in the central hours of the day, when solar generation peaks and demand is low; in the evening, as the sun drops and household consumption rises, the price climbs back. The phenomenon grows with solar itself: May 2026 was the month with the highest share of solar photovoltaic in the Spanish generation mix recorded to date, at 28.5%.

The paradox for anyone with panels is hard to dodge: the hours of peak production are, more and more often, the hours when exporting is worth least. When the price falls below zero, that hour’s surplus subtracts from the period balance instead of adding to it. PrecioLuz marks those stretches: alongside the wholesale market price, it flags the hours when surplus compensation goes negative.

Why using what you generate beats exporting it

One practical rule comes out of all of the above, and it is the one that actually moves the bill. A kilowatt hour you use at the very moment you generate it saves you the full price of that kilowatt hour: the energy, plus the transport and distribution tolls and the system charges — the regulated items you pay for using the network and sustaining the electricity system — plus the taxes applied on top of all that. A kilowatt hour you export is compensated only at the market price of the energy.

The two figures are not alike. How far apart they sit depends on your tariff and on the hour: Monday to Friday, sunlight hours fall inside the expensive bands of the regulated part, while Saturdays, Sundays and fixed-date national holidays are billed entirely at the off-peak band, where that part is minimal. In an hour of negative prices there is nothing left to argue: what you export is worth nothing, or less than nothing.

Hence the advice installers repeat and the rules end up backing: move whatever can be moved into the sunlight hours. Washing machine, dishwasher, electric water heater, heat pump, car charging. There is no savings figure to promise here — it depends on your installation, your contract and your consumption curve — but the direction is not in doubt: every self-consumed kilowatt hour is worth more than that same kilowatt hour exported.

Deciding it day by day takes both prices in front of you. PrecioLuz shows the PVPC hour by hour and, for self-consumption, the wholesale market price and surplus compensation, with the negative hours marked.

Check the market before you run the washing machine

PrecioLuz shows the PVPC hour by hour and, for self-consumption, the wholesale market price and surplus compensation. It also flags the hours when your surplus goes negative.

Download PrecioLuz — App Store

Frequently asked questions

Do I get paid for the solar energy I export to the grid?

Not as income. Simplified surplus compensation is a discount on your electricity bill, not a sale of energy: it reduces what you pay for the energy you did take from the grid during that billing period. You issue no invoice and receive no transfer.

What happens if I export more than I consume in a month?

The excess is lost. Article 14 of Royal Decree 244/2019 stops the economic value of the surplus from exceeding that of the energy taken from the grid within the billing period, so compensation can bring the energy charge down to zero but never into your favour. Nor is it carried over to the following month.

What happens when the market price is negative?

In those hours your surplus subtracts from the period balance instead of adding to it. Since 28 May 2026 the minimum clearing price of the European single day-ahead coupling is −600 €/MWh, and in Spain negative or zero prices cluster in the middle of the day — exactly when a solar array produces most.

What are the requirements for simplified surplus compensation?

Three at once: the primary energy source must be renewable, the power must not exceed 100 kW, and the installation must be in the self-consumption-with-surplus mode covered by compensation. On top of that you need a single supply contract and a specific compensation contract.