Legalising home solar panels in Spain: the paperwork step by step and how long it takes
Which permits and registrations a home self-consumption installation needs in Spain, who handles each step, how long it takes and how to avoid the most common delays.
Installing solar panels on a home no longer involves the complex paperwork of a decade ago. Since 2019 the rules have simplified the process a great deal, especially for small installations. Even so, there are still several administrative steps, and a mistake or a delay in any of them can mean months pass before you see surplus compensation on your bill.
This guide explains the paperwork needed to legalise a self-consumption installation on a home, who handles each step, how long each takes and how to avoid the most common problems. Although the structure is similar across Spain, each autonomous community and each town hall has its own procedures.
The process at a glance
| Step | Who does it | Indicative time |
|---|---|---|
| 1. Municipal permit | Owner or installer, with the town hall | From days to several weeks |
| 2. Installation | A registered installation company | 1 to 3 days of work |
| 3. Installation certificate | Installer | When the work is finished |
| 4. Regional registration | Installer, with the autonomous community | Weeks |
| 5. Notification to the distribution company | Autonomous community or installer | Weeks |
| 6. Access contract and CAU code | Distribution company | Weeks |
| 7. Compensation agreement | Retailer and owner | Days to weeks |
In all, from signing the quote to the first bill with compensation, two to six months is usual.
Step 1: the municipal permit
Fitting panels on the roof is building work, so the town hall must authorise it or be informed of it. Depending on the municipality, it may be enough to make:
- A responsible declaration or prior notification: the owner notifies the work and can start without waiting for a reply. More and more town halls use this route for self-consumption.
- A minor works licence: the town hall must grant it before work starts.
Municipal taxes and reductions
- ICIO (tax on building, installation and works): a percentage of the cost of the work. Many town halls reduce it partly or wholly for solar installations.
- IBI (property tax): some municipalities offer reductions for several years for homes with self-consumption.
Check your municipality's by-laws before you start, because IBI reductions usually have a deadline for applying.
Protected buildings
In historic centres or buildings with some level of protection, there may be aesthetic restrictions or a need for additional reports. Check before asking for quotes.
Step 2: installation
The installation must be carried out by a company registered for low-voltage work. As well as fitting the panels, inverter and protection devices, it must:
- Comply with the Low Voltage Electrotechnical Regulation.
- Install the necessary safety devices.
- Configure the inverter for the chosen self-consumption arrangement.
Step 3: the installation certificate
When the work is finished, the installer issues the electrical installation certificate (the boletín) and, depending on the output, the technical design report or the project. For home installations of a few kilowatts, the technical report is normally enough.
Step 4: regional registration
The installation must be entered in the autonomous community's low-voltage installations register and its self-consumption register. This is normally done online and handled by the installer.
For installations of up to 15 kW on urban land, the process is simplified: they do not need the grid access and connection permits that other generating installations require.
Step 5: notification to the distribution company
Once the installation is registered, the autonomous community passes the details to the distribution company, or the installer does so directly, depending on the regional procedure. The distribution company:
- Assigns the CAU (self-consumption code), which identifies the installation.
- Updates the supply point's access contract to reflect the self-consumption arrangement.
- Configures the meter to measure exported energy, usually remotely through the smart meter.
This is the step that usually builds up the most delays. If many weeks pass without news, ask the installer to check the status of the file or contact the distribution company directly.
Step 6: the compensation agreement
If you choose the arrangement with surplus under compensation, you must sign a compensation agreement with your retailer. In most cases the retailer contacts you when it receives the information from the distribution company. If it does not, ask for it yourself.
From then on, your surplus starts being deducted on the bill. See how it is calculated in solar surplus compensation.
What happens to the surplus in the meantime
While the paperwork is under way, the installation can already produce and the home can use the energy directly, which cuts the bill from day one. But surplus exported to the grid may not be compensated until everything is activated. Some installers set the inverter to zero-export mode until then, so as not to give energy away.
Collective self-consumption
For shared installations, in addition to the above, you need to:
- Sign a distribution agreement with each participant's coefficient.
- Notify the distribution company of the participating CUPS supply points and the agreement.
- Have the approval of the owners' meeting.
More in shared solar in blocks of flats.
Documents worth keeping
- The quote and contract with the installation company.
- The municipal permit or notification and proof of ICIO payment.
- The installation certificate and technical report.
- Proof of entry in the regional register.
- The distribution company's notification of the CAU.
- The compensation agreement with the retailer.
- Invoices and data sheets for panels, inverter and battery.
- The equipment guarantees.
You will need these documents to apply for grants, tax deductions or reductions, to claim under guarantees and to sell the home in future.
How to avoid delays
- Choose an installer with experience of the paperwork in your autonomous community.
- Ask for the quote to include every step explicitly: municipal, registration, distribution company and retailer.
- Check the holder's details and the CUPS: a single wrong digit can block the file.
- Follow up every few weeks.
- Apply for municipal reductions within the deadline.
Case study: a legalisation that got stuck
A family in Toledo installed 3.6 kWp in May. The installer handled the municipal licence and regional registration in June. In September they still could not see surplus compensation on their bill.
Looking at the file, they discovered that:
- The CUPS in the technical report had one wrong digit.
- The distribution company had rejected the notification without anyone noticing.
- Over the summer they had exported about 1,400 kWh without compensation.
Once the CUPS was corrected, the distribution company assigned the self-consumption code within three weeks and the retailer activated compensation from the next bill. The surplus from the earlier months was not recovered.
Lessons: check every detail in the documents, ask the installer for proof of each step and, if after two months you have heard nothing from the distribution company, ask directly.
Document checklist
- A signed quote stating which paperwork is included.
- The municipal notification or licence and proof of ICIO payment.
- The installation certificate and technical report.
- Entry in the regional register.
- The distribution company's notification of the CAU.
- The compensation agreement with the retailer.
- An application for the IBI reduction, if your municipality has one.
Grants and deductions: how not to lose them over a piece of paper
As well as the municipal ICIO and IBI reductions, in recent years there have been other forms of support for self-consumption: subsidy programmes run by the autonomous communities with public funds, and income-tax (IRPF) deductions for works that improve a home's energy efficiency. Their conditions, deadlines and availability change often, so check them on your autonomous community's website and with the Tax Agency before signing the quote.
What does repeat in almost every scheme is the importance of documents and of doing things in the right order:
- Some grants must be applied for before the work starts. If you install first, you may be left out.
- Tax deductions linked to efficiency usually require energy certificates for the home issued by a technician, sometimes before and after the work.
- Invoices must be in your name and paid by traceable means, such as bank transfer or card.
- The installer must be registered and issue the corresponding installation certificate.
Keep a folder, paper or digital, with the whole file: accepted quote, invoices, proof of payment, installation certificate, regional registration, correspondence with the distribution company and photos.
Common mistakes
- Starting the work without checking whether the grant had to be applied for first.
- Not applying for the IBI reduction within the municipal deadline.
- Paying in cash and losing the ability to prove the expense.
- Assuming the installer handles everything without checking each step.
- Not signing the compensation agreement and giving surplus away for months.
Frequently asked questions
Can I install panels myself?
For an installation connected to the home's wiring, the law requires it to be carried out by a registered installation company, which issues the certificate. Small "plug-in" kits have their own complications and also need to be notified.
Do I need to change the meter?
With a bidirectional smart meter, usually not. The distribution company configures it remotely.
What does the paperwork cost?
Many installers include it in the quote. External costs are usually limited to the ICIO and municipal fees, often reduced.
What if the distribution company does not reply?
You can complain to the distribution company itself and, if that does not resolve it, to the energy authority of your autonomous community.
In short
Legalising a home self-consumption installation involves a municipal permit, the installation certificate, regional registration, notification to the distribution company with the assignment of the CAU and the compensation agreement with the retailer. The process usually takes two to six months. Choose an installer who includes all the paperwork, keep the documents and follow up, so that you start compensating your surplus as soon as possible.
Sources and further reading
- Ministerio para la Transición Ecológica y el Reto Demográfico (MITECO) (miteco.gob.es)
- Instituto para la Diversificación y Ahorro de la Energía (IDAE) (idae.es)
Last checked on .