
Spain and the controversial solar tax
by Måns Löfgren | SkyBlueMedia Sweden AB Photo: Pixabay | Source: Copilot
Spain is now one of Europe's leading solar power producers, but the road to getting there has not been a smooth one. Despite having one of the continent's best climates for solar energy, the country was held back for several years by deeply unpopular legislation: the so-called solar tax.
This controversial policy from 2015 became a symbol of how political decisions can slow down otherwise obvious technological developments. After a rocket start in the first decade of the 2000s – when generous subsidies made Spain one of the world’s fastest-growing solar markets – development reversed in the wake of the financial crisis of 2008. Support was drastically cut, and as the state tried to stabilize the economy, strict restrictions were imposed on new capacity.
Tax on electricity you did NOT buy...
The biggest obstacle, however, came in 2015, when the government introduced the “impuesto al sol,” or solar tax. It meant that households that produced their own electricity not only had to register their installations, but also risked fees for the electricity they did not buy from the grid. Critics argued that the law effectively protected the business models of the big energy companies and penalized ordinary consumers who wanted to become more self-sufficient.
The results were immediate. Between 2013 and 2018, Spain's solar deployment almost completely stagnated, while other European countries accelerated. Installers, investors and private individuals testified to bureaucratic obstacles, uncertainty and high costs.
Spain, previously hailed as a pioneer of solar power, was transformed in the media into “the country that taxed the sun.” The irony was that the country had perhaps the best conditions in Europe for locally produced solar electricity – but the regulations made the technology unattractive.
Solar tax is removed
It was not until 2018, when a new government took office, that the solar tax began to be abolished. The reform opened the door to a rapid recovery. In the following years, investments rose sharply, and Spain regained its place as one of Europe’s leading solar energy nations. But the new boom also brought unexpected challenges: so much new solar power has been built that the country is producing more electricity than it can use on some days. This has led to negative electricity prices, overproduction and solar parks being forced to temporarily shut down – a clear sign that expansion now requires more storage, smarter grids and better integration.
Despite these new challenges, today’s situation is still a testament to how quickly developments can turn around when political obstacles are removed. The solar tax has become a cautionary tale of how misguided legislation can slow down innovation – but also a reminder that even good technological solutions require the right economic and political frameworks to flourish. Spain is now back on the side of the sun, and is unlikely to repeat the mistake of trying to tax it.

Tips for those of you who live in Spain and want to get solar energy
If you own a home in Spain, the time since the abolition of the solar tax has opened up completely new opportunities. Today, the process is significantly simpler, but there are still some steps and considerations that make the investment both safer and more profitable.
1. Start with a local energy analysis
Contact a reputable installer who can do a free or low-cost assessment of your home's location, roof angle and consumption patterns. In Spain, electricity rates vary throughout the day, so correct sizing is crucial for maximum savings.
2. Choose a certified installer
There are many players on the market. Choose a company that is registered with the regional energy authority and that offers both installation, documentation and assistance with the application process. Avoid players who only provide verbal quotes or heavily discounted packages without clear terms.
3. Check if the residential area has special rules
If you live in a comunidad (housing association), approval from the board or neighbors is often required – especially in complexes with shared roofs or aesthetic rules. This step can take some time, so start here.
4. Apply for “autoconsumo” – and don’t miss out on the grants
Spain offers various types of support that vary regionally, such as deductions on “IBI” (property tax) or subsidies for installation. The installer can usually help, but check with the municipality yourself so you don’t miss application deadlines.
5. Decide if you want battery storage
In sunny regions, a battery can allow you to use a larger portion of your own generated electricity, which is becoming increasingly attractive as electricity prices move up and down. A battery is not a requirement, but it provides greater independence and more stable savings.
6. Always write a clear agreement - ask for a detailed quote that includes everything:
panels and inverters
installation and assembly
warranties (at least 10 years on labor and 20–25 years on panels)
any administrative costs
service agreement
A transparent agreement makes it easier to compare suppliers and avoid hidden costs.
7. Think long-term – both operations and value addition
Solar panels in Spain are not only a cost-saving measure but also a value-enhancing measure. For rental properties, lower energy costs can also make the property more attractive to long-term guests.