Energy taxes: hydrocarbons (581), electricity (560) and IVPEE (583)
Last updated 3 August 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.
Special energy taxes are declared to the AEAT (the Spanish tax agency) using three forms: 581 (hydrocarbons, for manufacturers and tax warehouses), 560 (electricity, for marketers and direct consumers) and 583 (IVPEE, the 7% also paid by photovoltaics selling to the grid). Each requires prior registration and has its own deadlines in 2026. Managora calculates the quota and files the self-assessment for you.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €60.00 (21% VAT included), plus the tasa (official fee) where there is one.
What is new, and the law that applies
- RDL 7/2026, of 20 March (Plan Integral de Respuesta a la Crisis en Oriente Medio - Comprehensive Response Plan to the Crisis in the Middle East): from 22-3-2026 to 31-5-2026 the Special Tax on Electricity dropped to 0.5% and the VAT on electricity to 10%; petrol and diesel rates were reduced to the minimum of Directiva 2003/96/CE (Directive 2003/96/EC) (petrol to €359 and diesel A to €330 per 1,000 litres).
- From 1-6-2026 the IEE recovered the 5.11269632% and the VAT on electricity the 21%: the June extension required the April electricity CPI to exceed the year-on-year by more than 15% and it did not happen (AEAT note of 19-5-2026).
- RDL 18/2026, of 29 June: maintains the reductions on petrol and diesel from 1-7 to 30-9-2026 (monthly amount published by the AEAT) and plans to return the IEE to 0.5% in August and September only if the June or July electricity CPI exceeds +15% year-on-year; the refund for professional and agricultural diesel remains at a 0 rate in that period and is replaced by an extraordinary direct aid per litre (tranches of 10, 15 and 20 cents) managed by the AEAT.
- IVPEE 2026: the base is calculated with the first quarter at 90% and the second quarter excluded (RDL 7/2026), and with a 30% reduction on the remunerations of the third quarter and 40% on those of the fourth (RDL 18/2026); taxpayers who do not exceed €500,000 make a single instalment payment from 1 to 20-11-2026.
- Orden HAC/1433/2024, of 11 December: forms 560 and 591 modified with effects for periods and declarations from 1-1-2025.
What special taxes does energy pay in Spain and who do they affect?
The energy sector bears three state taxes managed by the Tax Agency which are always filed electronically: the Tax on Hydrocarbons (Ley 38/1992, articles 46 to 55, form 581), the Special Tax on Electricity or IEE (Ley 38/1992, articles 89 to 104, form 560) and the Tax on the Value of Electric Energy Production or IVPEE (Ley 15/2012, form 583).
Each one targets a different obligated party. Form 581 is filed by operators in the oil and gas sector (factories, tax warehouses, authorised warehousekeepers). Form 560 is filed mainly by electricity marketers, but also by consumers who buy directly in the market and non-exempt self-consumers. Form 583 reaches any producer who feeds electricity into the grid and charges for it, including a photovoltaic installation of an SME or an individual selling surpluses.
2026 is an atypical year: Royal Decree-laws 7/2026 and 18/2026 have temporarily reduced several rates due to the energy crisis, so the rate in force in the exact month of accrual must be applied. Managora monitors these figures for you in each period.
Who files form 581 for the Tax on Hydrocarbons and what are the deadlines?
Taxpayers are manufacturers and owners of factories and tax warehouses (authorised warehousekeepers), in addition to other obligated parties such as registered consignees. Upon importation, the tax is settled at customs, not with form 581. Each establishment needs to be registered in the territorial registry of the managing office and have its CAE code, keep stock accounting and cover the movement of products in the EMCS system (e-AD document).
The settlement period is monthly and the self-assessment is filed within the first 20 calendar days following the month in which the accruals occur. The quota is calculated by headings of the tariffs in article 50 of Ley 38/1992: petrol, diesel, LPG, natural gas, fuel oil or kerosene, in euros per 1,000 litres, per tonne or per gigajoule, depending on the product.
There are partial refunds for professional diesel (hauliers registered in the census of beneficiaries and vehicles) and for agricultural diesel. Between July and September 2026 the rate of this refund is €0, because the rates are reduced to the minimum allowed by Directiva 2003/96/CE (Directive 2003/96/EC) and there is no margin left to refund; in exchange, RDL 18/2026 replaces it in that period with an extraordinary direct aid per litre, with staggered amounts of 10, 15 and 20 cents, managed by the AEAT itself. The beneficiary therefore continues to receive financial compensation.
In the table of this guide you have the ordinary rates and the reduced ones since 22 March 2026. RDL 18/2026 maintains reductions on petrol and diesel between 1 July and 30 September 2026: the exact amount for each month is published by the AEAT on its electronic headquarters.
How does the Special Tax on Electricity work and who files form 560?
The IEE taxes the supply and consumption of electricity. It is borne by the final consumer on their bill, but the party who self-assesses form 560 is normally the marketer. Consumers who purchase energy directly in the production market and self-consumers whose energy is not exempt also file their own form 560.
The general rate is 5.11269632% on the same base calculated for the VAT of the supply (including tolls and charges), with minimum quotas of €0.5 per MWh for industrial uses (including agricultural irrigation), vessels moored in port and railways, and €1 per MWh in all other cases. Between 22 March and 31 May 2026 the rate dropped to 0.5% due to RDL 7/2026; from 1 June 2026 the 5.11269632% applies again.
Article 94 of Ley 38/1992 declares exempt, among others, the energy consumed by the owners of renewable production, cogeneration and waste installations of up to 50 MW, and that consumed in the production, transport and distribution facilities themselves. Article 98 adds an 85% reduction of the base for electrolysis, mineralogical and metallurgical processes, agricultural irrigation and industrial activities in which electricity exceeds 50% of the product cost or electricity purchases reach at least 5% of the production value.
These benefits are not automatic: they require prior registration in the territorial registry of the managing office, which assigns the CIE code (13 characters). With the CIE communicated to your marketer, the bill arrives with the exemption or reduction already applied. Form 560 is filed within the first 20 calendar days following the period: quarterly in general and monthly for those who settle VAT monthly. Managora processes the registration and the self-assessments.
What is the IVPEE and why does it affect your photovoltaic installation?
The IVPEE is a 7% tax on the total amount received by the producer for the electricity produced and incorporated into the electricity system (measured at the power plant busbars). It affects all technologies and all remuneration schemes: also a photovoltaic installation that sells its production or surpluses to the grid through a contract or market representative.
The tax period coincides with the calendar year. The annual self-assessment (form 583) is filed between 1 and 30 November of the following year. If the value of your production exceeds €500,000 there are four instalment payments (from 1 to 20 May, September, November and February); if it does not exceed it, only one instalment payment, from 1 to 20 November. Anyone who ceases activity between January and October settles with form 588.
2026 novelty: the base for the year is calculated with temporary reductions. Under RDL 7/2026, the remunerations of the first quarter compute only at 90% and those of the second quarter are completely excluded; RDL 18/2026 adds a 30% reduction on the remunerations of the third quarter and 40% on those of the fourth. For small installations this means a single instalment payment, from 1 to 20 November 2026, already reduced.
It is not advisable to let it pass: those who pay these remunerations inform the AEAT with form 591 (annual declaration of operations with taxpayers), so that the production fed into the grid and not declared ends up surfacing.
What happens if you file late or without being registered?
Filing out of time without a prior requirement generates the surcharges of article 27 of the Ley General Tributaria (General Tax Law): a fixed 1% plus an additional 1% for each full month of delay and, after 12 months, 15% plus late payment interest. If it is the Administration that detects and requires it, the sanctioning route is opened.
Operating without census registration has its own consequences: in hydrocarbons, acting without a CAE is a specific infringement of Ley 38/1992; in electricity, the exemption or the 85% reduction do not apply until the registration is done, so every month without a CIE is overpaid tax that is not always recovered.
If you drag out unfiled periods, regularising voluntarily as soon as possible reduces the surcharge. Managora reviews your situation, files the overdue periods and brings your census registration up to date.
How does Managora process these taxes for you?
Managora checks if you are obligated and by which form, processes the registration in the territorial registry (CAE or CIE) if you lack it, calculates the quota with the rates in force in each month of accrual (including the temporary reductions of 2026) and files the self-assessment at the AEAT headquarters on your behalf, period by period.
We only need your starting documentation: the CAE or CIE if you already have it, the books or stock accounting in hydrocarbons, the supply details in electricity, or the bills and settlements from the marketer in the case of the IVPEE. You can see the updated amount for each service on the procedure file: form 581, form 560 and form 583.
Order your self-assessment today: Managora prepares it, files it within the deadline and sends you the AEAT receipt.
Step by step
- 1
Identify which form corresponds to you
Manufacturers and tax warehouses for hydrocarbons: form 581. Electricity marketers, direct consumers to the market and non-exempt self-consumption: form 560. Producers selling electricity to the grid (also photovoltaic): form 583. Managora does this classification for you with your contracts and bills.
- 2
Register in the territorial registry (CAE or CIE)(Before starting the activity or applying any exemption or reduction.)
Registration is requested at the AEAT headquarters before the special taxes managing office of the establishment or tax domicile. In hydrocarbons, the CAE is obtained per establishment; in electricity, the 13-character CIE, which is also mandatory to apply exemptions under article 94 and the 85% reduction under article 98.
- 3
Prepare the books and documentation for the period
Hydrocarbons: stock accounting and EMCS movement documents (e-AD). Electricity: supply and self-consumption registry book and use certificates for the reduction. IVPEE: monthly bills or settlements from the marketer or market representative.
- 4
Calculate the quota with the rates in force for the month
In 2026, ordinary rates and reduced rates coexist due to RDL 7/2026 and 18/2026, with cut-off dates (22 March, 1 June, 1 July). The rate for the exact day of accrual must be applied; the AEAT publishes the monthly tables on its headquarters.
- 5
File and pay electronically(581 and 560: days 1 to 20 after the period. 583: 1 to 30 November of the following year (annual).)
The three forms are filed only online, with an electronic certificate or Cl@ve (the Spanish electronic identity system), at the AEAT headquarters. Form 581: first 20 calendar days of the following month. Form 560: first 20 days after the month or quarter. Form 583: own calendar of instalment payments and annual self-assessment in November of the following year.
- 6
Keep the receipts and attend to AEAT cross-checks
Keep self-assessments, books and bills for at least the 4-year statute of limitations period. In the IVPEE, the AEAT cross-checks your data with form 591 filed by those who pay you the remunerations.
A worked example
SME with a photovoltaic installation selling surpluses to the grid. 2026 remunerations: first quarter €12,000, second quarter €10,000, third quarter €11,000 and fourth quarter €9,000 (€42,000 in total, below €500,000: single instalment payment).
- 2026 reductions: first quarter at 90% (RDL 7/2026), second quarter excluded (RDL 7/2026), third quarter with a 30% reduction and fourth quarter with a 40% reduction (RDL 18/2026)
- Base for the single instalment payment of November 2026: 90% of the first quarter (€10,800) + €0 of the second quarter (excluded) + 70% of the third quarter (€7,700) = €18,500
- Instalment payment (1 to 20 November 2026): 7% of 18,500 = €1,295.00
- Annual taxable base for 2026: 10,800 + 0 + 7,700 + 60% of the fourth quarter (5,400) = €23,900
- Annual quota: 7% of 23,900 = €1,673.00
- Annual self-assessment (1 to 30 November 2027): 1,673.00 minus 1,295.00 already paid
€378.00 to be paid with form 583 in November 2027, after the instalment payment of €1,295.00 in November 2026.
The three energy taxes at a glance (August 2026)
| Tax | Form | Who files it | Rate | Deadline |
|---|---|---|---|---|
| Hydrocarbons | 581 | Manufacturers, tax warehouses and other taxpayers | By heading (euros per 1,000 L, t or GJ); temporary reductions in 2026 | Days 1 to 20 of the following month |
| Special on Electricity | 560 | Marketers, direct consumers to the market and non-exempt self-consumption | 5.11269632% (minimums €0.5 and €1/MWh) | Days 1 to 20 after the quarter or month |
| IVPEE | 583 | Producers incorporating electricity into the system (also photovoltaic selling to the grid) | 7% of remunerations | Annual: 1 to 30 November of the following year; instalment payments 1 to 20 May, September, November and February |
Tax on Hydrocarbons: ordinary rate versus reduced rate (RDL 7/2026)
| Product | Ordinary rate (euros per 1,000 litres) | Reduced rate since 22-3-2026 (euros per 1,000 litres) |
|---|---|---|
| Petrol 98 | 503.92 | 359.00 |
| Petrol 95 | 472.69 | 359.00 |
| Diesel A | 379.00 | 330.00 |
| Subsidised diesel | 96.71 | 21.00 |
IVPEE calendar (form 583)
| Obligation | Who | Deadline |
|---|---|---|
| 1st instalment payment (first 3 months) | Annual production exceeding €500,000 | 1 to 20 May |
| 2nd instalment payment (first 6 months) | Annual production exceeding €500,000 | 1 to 20 September |
| 3rd instalment payment (first 9 months) | Annual production exceeding €500,000 | 1 to 20 November |
| 4th instalment payment (full year) | Annual production exceeding €500,000 | 1 to 20 February of the following year |
| Single instalment payment | Annual production up to €500,000 | 1 to 20 November |
| Annual self-assessment | All taxpayers | 1 to 30 November of the following year |
I have a solar installation: does form 560 or 583 affect me?
| IEE: form 560 | IVPEE: form 583 | |
|---|---|---|
| What it taxes | The supply or consumption of electricity | The value of the electricity produced and fed into the grid |
| Who files it | The marketer; also direct consumers to the market and non-exempt self-consumption | The owner of the producing installation, including photovoltaics selling surpluses |
| Rate | 5.11269632% (minimums of €0.5 and €1 per MWh) | 7% of the remunerations received |
| Periodicity | Monthly or quarterly, days 1 to 20 after the period | Annual (1 to 30 November of the following year) with instalment payments |
| Prior registration | Registration in the territorial registry: 13-character CIE code | Without CAE or CIE: census registration and electronic filing with the AEAT |
Official forms and where it is filed
- Form 581. Tax on Hydrocarbons. Declaration-settlement (AEAT headquarters) ↗
- Form 560. Special Tax on Electricity. Self-assessment (AEAT headquarters) ↗
- Form 583. IVPEE. Self-assessment and instalment payments (AEAT headquarters) ↗
- Form 588. IVPEE. Self-assessment for cessation of activity from January to October (AEAT headquarters) ↗
- Application for registration in the territorial registry of Special Taxes (CAE / CIE) ↗
Frequently asked questions
I have solar panels at home with surplus compensation, must I file form 583?
If you only compensate surpluses on the bill (simplified compensation), you do not receive remuneration for the sale of energy and, in general, you do not carry out the taxable event of the IVPEE. If you sell surpluses to the market or through a representative and charge for them, you must file it. Managora reviews your contract and confirms this before processing anything.
What paperwork do I need for Managora to file my form 583?
The monthly bills or settlements issued to the marketer or market representative during the financial year to be settled. With that we calculate the base, the instalment payments and the annual self-assessment, and we file everything electronically.
How much electricity tax is paid on the bill in 2026?
The general rate is 5.11269632% on the supply base, with minimums of €0.5 per MWh in industrial uses and €1 per MWh in the rest. Between 22 March and 31 May 2026 a temporary 0.5% was applied; from 1 June the general rate applies again, unless the reduction planned for August and September by RDL 18/2026 is activated.
Can my company pay less electricity tax?
Yes, if it fits into the 85% reduction of article 98 of Ley 38/1992: electrolysis, mineralogical or metallurgical processes, agricultural irrigation, or industries in which electricity exceeds 50% of the product cost or electricity purchases reach 5% of the production value. It requires registering beforehand in the territorial registry and communicating the CIE to your marketer; Managora processes the complete registration.
What happens if I file form 560 or 581 out of time?
If you regularise before Hacienda (the Spanish tax authority) requires you to, you will pay the surcharge of article 27 LGT: 1% plus 1% for each full month of delay, and 15% plus interest if it exceeds 12 months. If there is a requirement, there may be a penalty. The sooner it is filed, the lower the cost: Managora regularises overdue periods.
Is the petrol tax still reduced in August 2026?
Yes. RDL 18/2026 maintains reduced rates for petrol and diesel between 1 July and 30 September 2026, and the reduction for August and September is extended if the CPI for these products rises more than 15% year-on-year. The exact amount for each month is published by the AEAT on its headquarters in a monthly table.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €60.00 (21% VAT included), plus the tasa (official fee) where there is one.
Related procedures
The price, the tasa (official fee) and the current deadlines are on each procedure page.
- Modelo 581: Hydrocarbon Tax (self-assessment)Self-assessment of the Hydrocarbon Tax (Ley 38/1992 LIIEE arts. 50-55). Who must file: manufacturers, autho...
- Modelo 560: Special Tax on Electricity (Impuesto Especial sobre la Electricidad)Self-assessment return for the Impuesto Especial sobre la Electricidad (IEE, special tax on electricity): L...
- Presentación del Modelo 583 (IVPEE) para Instalaciones Renovables (Filing of Modelo 583 for Renewable Energy Installations)We calculate and file the Impuesto sobre el Valor de la Producción de la Energía Eléctrica (IVPEE, tax on t...
Related guides
- VAT for the self-employed in Spain: modelo 303 and modelo 390
- Registering as autónomo in Spain: Hacienda and Seguridad Social
- IRPF for the self-employed in Spain: payments on account and withholdings
- The Spanish tax return (IRPF, modelo 100)
- Spanish Corporation Tax: modelo 200 and instalment payments
- How to Set Up a Sociedad Limitada (SL) in Spain: Steps, Capital and Accounts
- Registering a Trademark (OEPM and EUIPO): Steps and Renewal
- Hiring an employee: Seguridad Social registration and contract
- Managing a Spanish SL: directors, bylaws, capital and company books
- Deferring debts with Hacienda and Social Security
- Opening a premises: opening, activity and building licences
- Hacienda informative returns: forms 347, 349, 720 and 721
- Kit Digital: the grant to digitise freelancers and SMEs
- Deregistering as an autónomo and cessation of activity (self-employed unemployment)
- Change your tax address and census details (Form 030)
- Dissolve and liquidate a limited company: steps, deadlines and costs
- Digital certificate and electronic signature for companies and autónomos in Spain
- Register a patent, a design or a work: protect your creation
- Opening or taking over a bar in Spain: licences, APPCC and allergens
- Importing and exporting: EORI, DUA and customs
- Appealing to Hacienda: TEAR/TEAC, rectification and binding rulings
- Company powers of attorney: notarial and electronic (Apodera/REA)
- E-commerce VAT: the One Stop Shop OSS/IOSS (modelo 369)
- Spanish wealth tax and the tax on large fortunes (modelo 714)
- Public subsidies for companies and freelancers: how to apply
- Commercial contracts: sale, agency, distribution and senior management
- Capital yield and non-resident withholdings: forms 123, 193 and 216
- Changes to your company: registered office, corporate purpose and capital reduction
- Maternity deduction and dependent child benefits (form 140)
- Advanced corporate tax obligations: related-party transactions (232) and income attribution (184)
- Ordered to close your premises: how to appeal the closure order and stay open
- You own 5% of a company and they hide the accounts: how to force an audit at the company's expense
- Modelo 211: the 3% withholding when you buy a property from a non-resident
- Leaving the recargo de equivalencia as an ecommerce or Amazon seller
- AEAT financial information returns: forms 165, 345, 198, 117 and 038
- Recover VAT: refund of VAT paid in another EU country (360-361) and special cases (308)
- Environmental taxes: non-reusable plastic (592), waste (593) and fluorinated gases (587)
- Group taxation: tax consolidation (220 and 222) and VAT group (039, 322 and 353)
- Financial sector taxes: the tasa Tobin (Tobin tax, 604) and the insurance premium tax (480)
- Form 037: the simplified census registration versus form 036
- Cryptocurrencies and Hacienda: the tax report and how to reply to a request
- Platform economy: DAC7 (forms 040 and 238) and the digital services tax (490)
- The exit tax: the tax on leaving when moving your residence outside Spain
- Company IAE: form 848, municipal self-assessment and deferral of local taxes
- The 7p exemption: work carried out abroad free of income tax up to €60,100
- Tax representative in Spain and the special tax of form 213
- Tax residence in Spain and double taxation conflicts
- The RIC: Canary Islands investment reserve and form 282
- Content creators (OnlyFans, YouTube, Twitch): registration and taxes
- Ex officio review and extraordinary appeal: appealing when the deadline has passed
- International trademark: the Madrid System (WIPO) and the European Union trademark (EUIPO)
- Defending your trademark: opposition, suspension, nullity, revocation and monitoring (OEPM)
- The comunidad de bienes: setting it up, taxes and when to choose an SL
- Corporate director or shareholder: classification, RETA registration and contributions
- The shareholders' agreement and the participatory loan: shielding and financing the company
- Buying or selling a company: the share purchase agreement (SPA)
- The partner's right of separation: dividends (art. 348 bis) and other causes
- Mergers and spin-offs: structural modifications and the FEAC tax regime
- Opening a branch of a foreign company in Spain: registration and obligations
- Negative assessment and closed sheet: unblocking your company at the Commercial Registry
- The family business: family protocol and generational handover with ISD reduction
- Voluntary insolvency proceedings: when your company cannot pay
- Business financing contracts: factoring, leasing, renting and credit assignment
- The franchise contract: setting up a business under another brand
- The software and SaaS licence contract: what it must cover
- The food health register (RGSEAA): step-by-step registration
- Opening a clinic or aesthetic centre: the health operating authorisation
- Selling cosmetics in the EU: CPNP notification and the responsible person
- The zoological centre register: breeders, boarding kennels and pet shops
- Operating drones professionally: registering as an operator with AESA
- Denied premises licence or unlicensed activity: how to legalise it
- Reporting to the CNMC: unfair market competition and administrative barriers
- Company statistical and registry obligations: INE, Intrastat and Registro Industrial
- Selling on Amazon Europe: Extended Producer Responsibility (EPR) and LUCID
- Publish a book or magazine: ISBN, ISSN and legal deposit
- The security guard TIP: requirements, exam and issuance
- Reporting workplace bullying or sexual harassment to the Labour Inspectorate
- Civil servants: requesting compatibility for another activity and voluntary transfer