Solar self-consumption at home: the complete guide to deciding whether it pays
How a home solar self-consumption installation works in Spain, which arrangements exist, what it costs, how much it produces, when it pays for itself and what to ask before you sign.
Spain is one of the sunniest countries in Europe, and in recent years solar self-consumption has gone from a rarity to thousands of roofs on detached houses, warehouses and blocks of flats. Panels are cheaper and more efficient than a decade ago, the rules have been simpler since 2019, and the price of electricity has made many families wonder whether producing their own energy would pay off.
The answer depends on your roof, your consumption, your routines and the price you are paid for surplus energy. This guide explains how a self-consumption installation works, which arrangements exist, what it costs, how much it produces and how to work out whether it pays off before you ask for quotes.
How a self-consumption installation works
A home photovoltaic installation has four basic elements:
- Solar panels: they turn sunlight into direct-current electricity. A current domestic panel has a peak power of 400 to 500 W.
- Inverter: it turns the direct current into alternating current that the household appliances can use. It can be a central inverter or microinverters on each panel.
- Mounting structure: it holds the panels on the roof at the right angle and orientation.
- Protection devices and meter: electrical safety elements and, where needed, a meter or a set-up of the existing meter to measure the energy exported to the grid.
During the day, the electricity produced is used in the home first. If you produce more than you are using at that moment, the surplus goes out to the grid. If you use more than you produce, at night for example, you take electricity from the grid as always.
Self-consumption arrangements
Spanish rules, mainly Royal Decree 244/2019, distinguish several arrangements:
| Arrangement | What happens to the surplus | Who it usually suits |
|---|---|---|
| Without surplus | A zero-export system prevents anything being fed into the grid | Those who use almost everything they produce, or want no compensation paperwork |
| With surplus, under compensation | The surplus is discounted on the bill | The great majority of homes |
| With surplus, not under compensation | The surplus is sold on the market | Large installations or ones with a lot of spare output |
For a home, the usual choice is with surplus and simplified compensation: the retailer values the exported energy at a price and deducts it from the energy term of the bill. It is explained in detail in surplus compensation.
Individual or collective self-consumption
- Individual: one home with its own installation, usually a detached house.
- Collective: several consumers share an installation, for example an owners' association that puts panels on the roof terrace and shares the output. More in shared solar in blocks of flats.
How much an installation produces
Output depends on the solar radiation where you live, the orientation and pitch of the roof, shading and the quality of the equipment. As a guide, each kilowatt-peak installed produces roughly this much a year:
| Area | Annual output per kWp |
|---|---|
| The Cantabrian coast and Galicia | 1,100 to 1,300 kWh |
| The northern and central interior | 1,400 to 1,600 kWh |
| The Levante, Andalusia and Extremadura | 1,600 to 1,800 kWh |
| The Canary Islands | 1,700 to 1,900 kWh |
A 3 kWp installation in Madrid could produce about 4,500 kWh a year, more than the annual consumption of many flats. But output is concentrated in the middle of the day and in spring and summer, while many families use more in the afternoon, at night and in winter. Hence the importance of direct self-consumption and of the surplus.
Orientation and pitch
- South-facing: produces the most in total.
- East or west: produce a little less in total but spread output towards the morning or the afternoon, which may suit your routine better.
- Pitch: on the mainland, 25 to 35 degrees is usually optimal. Roofs with somewhat different pitches lose little output.
- Shading: chimneys, trees or nearby buildings can cut output a great deal. Microinverters or optimisers help when there is partial shade.
What it costs
The price per installed kWp has fallen a lot. As an order of magnitude, for a detached house:
| Size | Indicative installed cost, VAT included |
|---|---|
| 2 kWp (4 to 5 panels) | €3,000 to €4,500 |
| 3 kWp (6 to 8 panels) | €4,000 to €6,000 |
| 5 kWp (10 to 12 panels) | €6,000 to €8,500 |
| An additional 5 kWh battery | €3,000 to €5,000 |
The price varies with how difficult the roof is, the brand of equipment, the distance and the company. Always ask for several detailed quotes.
Grants and tax deductions
In recent years there have been subsidies from European funds run by the autonomous communities, income-tax (IRPF) deductions for energy-improvement works and reductions in property tax (IBI) and the building-works tax (ICIO) in many municipalities. These grants change often, have specific deadlines and requirements, and sometimes run out. Check the current ones with your autonomous community and your town hall before signing, and ask the installer to confirm them in writing.
When it pays for itself
The payback period depends on four main factors:
- The share of direct self-consumption: every kWh you use at the moment you produce it saves you the full price of energy, plus taxes.
- The compensation price for the surplus: usually much lower than the purchase price.
- The cost of the installation and any grants obtained.
- The future price of electricity.
An indicative example
A home in Valencia installs 3 kWp for €5,000. It produces 5,000 kWh a year. It uses 40 % directly (2,000 kWh) and exports 60 % (3,000 kWh).
- Saving from direct self-consumption: 2,000 kWh × €0.16/kWh with taxes = €320.
- Saving from compensation: 3,000 kWh × €0.06/kWh = €180, within the limit of not exceeding the energy term of each bill.
- Estimated annual saving: about €450 to €500.
- Simple payback: about 10 years, less with grants or with more direct self-consumption.
Panels usually carry output guarantees of 25 years or more, and the inverter 10 to 12 years. Plan to replace it at some point.
How to increase direct self-consumption
The saving is much greater when you use the energy at the moment you produce it:
- Programme the washing machine, dishwasher and dryer for the sunny hours.
- Heat water with the sun: an electric water heater or a heat pump water heater programmed for midday works as a thermal battery.
- Use the heat pump to pre-heat or pre-cool the house in the sunny hours.
- Charge the electric car during the day, if it is at home.
- Manage it with the inverter's app, which shows in real time what you produce and use.
Batteries or not?
Batteries store the day's surplus for use at night. They increase self-consumption but add considerably to the cost of the installation. At current prices, in many homes the extra saving does not repay the cost in the short term, although the situation is changing quickly. See batteries for self-consumption.
Questions to ask before signing a quote
- Which make and model of panels and inverter does it include, and what guarantees do they have?
- How much annual output do they estimate, and with which tool did they calculate it?
- Have they taken shading into account?
- Does it include the full legalisation, registration and dealings with the distribution company? See paperwork and legalising self-consumption.
- Does it include monitoring?
- How long will the installation take, and who is responsible for any damage to the roof?
- What maintenance do they recommend?
Common mistakes
- Oversizing the installation with total output in mind, when surplus energy is paid little.
- Choosing on price alone, without comparing equipment or guarantees.
- Forgetting the state of the roof: if it will need redoing within a few years, do it before installing.
- Not changing habits: without shifting consumption to the sunny hours, the saving is smaller.
- Not reviewing the tariff: surplus compensation varies a lot between retailers.
Frequently asked questions
Do panels work on cloudy days?
Yes, but they produce less. On very overcast days, output can fall to a fraction of a sunny day's.
Will I lose power if the grid goes down?
With a grid-connected installation without a backup system, yes: for safety, the inverter disconnects when the grid fails. Some systems with a battery can run in island mode.
Do I need the association's permission if I live in a terraced house?
It depends on the statutes and on who owns the roof. Check with the association and the town hall before installing.
How much space do I need?
Each panel takes up about 2 square metres. A 3 kWp installation needs about 14 to 18 square metres of usable roof.
In short
Solar self-consumption can cut the bill a great deal in Spain, especially if you use energy during the sunny hours. The most common arrangement for homes is with surplus and compensation. Work out output with the real orientation and shading, size the system to your consumption rather than to the roof available, compare quotes on equipment and guarantees, check the current grants and adapt your habits to get the most out of every kilowatt-hour produced.
Sources and further reading
- Instituto para la Diversificación y Ahorro de la Energía (IDAE) (idae.es)
- Comisión Europea, Centro Común de Investigación: PVGIS, producción solar estimada (re.jrc.ec.europa.eu)
- Ministerio para la Transición Ecológica y el Reto Demográfico (MITECO) (miteco.gob.es)
Last checked on .