Back to Blog
solar policy13 min read

Spain Net Metering 2026: Compensación Simplificada

Spain net metering under RD 244/2019: compensación simplificada credits surplus hourly against your bill. Eligibility, registration and RD 477/2021 grants.

Rainer Neumann

Written by

Rainer Neumann

Editorial contributor · SurgePV

Keyur Rakholiya

Edited by

Keyur Rakholiya

CEO & Co-Founder · SurgePV

Published ·Updated

Answer

Spain has no net metering by that name. Its equivalent is compensación simplificada under Real Decreto 244/2019, for installations up to 100 kW. Surplus is valued hour by hour and credited against the same bill. The credit cannot exceed the value of grid electricity bought in the billing period, at most one month.

Last updated: November 2026

If you send solar surplus to the grid in Spain, the credit on your bill follows a fixed rule, and it is not a one-for-one kWh swap. The rule is compensación simplificada, set by Real Decreto 244/2019. What you get depends on your contract type and the hour the energy was exported.

Real Decreto 244/2019 (RD 244/2019) was published in the BOE on 6 April 2019. The BOE is Spain’s official state gazette. The decree took effect the next day, according to the BOE consolidated text, last updated on 21 March 2026. This guide covers the credit mechanism, who qualifies, and the registration and contract steps. It also covers collective self-consumption, the RD 477/2021 grants, and the answer to the “sun tax” question. A Spanish version is at autoconsumo y compensación en España. For market-wide incentives, see solar incentives in Spain and residential solar challenges in Spain.

Spain Self-Consumption at a Glance

Question Answer under RD 244/2019 Where it comes from
Is there net metering? A simplified compensation mechanism: surplus is valued and netted against consumption on the bill, not paid out Article 14
Who can use it? Renewable installations up to 100 kW with a surplus compensation contract and no other support scheme Article 4.2.a
How is surplus valued? At the price agreed with a free-market retailer, or, for regulated PVPC customers, at the hourly average market price minus the cost of imbalances Article 14.3
What is the cap? The credit cannot exceed the value of the energy bought from the grid in the billing period, at most one month Article 14.3
Is there a charge on self-consumed energy? Self-consumed renewable energy is exempt from all system charges Article 18.1
How is PV size measured? Installed power is the maximum inverter power, or the sum of the inverters Article 3.h

PVPC is Spain’s regulated electricity price for small customers. A reference retailer is a retailer that sells at that price.

Key Takeaway

The limit is 100 kW of inverter power, not 100 kWp of panels. The kWp figure is the peak power of the panels, and the inverter turns panel power into grid power. A 110 kWp array on a 95 kW inverter meets the limit. The same array on a 105 kW inverter does not (RD 244/2019, Article 3.h and Article 4.2.a).

Will the surplus credit cover your client’s bill?

Set up a self-consumption case with surplus, enter the hourly load and see what is used on site and what is exported.

Book a Demo

Checking cost first? See the SurgePV pricing page · 20 minutes


Latest Updates: Spain Self-Consumption 2026

  • 21 March 2026: BOE published the latest consolidated text of RD 244/2019 (the decree with all changes merged in). The consolidated page lists amendments to the decree by Real Decreto-ley 7/2026 of 20 March 2026 and Ley 9/2025 of 3 December 2025.
  • 7 April 2026: The Comunitat Valenciana changed its 2021 call for RD 477/2021 programme 4 grants, according to the IDAE status page. IDAE is Spain’s Institute for Energy Diversification and Saving.
  • 2 June 2025 and 4 March 2025: Madrid and Andalucía each published a deadline to carry out and justify actions that the recovery fund co-funded. This is per the same IDAE page.
  • 15 January 2025: The Basque Country declared its budget exhausted in two programmes.

Is There a Sun Tax in Spain?

Not on self-consumed renewable energy. The preamble (opening section) of RD 244/2019 explains two things about Real Decreto-ley 15/2018 of 5 October 2018. First, it exempted self-consumed energy of renewable, cogeneration or waste origin from all charges and tolls. Second, it repealed (cancelled) articles of Real Decreto 900/2015. These covered measurement configurations, installed-power limits and payment of charges on self-consumed energy. RD 244/2019 then repealed RD 900/2015, with a short list of exceptions.

Two costs remain. Access tolls and system charges still apply to the electricity you buy from the grid. Consumers who share energy through the distribution network from a nearby installation must pay an amount for using that network. The CNMC (Spain’s National Commission on Markets and Competition) sets it (Article 17.5).


How Compensación Simplificada Works

The Modalities

Modality Surplus to the grid? Conditions Article
Self-consumption without surplus No; an anti-export device is required One subject type: the consumer 4.1.a
With surplus, under compensation Yes Renewable source; total installed power of 100 kW or less; a single supply contract for consumption and auxiliary production services where one is needed; a surplus compensation contract; no additional or specific remuneration regime 4.2.a
With surplus, not under compensation Yes Any case that does not meet those conditions, or where the parties opt out 4.2.b

Individual or collective self-consumption is a second layer on top of these modalities (Article 4.3).

How the Credit Is Calculated

Article 14.3 defines the mechanism as a money balance of the energy consumed in the billing period. The table shows how the surplus is valued.

Your supply contract Grid energy consumed Surplus energy exported
Free-market retailer Hourly price agreed with the retailer Hourly price agreed between the parties
PVPC with a reference retailer Hourly energy cost of the PVPC (TCUh) Hourly average price Pmh from the day-ahead and intraday market results, minus the imbalance cost CDSVh

In every case, the value of the surplus cannot exceed the value of the energy consumed from the grid in the billing period. The period cannot be longer than one month. For customers of a reference retailer (PVPC), the credit is subtracted before taxes are applied (Article 14.6). A producer that opts into the mechanism cannot take part in any other energy sale mechanism.

The decree sets the method but no euro-per-kWh figure. The price depends on the contract type and the hour. The sources used here do not publish an hourly price series, so this page quotes none.

Taxes and Tolls

For PVPC customers of a reference retailer, the credit is subtracted from the amount to be billed before taxes. It cannot exceed the value of the grid energy consumed in the period (Article 14.6). Under Article 14.4, surplus energy under the mechanism is exempt from the generator access tolls of Real Decreto 1544/2011. The retailer is responsible for balancing that energy.

Model compensación simplificada savings in a SurgePV proposal

SurgePV supports financial modeling and proposal generation. Book a Free Demo to see how a self-consumption case with surplus is set up.

Book a Free Demo

Want prices first? Read the SurgePV pricing page · Live walkthrough


Who Qualifies

  • Renewable source and 100 kW cap for the compensation modality (Article 4.2.a). Larger or non-renewable installations can still self-consume with surplus. They get no compensation.
  • A compensation contract signed by the consumer and the producer. It goes to the distributor (the company that runs the local power lines), directly or through the retailer (Article 14.1 and 14.5).
  • No additional or specific remuneration regime on the installation (Article 4.2.a).
  • A minimum stay of four months in the chosen modality, counted from the date the access contract is created or changed (Article 8.5).

Nothing in the decree sets a minimum system size. Two cases do not need grid access and connection permits. One is generation without surplus. The other is a surplus installation of 15 kW or less on urbanised land that has the services required by planning law (Article 7.1.b).


Registration and Contract Steps

RD 244/2019 does not use the RAIPEE name for the self-consumption register. It sets up a state-level administrative self-consumption register. It is online, declarative (it relies on declared data) and free to access. The autonomous communities (Spain’s regions) feed it (Articles 19 and 20).

  1. Electrical documentation. This step is for low-voltage consumers with a low-voltage generator of less than 100 kW. The autonomous community registers the installation ex officio (de oficio, meaning on its own, without you filing). It uses the information sent under the low-voltage regulation (REBT) (Article 20.1).
  2. Access contract update. The autonomous community sends the documents to the distributor within ten days. The distributor then updates the access contract and sends it to the retailer within five days. The consumer has ten days to object (Article 8.1).
  3. Compensation contract. If you want compensation, the consumer and producer send the same surplus compensation contract to the distributor, directly or through the retailer (Article 14.5).
  4. Start date. After it receives the documents from all parties, the distributor has five working days to tell the retailer the start date of the self-consumption modality. This includes any sharing coefficients and compensation terms (Article 9.3).
  5. Supply contract. Retailer contracts must state the self-consumption modality, even if no energy is exported. Reference retailers cannot refuse changes by consumers who are entitled to PVPC prices and who meet the rules (Article 9.1).

The sources used here give no regional processing times, so none are stated. Ask the autonomous community and the distributor for their current times.


Collective Self-Consumption (Autoconsumo Colectivo)

Several consumers can share one installation. All participants must be in the same modality. Each must give the distributor the same signed agreement that sets the sharing criteria (Article 4.3). The sharing coefficients can be changed no more often than every four months (Annex I). A renewable energy community can act for the participants if they allow it (Article 4.7).

An installation counts as “nearby” under Article 3.g if any of these is true:

  • It is connected to the consumers’ internal network or by direct line.
  • It connects to a low-voltage network that comes from the same transformer substation.
  • It is less than 500 m from the consumers, measured between meters.
  • It is PV or wind of up to 5 MW, connected through the transmission or distribution lines. It is less than 5,000 m from the consumers.
  • Generation and consumption share the same cadastral reference (the property code in Spain’s cadastre), using the first 14 digits.

Energy shared through the distribution network carries the network-use amount noted above (Article 17.5).


IDAE Grants Under RD 477/2021

Real Decreto 477/2021 gave regions money for self-consumption and storage grants under the recovery plan. The amounts are set in Annex III of the consolidated decree. Each autonomous community runs its own call.

Grant Amounts for Residential Self-Consumption (Programme 4)

Action Individual (EUR per kW) Collective (EUR per kW)
PV up to 10 kWp 600 710
PV above 10 kWp, up to 100 kWp 450 535
PV above 100 kWp, up to 1,000 kWp 350 420
Storage up to 10 kWh 490 per kWh not listed
RD 477/2021 grant for individual residential PV (programme 4) (EUR per kW, maximum)
  • PV up to 10 kWpEUR 600
  • PV above 10 up to 100 kWpEUR 450
  • PV above 100 up to 1,000 kWpEUR 350

Source: Real Decreto 477/2021, Annex III (BOE consolidated text), checked October 2026.

Here is an example using the annex values. Take a 5 kWp household system with a 5 kWh battery. Generation gives 5 × 600 = EUR 3,000. Storage gives 5 × 490 = EUR 2,450. The total is EUR 5,450. The decree caps each part at the justified eligible cost, so the real grant can be lower. The decree also adds extra modules for towns that are losing people.

For business programmes 1 and 2, aid is a percentage of eligible generation cost. It is 15% for large companies, 25% for medium companies and 35% for small companies. A small company with PV up to 10 kWp gets 45% (Annex III).

Pro Tip

Before you quote a grant, check the region’s call on the IDAE status page. A listed amendment does not mean money is left, and the Basque Country has already reported exhausted budgets.

Status of the Regional Calls

IDAE publishes, region by region, the budget assigned in Annex V and the latest measures. The table lists the assigned budget, the extension approved as printed by IDAE, and the top item in each region’s list.

Region Assigned budget (EUR) Extension approved (EUR) Latest measure listed
Andalucía 87,775,830 242,755,945 4 Mar 2025: deadline for execution and justification
Aragón 19,966,099 46,742,362 11 Jul 2024: redistribution of credits authorized
Asturias 12,004,909 29,451,349 28 Dec 2023: budget increase published
Illes Balears 11,023,376 29,377,152 27 May 2025: amendment of the call
Canarias 18,743,787 43,758,080 31 Jul 2024: budget increase
Cantabria 6,850,218 16,244,999 23 Jul 2024: amendment of the call
Castilla-La Mancha 26,593,343 61,039,356 16 Apr 2024: amendment of the call
Castilla y León 32,447,483 73,587,852 13 Dec 2023: amendment of the call
Catalunya 98,703,767 272,616,806 29 Jul 2024: budget increase
Ceuta 601,286 428,602 21 May 2024 (published): amendment of the call
Comunitat Valenciana 56,319,859 143,449,473 7 Apr 2026: amendment (programme 4)
Extremadura 12,531,788 28,180,448 28 May 2024: amendment of the call
Galicia 33,305,974 55,785,640 4 Oct 2024: credit extended and redistributed
Madrid 77,640,716 185,522,794 2 Jun 2025: deadline for execution and justification
Melilla 560,675 609,280 6 Feb 2024: amendment of the call
Murcia 16,702,133 34,304,539 23 Nov 2024 (published): urgent processing of grants
Navarra 10,861,101 27,147,395 19 Jul 2024: amendment of the bases
País Vasco 32,257,738 73,324,320 15 Jan 2025: budget exhausted in two programmes
La Rioja 5,109,918 12,817,310 14 Nov 2024: amendment of a resolution

