Key Takeaways
- Surplus compensation credits your bill, not your bank account. In Spain, excess solar goes to the grid and is credited against your energy consumption charge — it can reduce it to zero but cannot generate a positive payment.
- You’re “selling” at €0.04–0.08/kWh but “buying” at €0.12–0.20/kWh. Self-consumption is always worth more than export. Maximise what you use directly before worrying about what you export.
- Your supplier choice matters. Holaluz’s virtual battery carries credits across billing periods. Octopus Energy Spain offsets surplus against fixed as well as variable charges. Most suppliers only do the legal minimum.
- Register as autoconsumo con excedentes before switching. Without the registration with E-Distribución, your surplus goes to the grid for free. Your installer handles this, but verify it’s done.
- Your autoconsumo registration stays with the grid, not your supplier. Switching supplier doesn’t cancel your solar status — but verify the new supplier accepts autoconsumo customers before you move.
- Costa del Sol produces massively in summer. 300+ sunny days means high surplus during siesta hours. Part-year residents especially benefit from virtual battery or strong surplus compensation rates.
🌊 Get the WaypointSur Briefing
Free weekly intel for expats on the Costa del Sol. Deadlines, workarounds, and admin shortcuts only long-term residents know.
Solar panels on the Costa del Sol make obvious sense — 300+ days of sunshine, high electricity prices, and a market with genuine options for surplus compensation. What surprises many new solar owners is how much your choice of electricity supplier matters once the panels are up.
The panels generate power. What happens to excess generation — and what you get credited for it — depends on your supplier, your tariff, and whether your installation is properly registered. This guide covers the mechanics, the provider differences, and what to check before you switch.
How Surplus Compensation Works in Spain
Spain’s residential solar model operates under what’s called compensación simplificada (simplified compensation). Here’s the flow:
- Your solar panels generate electricity.
- Your home consumes what it needs in real time.
- Any surplus (more generation than consumption at that moment) goes to the grid automatically via your bidirectional meter.
- Your supplier records that surplus and credits the value against your electricity consumption charge on the same monthly bill.
The critical detail: the credit can reduce your consumption charge to zero, but it cannot go below zero. Spain does not operate a net metering system where you “earn” money from surplus. You offset costs — you don’t create income.
This means a sunny summer month might wipe out your entire energy consumption charge. But the fixed portion of your bill (standing charge, network access fees, taxes) remains. Your bill never reaches zero even with excellent solar production.
What You Get Paid for Surplus: The Price Gap Problem
Surplus is valued at the wholesale electricity market price — specifically the OMIE pool price, which represents the wholesale cost at the hour your surplus was generated.
Typical surplus compensation rates run €0.04–0.08/kWh.
Compare this to what you pay to consume electricity: typically €0.12–0.20/kWh on a fixed tariff or similarly in the ballpark on PVPC.
You are effectively “selling” at one-third to one-half the rate you “buy” at. This gap is why maximising self-consumption — using your own solar electricity directly rather than exporting it — always delivers better value than maximising export.
Practical implication: run high-draw appliances during daylight hours when your panels are producing, rather than at night (when you’d import from the grid). A dishwasher running at 13:00 in August uses your free solar electricity. The same dishwasher at 23:00 uses imported grid electricity you pay €0.15/kWh for.
Why Your Supplier Choice Matters
The law sets a minimum for surplus compensation — suppliers must offer it, and must value surplus at the wholesale market price. What varies is how generous they are above that minimum, and what innovative structures they offer.
Holaluz: Virtual Battery
Holaluz’s standout feature for solar owners is the batería virtual (virtual battery). Rather than applying surplus credits only to the same billing period they were generated in, Holaluz carries credits forward. Summer surplus can offset winter bills.
This matters significantly on the Costa del Sol. Summer solar production can be 3–4x winter production. A well-sized installation might generate large surpluses from May through September that, under a standard system, would be credited in the same month — but if that month’s consumption charge is already low (because you’re using lots of your own solar), the excess credit is lost.
With Holaluz’s virtual battery, that surplus credit banks and applies against higher winter bills when production drops 40–50% and consumption (less AC, but more heating) changes the equation.
For part-year residents — common on the Costa del Sol — this is especially valuable. If you’re in the UK for three months over winter, your panels are producing less but you’re not consuming at the property. The virtual battery means that production still counts toward your bill when you return.
See our detailed Holaluz Spain review for full terms and current pricing.
Octopus Energy Spain
Readers have reported that Octopus Energy Spain compensates surplus against both the variable consumption charge and the fixed charge components of the bill — more generous than the legal minimum, which only requires offset against the energy consumption element.
This distinction matters: the fixed portion of a Spanish electricity bill (potencia, network access, taxes) can represent 30–50% of the total. A supplier that offsets surplus against more of the bill delivers better effective value even at the same per-kWh compensation rate.
See our Octopus Energy Spain review for current terms and availability in your area.
PVPC (Regulated Tariff)
On the government-regulated PVPC tariff, surplus is valued at the average hourly wholesale price during the hours you exported. This is transparent and auditable — it tracks the real market price at the moment of generation.
PVPC can actually be advantageous for solar owners because solar production peaks around midday, which is often when wholesale electricity prices are highest (high demand, less overnight storage). You export at relatively expensive hours and import at cheaper overnight rates.
The downside is variability. PVPC bills are unpredictable month-to-month. For households managing a budget carefully, the uncertainty can outweigh the potential upside.
Fixed Rate Free Market Suppliers
Most commercial suppliers offer surplus compensation at the wholesale market rate or a fixed rate agreed in the contract. The range is typically €0.04–0.09/kWh. Read the fine print on how compensation is calculated and whether credits expire within the billing period.
Some flat-rate tariffs (same price all day) actually disadvantage solar owners — you’re consuming at the same rate all day, so the incentive to shift usage to solar production hours is reduced. Time-differentiated tariffs that charge more in the evening encourage you to use solar during the day and reduce expensive evening imports.
Summer 2026 Lesson: Your Credits Die With Your Supplier
July 2026 made the solvency point better than any hypothetical: the regulator opened licence-withdrawal proceedings against Holaluz, a mid-sized supplier with a large solar customer base, and the mechanics of a supplier collapse became visible. Surplus-compensation balances and batería virtual — virtual battery credits are entries in the supplier’s accounts, not money in yours. If the supplier fails, affected customers are auto-transferred to a reference retailer and those accumulated credits do not travel with them.
The practical rule: treat accumulated virtual-battery balances like cash left on a gift card. Prefer suppliers that settle surplus against each bill rather than banking large balances, keep documentation of any balance you do carry, and weight the supplier’s financial solidity, not just its per-kWh compensation rate, when choosing who buys your surplus. Section last verified August 2026.
The Autoconsumo Registration: Non-Negotiable
Here’s where things go wrong for some solar owners: the panels go up, the inverter connects, the system generates electricity — but no surplus compensation appears on the bill.
The reason is almost always a missing registration. To receive surplus compensation, your installation must be formally registered with your distribuidora — on the Costa del Sol, that’s typically E-Distribución (Endesa’s grid subsidiary) — as an “autoconsumo con excedentes acogido a compensación” installation.
Without this registration, your surplus still goes to the grid. The grid benefits; you don’t. The surplus is effectively donated.
Your solar installer is legally required to handle this registration. But installers vary in how diligently they follow through, and the process can take several weeks. Before your installation goes live, confirm:
- That your installer has submitted the autoconsumo application to E-Distribución.
- That your meter has been upgraded to a bidirectional (smart) meter if it hasn’t been already.
- That your supplier has been notified of your autoconsumo status.
Readers have reported delays of 1–3 months between installation and the registration completing. During this period, surplus is uncompensated. Follow up proactively.
Switching Supplier When You Have Solar
The question most solar owners face at some point: can I switch to a better supplier without losing my solar compensation?
The answer is yes — but with caveats.
Your autoconsumo registration lives with E-Distribución (the distribution grid), not with your commercial supplier. When you switch supplier, the registration doesn’t move. Your new supplier should automatically see your autoconsumo status when they take over your supply point (CUPS number).
However, readers have reported occasional gaps during supplier switches where surplus goes uncompensated for one or two billing periods. This happens when the new supplier’s system doesn’t correctly identify the customer as autoconsumo, or when there’s a processing delay in the handover.
To protect yourself:
- Before switching: Confirm the new supplier accepts autoconsumo customers and offers surplus compensation in your area. Not all tariffs include it; ask specifically.
- During the switch: Keep records of your meter readings at the point of transfer.
- After switching: Check your first bill carefully. Your P.O. (production) should appear. If it doesn’t, contact the supplier immediately with your autoconsumo registration number.
The switch itself is handled through the standard switching process — see our guide to switching electricity supplier in Spain for the step-by-step process.
Solar + PVPC vs Fixed Rate: Which Works Better?
For solar owners, the tariff type choice has additional dimensions beyond what non-solar households consider.
Arguments for PVPC with solar
- Midday solar production aligns with periods of higher wholesale prices — you export (or self-consume) at expensive hours.
- Overnight import happens during low wholesale price periods.
- Transparent, auditable surplus valuation.
Arguments for fixed rate with solar
- Predictable monthly bills regardless of wholesale market movements.
- Some fixed suppliers offer better surplus terms (virtual battery, fixed compensation above wholesale).
- Easier to budget when you’re not exposed to market volatility.
The right answer depends on your risk tolerance, how actively you monitor electricity prices, and which specific tariffs are available to you. The PVPC vs fixed tariff comparison guide covers the full tradeoffs.
Physical Battery vs Virtual Battery: A Practical Comparison
If you’re considering expanding your solar setup, the battery question comes up quickly. Two options exist:
Physical storage battery
A lithium battery bank (typically 5–10 kWh) stores surplus solar during the day for use at night. You’re importing nothing from the grid overnight — you use your own stored solar.
- Cost: €3,000–6,000 installed for a residential system (depending on capacity).
- Best for: Households consuming >5,000 kWh/year with high nighttime consumption.
- Break-even: Typically 6–10 years depending on electricity prices and usage patterns.
- Benefit: Maximises self-consumption (you use solar instead of importing at €0.15+/kWh). Works regardless of supplier.
Virtual battery (Holaluz and others)
No physical hardware. Instead, your supplier credits surplus from high-production months and applies it to high-consumption months.
- Cost: Nothing upfront — it’s a tariff feature.
- Best for: Part-year residents, seasonal production patterns, those not wanting the capital outlay of a physical battery.
- Limitation: You’re still buying grid electricity at night. The credit offsets your bill; it doesn’t eliminate nighttime grid import.
- Benefit: Useful when summer surplus would otherwise expire unused within the billing period.
They’re not mutually exclusive. You can have a physical battery (for daily cycle optimisation) and also be on a Holaluz virtual battery tariff (for seasonal smoothing of any remaining surplus). But the combination only makes sense for larger systems and high-consumption households.
For most Costa del Sol solar owners: if you consume mostly during daylight hours (retired, home during day) and have modest production, a virtual battery solves the seasonal mismatch problem at zero cost. If you have high overnight consumption (EV charging, pool heating, large household), a physical battery makes the economics more compelling.
Costa del Sol Solar: Production Reality
Málaga province averages 2,800–3,000 hours of sunshine per year — among the highest in Europe. A 5 kWp solar installation on the Costa del Sol generates roughly 7,000–8,000 kWh per year in favourable conditions.
Summer (May–September): High production. A 5 kWp system might generate 900–1,100 kWh in July alone. Surplus is substantial, particularly during the 12:00–16:00 siesta period when household consumption is typically low. If you’re in the UK or elsewhere for part of this period, production continues but consumption at the property drops — making virtual battery or strong surplus compensation essential.
Winter (November–February): Production drops 40–50% from summer peak. A 5 kWp system might generate 300–400 kWh in December. Combined with lower AC consumption but possibly more heating load, the net import from the grid increases. This is when summer’s virtual battery credits pay off.
Shoulder months (March–April, October): Excellent production with moderate consumption. Often the months where self-consumption is highest as a percentage — you’re using most of what you generate in real time.
For a detailed guide to solar panel installation on the Costa del Sol, see our Costa del Sol solar guide.
Common Mistakes Solar Owners Make
Not verifying the autoconsumo registration before the system goes live
The most common and costly error. Confirm registration is submitted and pending — don’t assume your installer has handled it. Ask for the E-Distribución reference number.
Choosing a supplier based on price alone without checking surplus terms
A tariff that’s €5/month cheaper but has no virtual battery and only offers wholesale surplus compensation might cost you more overall than a slightly more expensive tariff with better surplus treatment.
Running heavy appliances at night instead of during solar production hours
Without a physical battery, daytime appliance use means you consume your own solar electricity at “retail value” (avoiding an import you’d pay €0.15+ for). Night use means you pay to import. Schedule accordingly.
Not checking surplus appears on the first post-switch bill
After switching supplier, your first bill should show surplus compensation if you exported. If it doesn’t, contact the supplier immediately. Delays compound — uncompensated surplus cannot be retroactively claimed once the billing period closes.
Frequently Asked Questions
What is compensación simplificada and how does it work?
Compensación simplificada is Spain’s standard surplus solar compensation mechanism for residential installations. When your panels generate more than your home consumes at any moment, the excess goes to the grid. Your supplier values that surplus (typically at the wholesale market price, €0.04–0.08/kWh) and credits it against your energy consumption charge on the same bill. The credit cannot exceed your consumption charge — you cannot receive cash payments for surplus under this scheme.
Can I switch electricity supplier without losing my solar compensation?
Yes. Your autoconsumo registration is held by E-Distribución (the grid operator), not your commercial supplier. Switching supplier doesn’t affect the registration. However, verify that your new supplier accepts autoconsumo customers and actively look for your surplus compensation on the first bill after switching. Readers have reported brief gaps during the transition period.
What is a virtual battery (batería virtual) and is it worth it?
A virtual battery is a tariff feature offered by some suppliers (notably Holaluz) that carries surplus credits forward across billing periods rather than applying them only within the month generated. This allows summer overproduction to offset winter bills. It’s particularly valuable for part-year residents or properties with strongly seasonal production. There’s no hardware cost — it’s a contractual feature.
Why does my solar installation need to be registered with E-Distribución?
To receive surplus compensation, your installation must be formally registered as “autoconsumo con excedentes acogido a compensación” with E-Distribución (the local distribution grid operator). Without this registration, surplus exported to the grid is uncompensated. Your installer should submit this registration, but follow up to confirm it’s been done and the reference number received.
Should I choose PVPC or a fixed tariff with solar panels?
PVPC can work well for solar owners because midday solar production (when you export surplus) often coincides with higher wholesale prices. But PVPC’s variability makes bills unpredictable. Fixed tariffs offer stability and some (like Holaluz) offer better surplus treatment. The best choice depends on your risk tolerance, how much you monitor prices, and which tariffs include features like virtual batteries.
Is a physical storage battery worth buying in Spain?
For most households consuming over 5,000 kWh/year with significant nighttime consumption, physical battery storage (€3,000–6,000 installed) makes economic sense over a 6–10 year horizon. For lower consumption or primarily daytime users, the payback period stretches and a virtual battery may provide better value per euro. Electricity prices trends — higher prices improve the battery economics.
Related guides: How to switch electricity supplier in Spain | Holaluz Spain review | Octopus Energy Spain review | PVPC vs fixed tariff comparison
Related Guides
Frequently Asked Questions
How much does electricity cost in Spain?
The average Spanish household pays EUR 80-150 per month for electricity. On the Costa del Sol, summer bills can spike to EUR 200+ due to air conditioning. The regulated PVPC tariff averages EUR 0.10-0.20 per kWh depending on the time of day.
What is the PVPC tariff in Spain?
The PVPC (Precio Voluntario para el Pequeno Consumidor) is the regulated electricity tariff with hourly pricing that varies throughout the day. It is cheaper during off-peak hours (midnight to 8am) and most expensive during peak hours (10am-2pm and 6pm-10pm).
Should I choose PVPC or a fixed-rate tariff?
PVPC works well if you can shift consumption to off-peak hours (running dishwashers and washing machines at night). Fixed-rate tariffs offer budget predictability but are typically 10-20% more expensive overall. For most expats new to Spain, a fixed rate reduces bill shock.
How do I switch electricity provider in Spain?
Contact your chosen new provider with your CUPS code (on any bill) and they handle the switch. It takes approximately 2 weeks. There are no switching fees or penalties. Your supply is never interrupted during the change.
What is the potencia contratada?
The potencia contratada is your contracted power capacity in kW. Most homes have 3.45-5.75 kW. If your appliances exceed this, the breaker trips. You can adjust it through your provider but higher capacity means a higher fixed daily charge.
Add WaypointSur as a preferred source in Google Search:

