A foreigner can buy a solar farm in Spain on the same terms as a Spaniard: in 2026 an operating plant costs about €596,000 per megawatt on average, and a permitted ready-to-build project €10,000–56,000 per MW. The main risks are cheap midday power and grid connection deadlines. Dividends from your own SL are compatible with a non-lucrative residence permit.
Below: grid access rights, OMIE wholesale prices, the numbers for two plants, taxes and the owner’s residence permit. Other sectors are covered in our overview of doing business in Spain.
Three ways in: regulated plant, merchant plant, project
A solar plant is a bundle of rights: a grid connection, land or a roof, a source of income and a company that owns it all. The price and the risk depend on which of those rights are already secured.
- Operating plant with regulated income (régimen retributivo específico). Plants built before 2013 under the old tariffs receive, on top of the market price, a payment from the system for every megawatt installed — until the end of their 30-year regulatory life. This is the most predictable income and the shortest: for a plant commissioned in 2008 it ends around 2038.
- Merchant plant, selling power on the wholesale market, or a plant with a long-term power purchase agreement (PPA). Income is output multiplied by the price captured in the hours the plant generates. PPAs are usually signed for tens of megawatts, so 1–2 MW plants more often sell on the market through a market representative.
- Ready-to-build project: grid rights, land and permits are in place, the plant is not. You pay for the time and risk the seller has already carried, and you build it yourself.
According to the nTeaser transaction database (pv magazine, 23 July 2026), in the second quarter of 2026 operating plants were valued at €490,000–720,000 per MW, €595,700 on average, and ready-to-build projects at €10,000–56,000, €32,600 on average. In early 2024 an operating megawatt cost around €1.1 million. Plants with regulated income sell at a premium.
Construction is priced from contractors’ quotes; IRENA’s benchmark is USD 691 per kilowatt as the 2024 global average, and in Spain the cost rose 22% in a year.
Grid connection: access rights and milestone deadlines (hitos)
Free capacity at grid nodes is the scarcest resource. To apply for access and connection (permisos de acceso y conexión), a generator posts a guarantee of €40 per kilowatt — €40,000 per megawatt (article 23 of RD 1183/2020). Applications are queued by the date and time a complete application was filed; released capacity may be allocated by tender (articles 7 and 18).
The rights are kept only by passing the milestones (hitos) in article 1 of RD-ley 23/2020. For rights obtained after 25 June 2020, the deadlines run from the date the rights were granted:
| Milestone | Deadline from the grant of access rights |
|---|---|
| Application for prior authorisation (AAP) filed and admitted | 6 months |
| Favourable environmental impact statement obtained | 31 months |
| Prior authorisation (AAP) obtained | 34 months |
| Construction authorisation (AAC) obtained | 37 months |
| Final operating authorisation (AAE) obtained | 5 years |
A missed milestone means automatic loss of the rights and of the guarantee. For rights obtained between 2018 and 27 December 2023, the AAC deadline is extended to 49 months, and the AAE deadline, on application, to 8 years (article 28 of RD-ley 8/2023).
When you buy a project, you are buying these dates: if less time is left before the AAE deadline than construction needs, the project is worth less than the seller is asking.
Permits, environmental assessment and land
Plants up to 50 MW are authorised by the regional government, larger ones by the national ministry (article 3.13.a of Ley 24/2013). The sequence is the same: AAP, AAC, AAE. In parallel come planning permission (on rural land this is a separate procedure under regional law) and, for some plants, an environmental assessment under Ley 21/2013:
- ordinary assessment — ground-mounted plants over 100 ha, and over 10 ha in protected natural areas (Annex I);
- simplified assessment — other ground-mounted plants; plants under 5 ha are exempt unless they meet general criteria 1 or 2 of that annex (Annex II, group 4.j);
- plants on roofs and building rooftops are not on these lists.
Land is usually leased for the life of the plant or held through a building right (derecho de superficie). For reference: the average rent for farmland in Spain in 2024 was €166.8 per hectare a year (Ministry of Agriculture survey, March 2026), while at the peak of demand in 2021 the Murcia growers’ association Aremur quoted up to €2,000 per hectare for solar plants. The contract needs a term no shorter than the plant’s life and a decommissioning clause. In areas important to national defence, a non-EU foreigner needs military authorisation both to buy the plot and to take a building right (article 18 of Ley 8/1975) — where these zones are, we covered in our article on buying a winery in Spain.
Power prices: why the solar midday keeps getting cheaper
The OMIE power exchange publishes a price for every hour, and since October 2025 for every 15 minutes. We processed every daily file from 1 January 2024 to 19 October 2026: the average price is rising, but in the hours when solar plants generate it falls, because they all sell at the same time.
| Indicator | 2024 | 2025 | 2026 (1 Jan–19 Oct) |
|---|---|---|---|
| Average market price, €/MWh | 63.04 | 65.29 | 79.63 |
| Hours at zero or below | 784 | 805 | 1,041 |
| of which negative | 247 | 552 | 686 |
| Average price 10:00–17:00, €/MWh | 41.89 | 33.02 | 25.64 |
| Price captured by a fixed-tilt plant, €/MWh | 38.99 | 32.72 | 28.63 |
| Same as a share of the average market price | 62% | 50% | 36% |
The last two rows are the captured price: hourly OMIE prices weighted by the output of a model plant near Ciudad Real from the European Commission’s PVGIS tool. A single-axis tracker plant captured more: €41.59, €36.99 and €40.10. The Spanish solar association UNEF reports similar figures for the whole national fleet: €42.28 in 2024, €36.39 in 2025 and €29.68 in the first half of 2026.
This is price cannibalisation: the more solar plants there are, the cheaper their midday becomes. In 2026 the average price rose because of gas — €143 per MWh in September, €159 in October — yet a fixed-tilt plant captured less than in 2025. Low and negative prices are the main argument for batteries or for regulated income.
Regulated income: what you buy with a 2008 plant
A plant built under the old tariffs earns from selling power plus the retribución a la inversión, a fixed annual amount for every megawatt. It is set so that a standard installation (instalación tipo) earns a reasonable return: 7.398% for plants that had tariffs before the 2013 reform and did not sue the state over the reform, and 7.09% for the rest (final provision 3 bis of Ley 24/2013, Orden TED/53/2026).
An example from Annex IV of Orden TED/53/2026: a fixed-mount plant of 5 to 100 kW commissioned in 2008 (code IT-00030) receives €569,336 per megawatt a year, with a 30-year regulatory life. For a 100 kW plant that means €56,934 a year on top of power sales, provided it runs at least 424 equivalent full-load hours; below 212 hours there is no payment, and between the two thresholds it is reduced.
All parameters except the regulatory life and the standard investment value are reviewed every six years, and the market price estimates every three. You are buying a stream of payments until the end of the 30 years, not “7.398% a year” on your purchase price.
What a plant earns: the numbers for a budget of up to €600,000
Two examples with shared assumptions. Output: 1,638 MWh a year per megawatt for fixed-tilt mounting near Ciudad Real (PVGIS, 14% losses). Maintenance, insurance, security, market representative and accounting: our assumption of €15 per kilowatt a year; land: 2 ha at €1,000; IBI property tax: €1,500. Generation tax 0% (from 2028), corporate tax 17%, depreciation 1/30 of the price a year. No panel degradation, inverter replacement or downtime — this is an order of magnitude, not a financial model.
| Item | €28.63/MWh (as in 2026) | €32.72/MWh (as in 2025) | €45/MWh |
|---|---|---|---|
| Revenue: 1,638 MWh × price | 46,896 | 53,595 | 73,710 |
| Costs: 15,000 + 2,000 + 1,500 | 18,500 | 18,500 | 18,500 |
| Pre-tax cash flow | 28,396 | 35,095 | 55,210 |
| Corporate tax 17% after depreciation of 19,857 | 1,452 | 2,591 | 6,010 |
| After-tax cash flow | 26,944 | 32,505 | 49,200 |
| Simple payback, years | 22.1 | 18.3 | 12.1 |
At today’s captured prices a merchant plant pays back in 18–22 years — almost its entire life. It starts to make sense at a captured price of €45 or more, or with a cheap entry price.
The second example is a 100 kW regulated plant from 2008 (code IT-00030): €56,934 in regulated payments plus €5,360 for 163.8 MWh at €32.72; with €4,000 of costs, pre-tax cash flow is €58,293 a year, and in 2027, with the generation tax at 3.5%, €56,113. Bought at the start of 2027, this stream over the 12 years until the regime ends is worth €515,000 at a 5% discount rate, €461,000 at 7% and €415,000 at 9%. After 2038 the plant becomes a merchant plant earning about €5,000 a year. Whatever the seller asks above the value of the stream at your required return is the price of the market years after 2038.
Both calculations are before personal tax: dividends from the company are taxed on the savings scale at 19% to 30% (more on dividends from your own company after moving to Spain).
Taxes: IVPEE, IBI, IAE and SL corporate tax
- Electricity generation tax (IVPEE). 7% of everything the plant earns for its output, including the regulated payment (articles 6 and 8 of Ley 15/2012). In 2026 the tax base is reduced: by 10% for the first quarter, in full for the second, by 30% for the third and by 40% for the fourth (article 14 of RD-ley 18/2026). In 2027 the rate is 3.5%, from 2028 it is 0%, and no return is due at the zero rate (article 10.6 of Ley 15/2012 as amended by RD-ley 25/2026).
- IBI (property tax). A ground-mounted plant is usually registered in the Cadastre as a special-characteristics property (BICE, article 8.2.a of the Cadastre Act, TRLCI). The standard rate is 0.6%; the town hall may set it between 0.4% and 1.3% and grant a discount of up to 90% (articles 72.2 and 74.3 of the Local Finance Act, TRLRHL). Check the Cadastre entry and past years’ bills.
- IAE (business activity tax). Solar generation falls under heading 151.4; a company with turnover under €1 million is exempt (article 82.1.c TRLRHL).
- Corporate tax. A company with turnover under €1 million pays, in 2026, 19% on the first €50,000 of profit and 21% above that; from 2027, 17% and 20% (article 29.1 and transitional provision 44 of Ley 27/2014). The plant can be depreciated at up to 7% a year over up to 30 years (article 12).
- IVA (VAT). Charged on the power sold, while the company recovers the IVA on construction and maintenance: it does not affect profit.
The plant is held in a Spanish SL: risks are ring-fenced, the plant is easier to sell together with the company, and profits can be retained inside it. Several companies can sit under a holding company. The purchase is funded with share capital or a shareholder loan, and the books are kept by a gestor.
Tell us your situation — we reply within the hour
What to check before the deal
- Rights and permits. Capacity and date of the grid rights, milestones passed and time left before the AAE deadline; AAP, AAC, AAE, environmental and planning permits, entry in the register of generators.
- Source of income. For a regulated plant, the standard installation code and the year the regime ends; for a PPA, the price, term, offtaker’s creditworthiness and the rules for negative-price hours.
- Actual output. Monthly data for 3–5 years, settlements with the market representative, comparison with PVGIS, curtailment hours.
- Debts. If you buy the plant as a going concern, you are liable for the seller’s tax debts (article 42.1.c of the General Tax Act, LGT) unless you obtain a tax certificate in advance with the seller’s consent (article 175.2 LGT). If you buy the company, you take on all its liabilities: you need tax and social security certificates and a check of IVPEE and IBI for past years.
- Investment screening. Energy is expressly named in article 7 bis of Ley 19/2003: an investor from outside the EU acquiring 10% or more of the company, or control, must check whether prior government authorisation is required. How a share purchase or a traspaso (transfer of a going business) works is covered in our article on buying an existing business.
It is best to set up the acquisition company before the deal, so that contracts, rights and the bank account are in its name from the start — this is part of business registration in Spain.
The foreign owner: can you live on the plant’s income with a non-lucrative permit?
Yes, and for a solar plant it is the most natural residence permit. The non-lucrative residence permit is granted to people who live in Spain “sin realizar actividades laborales o profesionales” — without carrying out employed or professional work (article 61 of RD 1155/2024): without working, but not without income. If the funds for the permit come from shares in Spanish companies, the applicant proves with a certificate and a declaration that they do not work in them (article 62.3). The threshold is 400% of IPREM (Spain’s public income benchmark) a month for the applicant and 100% for each family member.
You are the shareholder; contractors, the gestor and the director run the plant. The danger zone is the director’s role: a person who manages the company for remuneration and controls it (the law presumes control from one third of the capital, or from one quarter for someone with management functions) must pay social security as self-employed, autónomo (article 305.2.b of the General Social Security Act, LGSS) — and that is work. In practice lawyers disagree about an unpaid director holding a non-lucrative permit, so it is safer not to take the role.
If you want to build and run the plant yourself, you need a self-employment residence permit with a business plan — and a solar plant suits it poorly, since there is little work in it. If you already live in Spain on a non-lucrative permit and decide to work in your company, you need a change of permit to cuenta propia.
An owner’s taxes are planned before the move: a Spanish resident pays Spanish tax on dividends and, with substantial wealth, wealth tax too. You can go through the plant purchase and the residence permit for your family at a consultation.
Panels on your own roof: not a business, but a saving
A rooftop installation on a home or warehouse for your own consumption (autoconsumo) is a different regime, RD 244/2019. It lowers your electricity bill rather than generating income:
- no grid access rights are needed for installations that do not export, or for installations up to 15 kW exporting surplus on urbanised land (article 17 of RD 1183/2020);
- surplus up to 100 kW can be offset against your electricity bill under a simplified scheme, but not sold at a profit (articles 4.2.a and 14 of RD 244/2019);
- the town hall may grant up to 50% off IBI and up to 95% off the construction tax ICIO (articles 74.5 and 103.2.b TRLRHL);
- in 2026 there is an IRPF (income tax) deduction: 10% of the cost of an installation in your own property and 20% in a residential apartment building, on a base of up to €5,000 a year, if the installation is completed in 2026 and not used for a business (additional provision 62 of Ley 35/2006); subsidies under RD 477/2021 programmes are not included in the IRPF base (additional provision 5.4).
Under the Beckham regime tax is calculated under non-resident rules (article 93.2 of Ley 35/2006), and these deductions do not apply.
Frequently asked questions
Can I own a solar plant and earn income from it on a non-lucrative residence permit?
Yes, if the plant belongs to a company and you hold shares and receive dividends. If the income for the permit comes from shares in a Spanish company, you prove with a certificate and a declaration that you do not work in it (article 62.3 RD 1155/2024).
Can I be the director of my own SL on a non-lucrative permit?
It is risky. A director who controls the company and is paid must contribute to social security as autónomo (article 305.2.b LGSS), and that is work, incompatible with a permit that does not allow working. In practice lawyers disagree about an unpaid director, so it is safer to appoint someone else as director.
How much does an operating solar farm in Spain cost?
According to nTeaser for the second quarter of 2026, €595,700 per megawatt on average, in a range of €490,000–720,000. A ready-to-build project costs €10,000–56,000 per megawatt, construction not included. Plants with regulated income are more expensive: their price is set by the stream of payments until the end of the 30-year life.
How much does a 1 MW solar plant earn?
With output of 1,638 MWh and a captured price of €32.72, as in 2025, about €53,600 in revenue and €32,500 after tax a year: a purchase at €595,700 pays back in about 18 years, and at 2026 prices in 22.
Are there tax deductions for solar panels on my roof?
Yes. In 2026 you can deduct from IRPF 10% of the cost of a self-consumption installation in your own property, or 20% in a residential apartment building, on a base of up to €5,000 a year. Subsidies under RD 477/2021 programmes are not included in the IRPF base. Under the Beckham regime IRPF deductions do not apply.
What happens to a solar plant when the market price is negative?
A merchant plant pays to sell its power in those hours, so it is usually switched off. From 1 January to 19 October 2026 there were 686 such hours, and 1,041 hours at zero or below. The regulated payment per megawatt does not depend on the hourly market price.
Key points about buying a solar farm in Spain as a foreigner
- An operating plant costs €595,700 per MW on average, a ready-to-build project €10,000–56,000 (nTeaser, Q2 2026).
- Grid rights require a €40 per kW guarantee and lapse if the plant does not obtain its operating permit within 5 years.
- In 2026 solar captured about €29 per MWh against an average market price of about €80: a merchant plant pays back in 18–22 years.
- A regulated plant gives a predictable stream until the end of its 30-year life; IVPEE is 0% from 2028.
- You can own a plant through an SL and live on dividends with a non-lucrative permit, as long as you do not work in the company.
Sources
Grid connection and permits: RD 1183/2020, arts. 7, 17, 18, 23, 26; RD-ley 23/2020, art. 1; RD-ley 8/2023, art. 28; Ley 24/2013, art. 3.13 and final provision 3 bis; Ley 21/2013, Annexes I and II.
Income and market: Orden TED/53/2026, art. 3 and Annex IV; OMIE, marginalpdbc files (our calculation, 01.01.2024–19.10.2026); PVGIS; pv magazine, nTeaser, 23.07.2026; IRENA, Renewable Power Generation Costs in 2024; UNEF, Informe Anual 2026 — Energías Renovables.
Taxes: Ley 15/2012, arts. 6, 8, 10; RD-ley 18/2026, arts. 14–15; Ley 27/2014, arts. 12, 29, additional provision 17, transitional provision 44; TRLRHL, arts. 72–74, 82, 103; TRLCI, art. 8; IAE tariffs, heading 151.4; Ley 35/2006 (IRPF), arts. 66, 93, additional provisions 5 and 62; RD 244/2019, arts. 4 and 14.
Transaction and residence: LGT, arts. 42.1.c and 175.2; Ley 19/2003, art. 7 bis; Ley 8/1975, art. 18; RD 1155/2024, arts. 61 and 62; LGSS, art. 305.
- Three ways in: regulated plant, merchant plant, project
- Grid connection: access rights and milestone deadlines (hitos)
- Permits, environmental assessment and land
- Power prices: why the solar midday keeps getting cheaper
- Regulated income: what you buy with a 2008 plant
- What a plant earns: the numbers for a budget of up to €600,000
- Taxes: IVPEE, IBI, IAE and SL corporate tax
- What to check before the deal
- The foreign owner: can you live on the plant’s income with a non-lucrative permit?
- Panels on your own roof: not a business, but a saving
- Frequently asked questions
- Can I own a solar plant and earn income from it on a non-lucrative residence permit?
- Can I be the director of my own SL on a non-lucrative permit?
- How much does an operating solar farm in Spain cost?
- How much does a 1 MW solar plant earn?
- Are there tax deductions for solar panels on my roof?
- What happens to a solar plant when the market price is negative?
- Key points about buying a solar farm in Spain as a foreigner
- Sources