Source: IDAE, RD 477/2021 status of calls by autonomous community. The latest measure is the first item on each region’s list. IDAE prints the extension as one figure without saying whether it is the increase or the new total. For Ceuta it is below the assigned budget. A listed amendment does not mean the call is open. Only Andalucía and Madrid list a deadline resolution, and the Basque Country lists exhausted budgets. Check the region’s own call before quoting a grant to a client.


To run a Spanish self-consumption case from design to proposal, book a SurgePV demo. For how Spain’s rules compare with other markets, see solar payback period by country. Other pages: net metering glossary and virtual net metering.


Frequently Asked Questions

Does Spain have net metering?

Not under that name. Real Decreto 244/2019 sets up compensación simplificada for renewable installations up to 100 kW. Surplus is valued hour by hour and netted against the electricity bought from the grid in the billing period. So the credit cannot exceed that purchase value.

How much do you get for surplus solar energy in Spain?

It depends on your contract. With a free-market retailer, the surplus price is the hourly price agreed between the parties. For regulated PVPC customers, it is the hourly average market price minus imbalance costs. The credit never exceeds the value of the grid energy you consumed in the billing period (at most one month).

Who qualifies for compensación simplificada?

Self-consumption with surplus qualifies if four things are true. The source is renewable, and total installed power is 100 kW or less. The parties have signed a surplus compensation contract. The installation has no additional or specific remuneration regime. For PV, installed power means the inverter’s maximum power.

Is there still a sun tax in Spain?

No charge applies to self-consumed renewable energy. Real Decreto-ley 15/2018 exempted it from charges and tolls. RD 244/2019 Article 18.1 repeats the exemption. Grid electricity still carries tolls and charges. Sharing energy through the network from a nearby installation carries a network-use amount.

How does collective self-consumption work?

Several consumers share one installation under one signed agreement that sets the sharing criteria. The agreement is sent to the distributor. A nearby installation can be on the same network or within 500 m. It can also be PV or wind up to 5 MW within 5,000 m through the grid. Or it can share the same cadastral reference.

How do you register a self-consumption installation?

For low-voltage installations under 100 kW, the autonomous community registers the installation by itself. It uses the electrical documentation. You still need to update the access contract through the distributor. If you want compensation, send the signed compensation contract to the distributor or through the retailer.

Are there grants for solar self-consumption in Spain?

RD 477/2021 funds regional calls. The residential programme 4 sets EUR 600 per kW for PV up to 10 kWp and EUR 490 per kWh for storage up to 10 kWh as maximum amounts. They are limited to the eligible cost. Each autonomous community runs its own call, so confirm that yours is still open.

Where this fits

This article is part of SurgePV's Solar Incentives & Policy hub, which works through the topic from first principles to the decisions a project team actually has to make.

About the Contributors

Author
Rainer Neumann
Rainer Neumann

Editorial contributor · SurgePV

Rainer Neumann is credited as an editorial contributor on SurgePV content. This profile does not assert engineering credentials, project totals, software-testing experience, education, speaking engagements, or media citations because independent verification evidence is not retained in the publication record.

Editor
Keyur Rakholiya
Keyur Rakholiya

CEO & Co-Founder · SurgePV

Keyur Rakholiya is identified by SurgePV as its CEO and a company co-founder. His SurgePV author page lists only role information that can be tied to the public profile below; credentials, project totals, testing claims, media appearances, and speaking engagements are not asserted without retained evidence.

Get Solar Design Tips in Your Inbox

Join 2,000+ solar professionals. One email per week - no spam.

No spam · Unsubscribe anytime

Book Free Demo

Choose which optional technologies SurgePV may use. Essential storage remains active for security and requested features.