Topic · What Spain’s tax office knows about your crypto

What the Spanish tax office knows about your crypto: models 172, 173, 721 and DAC8

By · Updated

In short

More than most people think. Since the 2023 tax year, every crypto provider resident or established in Spain reports to the Tax Agency each January: your balance at 31 December (Modelo 172) and every purchase, sale, swap and transfer you made (Modelo 173). If you hold more than €50,000 in crypto with providers abroad, you must report it yourself by 31 March (Modelo 721). On top of that, the EU directive known as DAC8 applies from 1 January 2026: exchanges authorised in other EU countries collect data on Spanish residents, and the first exchange of 2026 data between tax offices is due by 30 September 2027. Spain’s own law to transpose DAC8 lapsed on 6 October 2026, when the Cortes were dissolved, and the European Commission gave Spain two months to act on 19 November. None of this changes what you owe: crypto gains were already taxable, and the data simply makes it easier to check.

The US GENIUS Act takes effect on 18 January 2027. What it means if you hold USDT or USDC in the UAE or Spain. The GENIUS Act and your USDT or USDC

How bitcoin is taxed in Spain: the 19% to 30% scale, swaps and FIFO. Bitcoin tax in Spain

Sitting on a loss? How to offset it before 31 December. Offset crypto losses in Spain

Key facts

Spanish providers
Report your balance at 31 December (Modelo 172) and all your operations (Modelo 173) every January, since the 2023 tax year
Crypto abroad
You report it yourself (Modelo 721) if it totals more than €50,000 at 31 December, from 1 January to 31 March
DAC8
EU directive 2023/2226: applies from 1 January 2026; first exchange of 2026 data by 30 September 2027
Spain’s DAC8 law
Bill 121/000060 lapsed on 6 October 2026 with the dissolution of the Cortes
European Commission
Reasoned opinion to Spain on 19 November 2026: two months to act
Your own wallet
Not reported by any provider, but transfers in and out of an exchange are
What you owe
Unchanged: gains are taxed at 19% to 30% when you sell, swap or pay with crypto

Before the tax office cross-checks it: paste your trades into the free Spain crypto tax calculator and see your gains and losses with FIFO and the tax by band. Nothing leaves your browser. Open the Spain crypto tax calculator

What Spain’s tax office knows about your crypto

What the tax office already receives

Spain started collecting crypto data before the rest of the EU. Since the 2023 tax year, providers resident or established in Spain that hold crypto for clients, exchange it or act as intermediaries file two returns every January. Modelo 172 shows each client’s balances at 31 December. Modelo 173 lists each client’s operations: purchases, sales, swaps and transfers, with dates, amounts and values. The rules are in articles 39 bis and 39 ter of the general tax management regulation and Order HFP/887/2023.

Who tells the Spanish tax office about your crypto, and when
ReportWho files itWhat it showsWhen
Modelo 172Crypto providers resident or established in SpainEach client’s balances at 31 DecemberEvery January, for the year before
Modelo 173Crypto providers resident or established in SpainEach client’s operations: purchases, sales, swaps and transfersEvery January, for the year before
Modelo 721You, if you are tax resident in SpainCrypto held with providers abroad, if it totals more than €50,000 at 31 December1 January to 31 March
DAC8 (EU)Crypto providers authorised in other EU countries, through their tax officeSpanish residents’ transactions from 1 January 2026First exchange of 2026 data by 30 September 2027
Your tax return (IRPF)YouGains and losses when you sell, swap or pay with cryptoApril to June, for the year before

Sources: Spanish Tax Agency (models 172, 173 and 721), Council Directive (EU) 2023/2226. Crypto in your own wallet, with no provider, is not reported by anyone; transfers to and from an exchange are.

So if you used a Spain-based exchange in 2026, the Tax Agency will have your 2026 balance and trades in January 2027, months before you file your 2026 return between April and June.

Crypto abroad: Modelo 721

For crypto held with providers outside Spain, the duty falls on you. Tax residents must file Modelo 721 between 1 January and 31 March if the total held abroad was more than €50,000 at 31 December, and again in later years if it rises by more than €20,000. It is an information return: it reports what you hold, it does not create tax. Crypto in a wallet whose keys only you control is not held with a provider, so this return does not cover it.

DAC8: the rest of the EU joins in

DAC8 is Council Directive (EU) 2023/2226. It obliges crypto-asset service providers authorised under MiCA, and certain providers from outside the EU, to identify their clients and report their transactions each year to a tax office, which passes the data to the client’s country of residence. It applies from 1 January 2026, so the first year reported is 2026, and the first exchange between tax offices is due by 30 September 2027. For a Spanish resident who trades on an exchange authorised in France, Germany or Ireland, that is the change: those trades reach the Spanish Tax Agency without depending on Spanish law.

Member states had to transpose the directive by 31 December 2025. The Commission sent letters of formal notice to 12 of them, Spain included, in January 2026, and on 19 November 2026 escalated the case against Spain and Czechia with a reasoned opinion, giving each two months to act.

Why Spain’s DAC8 law lapsed

Spain put DAC8 into a wider reform of the General Tax Law, bill 121/000060, sent to the Congress on 5 June 2025. It was still in committee when Royal Decree 806/2026, published on 6 October 2026, dissolved the Cortes and called a general election for 29 November. Every bill not yet passed lapsed, and the Congress register lists this one as “Concluded (lapsed)” from that date. The new Cortes meet on 23 December 2026; the bill will have to be sent again.

In practice: the Spanish returns 172, 173 and 721 come from rules already in force and carry on unchanged. What waits for the new law is the full DAC8 machinery inside Spain, such as the due diligence and reporting duties of providers that serve Spanish residents from Spain under the EU format. The Tax Agency’s 2026 control plan already expects to adapt models 172, 173 and 721 once DAC8 is transposed.

What it means for your tax return

Nothing about what you owe changes. Gains from selling, swapping or paying with crypto are taxed at the savings rates, 19% to 30%, and losses can be offset. What changes is how easy it is to check: the Tax Agency can compare your return with the data from Spanish providers now, and with data from other EU exchanges once the 2026 information arrives in 2027.

If you traded on several exchanges, rebuild your history before you file: the cost of every coin you sold, with FIFO, and every swap between coins, which counts as a sale. If you missed gains in past years, a late return filed voluntarily, before the Tax Agency writes to you, carries a surcharge but no penalty.

Method

Spanish returns: Tax Agency pages and FAQ on models 172 and 173 (Order HFP/887/2023) and model 721 (Order HFP/886/2023). DAC8: Council Directive (EU) 2023/2226 and reports on the European Commission’s infringement packages of January and November 2026. Spain’s bill: Congress of Deputies register, initiative 121/000060, status “Concluido (Caducado)” from 6 October 2026; Royal Decree 806/2026 (BOE, 6 October 2026). Tax Agency 2026 control plan: BOE-A-2026-5843. Read on 30 November 2026. General information, not tax advice.

Borja’s view

Borja Burguillos has spent about 20 years on pay and people strategy: at Mercer and Howden in Madrid, as Global Head of Compensation & Benefits at Delta Partners (now FTI Consulting) in Dubai, and leading the global HR workstream of BASF’s sale of its Construction Chemicals business, before founding Valora Digital in 2023. He co-chairs the People & Organisation Committee at the Middle East Stablecoin Association (MESA) and sits on Concordium’s Governance Committee, elected by CCD token holders; the views here are his own. His view: the debate about DAC8 misses the point. Most people who hold bitcoin in Spain buy it on an exchange that already tells the Tax Agency everything. The real choice is the one the book is about: whether you keep your coins with a company that reports on you and can freeze them, or in a wallet you control. Either way, declare the gains: the data is coming.

Questions

Does the Spanish tax office know about my crypto?

If you use a provider resident or established in Spain, yes: it reports your balance at 31 December (Modelo 172) and all your operations (Modelo 173) every January. Providers in other EU countries report 2026 transactions under DAC8, with the first exchange due by 30 September 2027.

What is DAC8?

Council Directive (EU) 2023/2226, which makes crypto-asset service providers report their clients’ transactions to tax offices that share them across the EU. It applies from 1 January 2026.

Has Spain transposed DAC8?

Not yet. The bill that included it, 121/000060, lapsed on 6 October 2026 when the Cortes were dissolved for the 29 November election. The European Commission gave Spain two months to act on 19 November 2026.

Do I have to file Modelo 721?

If you are tax resident in Spain and held more than €50,000 in crypto with providers abroad at 31 December. It is filed from 1 January to 31 March, and again in later years if the amount rises by more than €20,000.

Does the tax office know about crypto in my own wallet?

No provider reports a wallet whose keys only you control. But transfers into or out of an exchange are reported, and gains are taxable wherever the coins are kept.

Does DAC8 change the tax I pay on crypto?

No. Gains were already taxable at 19% to 30% when you sell, swap or pay with crypto. DAC8 only gives the tax office more data to check returns.

Quote or link to this page

Free to quote. Please credit Borja Burguillos and link to this page. Copy a ready-made link or citation:

Link for your page (HTML)

Citation

Sources

  1. Agencia Tributaria, Preguntas frecuentes sobre los modelos 172 y 173 (plazo: mes de enero)
  2. Agencia Tributaria, Modelo 721. Declaración informativa sobre monedas virtuales situadas en el extranjero
  3. Congreso de los Diputados, Proyecto de ley 121/000060: «Concluido (Caducado)» desde el 06/10/2026
  4. BOE, Resolución de 11 de marzo de 2026, directrices del Plan Anual de Control Tributario y Aduanero de 2026 (BOE-A-2026-5843)
  5. crypto.news, EU gives Czechia and Spain two months to act on DAC8 (19 November 2026 infringement package)
  6. KPMG, EU: EC launches infringement procedures for failure to transpose DAC9 and DAC8 (13 February 2026)
  7. El Derecho, El BOE publica la disolución de las Cortes tras la convocatoria de elecciones generales el 29 de noviembre (Real Decreto 806/2026)

Updated:

Free tools

Calculators built on the official rules, with their sources. Free, no sign-up.

See all free tools →

More books

Guides

Bitcoin from zero: a free course in six short lessonsA free course in six short lessons: what Bitcoin is, transactions, wallets, safety, scams and tax in Spain.What is Bitcoin, and why does it exist?What it is, who made it, and why a money with fixed rules had to exist.What are stablecoins, and why do they matter?Digital dollars: how they hold their value, why they matter and the rules arriving.Money and pay: why money loses value and how pay is changingInflation, total rewards, pay transparency and what digital money changes for HR.Web3 and the business of sportFan tokens, crypto sponsorship and prediction markets: how money is changing sport.Can you be paid your salary in crypto or stablecoins?Can your salary be paid in crypto or stablecoins? The rules in the UAE and Spain.The best books to understand Bitcoin, for beginnersThe best books to understand Bitcoin, from first steps to the technical detail.The best books on stablecoinsThe best books and reports to understand stablecoins, from inclusion to regulation.Which banks are launching stablecoins, and what does it mean for you?Qivalis, Santander, BBVA, CaixaBank: which banks are launching stablecoins, and what it means for customers.Books on Web3 and sport: what to read firstThe few books worth reading on Web3, fan tokens and the business of sport, and what each one is for.Stablecoins in the UAE: what is allowed, who issues them and what it means for youWhat the UAE allows, who regulates it, and the first dirham stablecoins: AE Coin, DDSC and RAKBank.Open lists in Spain: how Spaniards vote today, and what would changeHow Spaniards vote for Congress and the Senate today, and what open lists would change.How does the D’Hondt method work? Spain’s seat formula, step by stepHow Spain turns votes into seats, with a worked example, and why the province matters more than the formula.How to vote from abroad in Spain’s 29 November 2026 electionHow Spaniards living abroad vote on 29 November 2026: the consulate urn, postal vote and deadlines.How many votes does a seat cost in Spain? Province by province, 29 November 2026How many voters stand behind each seat in Congress, province by province, for 29 November 2026.Postal vote for 29 November 2026: send it by 25 NovemberPostal vote for 29 November 2026: the request closed on 19 November. If you requested it, send it at Correos by 25 November.Polling station duty on 29 November 2026: pay, hours and time offCalled to sit on a polling station on 29 November 2026? Pay, hours, time off work and what to do if you cannot go.Can stablecoins make sending money home cheaper?Do stablecoins make sending money home cheaper? What the World Bank and IMF data show.How pay works in the UAE: basic salary, allowances and gratuityBasic salary, allowances, gratuity, no income tax: what a UAE pay package really means.Can you pay salaries in stablecoins? What the law allows in the UAE, Spain, the US and the UKCan a company pay salaries in stablecoins? What the law allows in the UAE, Spain, the US and the UK, the models that work and who carries the currency risk.Take-home pay index 2026: how much of your salary you keep in nine countriesHow much of a $40,000 to $250,000 salary you keep in nine countries, under 2026 rules.Spain vs Dubai salary 2026: what you keep, and the Spanish salary that matches DubaiWhat the same salary leaves in Spain and in Dubai, and the Spanish salary that matches a Dubai one.How AI is changing the job market: what the major reports sayWhat the WEF, IMF, ILO, Stanford and PwC data say about AI, jobs and pay.Will Bitcoin be the money of AI agents? How machines pay, and what is still missingAI agents are starting to pay for things. Cards, stablecoins and Bitcoin compared as money for machines.Why does Bitcoin go up and down so much?Fixed supply, big funds, interest rates and leverage: why Bitcoin’s price swings so much.How a Bitcoin transaction works, step by stepWhat happens between pressing send and the payment being final: the queue, the fee, the block and the confirmations.What is a Bitcoin wallet? Keys, seed phrase and custodyA wallet does not hold coins: it holds keys. What the seed phrase is, and custody by an exchange versus your own.How to keep bitcoin safe: six habits for beginnersSix habits that protect bitcoin: the seed phrase on paper, never online, small tests, updates and a plan for your family.Bitcoin scams: the most common ones and how to spot themThe most common bitcoin scams, what they have in common, and how to check a platform before you send money.How bitcoin is taxed in Spain in 2026When bitcoin is taxed in Spain, the 19% to 30% scale, crypto-to-crypto swaps, FIFO and the Modelo 721.Token compensation explained: grants, vesting, lockups and taxHow token grants, vesting, cliffs and lockups work, how they differ from shares, and when they are taxed.Jobs in stablecoins and digital money: the roles, the levels and how to get hired (2026)The five job families stablecoins create, four levels each, what US, EU and UAE rules require, what the roles pay and how to get hired.Crypto salary 2026: what stablecoin and crypto jobs pay, and how to price them when there is no marketWhat stablecoin and crypto jobs pay in 2026, why the published numbers disagree, and a six-step method to set fair pay.The vanishing analyst: is AI really cutting junior finance jobs?Is AI really cutting junior finance jobs? The measured data, the claims nobody measured, and why the bigger cost comes later.Don’t retire your veterans: why risk judgement is the scarcest skill in digital moneyWhy stablecoins failed so far: reserves and risk, not code. And why the people who know those risks are the scarcest talent in digital money.Who owns the stablecoin? How a bank should organise the team that issues oneHow a bank should organise the company that issues its stablecoin: the legal vehicle, the org chart, the roles to keep in-house and a team that never closes.Measuring people when AI does the work: what performance reviews should reward nowPerformance reviews still count what AI agents now produce in seconds. What managers say, why self-reports mislead, and a five-part scorecard.Finance education is behind digital money: what bankers, lawyers, accountants and treasurers should learn by 2027The rules for digital money are now detailed; the syllabus is still introductory. What bankers, lawyers, accountants and treasurers should learn by 2027.The Gulf’s chance: why the UAE could train digital-money talent faster than London or New YorkThe UAE’s stablecoin rules came two to three years before London’s and the US federal regime. Why that head start could make it the place where people learn to run regulated money.The CHRO’s digital-money playbook: 10 questions to answer before 2027The 10 questions an HR leader should answer before 2027 on jobs, pay, payroll, pay transparency, AI and skills, with a free readiness check.What could go wrong with digital money? Three scenarios and what HR should do in eachThree scenarios for stablecoins and the people who run them: adoption stalls, AI hollows out the roles, the rules split. The signals to watch and what HR should do.Paid in a dollar stablecoin: who carries the exchange-rate risk?If part of the pay is a dollar stablecoin, who carries the exchange-rate risk: the employer or the employee? Four designs, with examples.Financial literacy at work: why digital money makes it HR’s jobOnly a third of adults reach the OECD’s minimum level of financial literacy. Why digital money makes it an HR question, and what a basic programme covers.Digital money for HR: the glossary (60 terms)60 terms in plain English, from stablecoin and multi-issuance to token grants and pay gap reports, each with why it matters for HR.Spain’s minimum wage in 2027: €1,286 a month, and how much you take home€1,286 a month in 14 payments from 1 January 2027, €18,004 a year, and no income tax. Gross to net, 12 or 14 payments, and who is affected.How much will Spanish pensions rise in 2027? 3.5%, with the CPI month by monthPensions rise with the average CPI from December 2025 to November 2026. With November’s flash estimate at 4.1%, that is 3.5%. Table and examples.Spain’s Christmas extra pay 2026: when it is paid, how it is calculated and the net amount by salaryWhen December’s extra payment arrives, how it is calculated and what is left after tax: €1,791 net on a €30,000 salary. Table by salary.Crypto losses in Spain: how to offset them on your tax return before 31 December 2026A crypto loss only counts for 2026 if you sell by 31 December. What it offsets, the 25% limit, the four years and the buy-back rule, with a table.How to pay less income tax in Spain before 31 December 2026: seven moves and what each one savesSeven moves that only count on the 2026 return if they happen by 31 December: pension plan, donations, pre-2013 mortgage, electric car, charger, energy works and solar.Does my employer in Spain have to raise my pay with inflation? The five cases, and how much you need in 2026No law ties pay to the CPI. The minimum wage, your collective agreement or your contract can. A table of the five cases, and what 4.1% inflation does to a €30,000 salary.What are fan tokens? How they work, what they give you, and what they have done to fans’ moneyA vote in small club decisions and some perks, bought with crypto. Not a share. Seven big tokens have lost more than 98% since 2021: the table, the rules and the tax.UAE gratuity after a salary cut: old or new basic salary? The five cases, and what a cut costsGratuity uses your last basic salary. A cut you signed and MoHRE registered lowers it for all your years; one you never agreed to may not count. The five cases and what a 20% cut costs.How is Latin America using stablecoins? Argentina, Mexico, Venezuela, Brazil and Colombia in 2026Digital dollars to save in Argentina, remittances in Mexico, wages in Venezuela, business payments in Brazil: what the 2026 data shows, country by country.Will the digital euro be mandatory? When it starts, what it changes, and where the law standsNo one would have to use it, and cash stays. Shops that take digital payments would have to accept it. Not before 2029, and the law is still being negotiated.Why is Euribor rising, and how much does it add to a Spanish mortgage?The 12-month Euribor went from 2.2% to above 3.2% in a year because the ECB is raising rates against energy-driven inflation. What it adds to a mortgage payment.What changes in your January 2027 payslip in Spain: the minimum wage, the MEI and the solidarity contributionThe minimum wage rises to €1,286, the MEI surcharge to 1% and the solidarity contribution again. Most payslips lose under €1 a month; above the maximum base, about €17.Can employees be paid in crypto or stablecoins in the UAE? (2026)Can employees be paid in crypto or stablecoins in the UAE? Labour law, the Wage Protection System, the Central Bank’s rules and the Dubai court rulings, in one table.Who is responsible when an AI agent gets it wrong?An AI agent cannot be held to account, so the company is. The Air Canada case, the UAE and EU rules, and five things every agent needs.Tax on salaries in 2026: what an employee keeps in 20 countriesHow much of €30,000, €60,000 and €120,000 an employee keeps in 20 countries, the full tax wedge, and the same comparison at purchasing power.AI makes everything cheaper. So why is your money worth less?AI is making almost everything cheaper to produce. So why does your money buy less every year? Spain and Dubai, in numbers.Insurance is a promise in money. What happens when the money changes?Is blockchain reinventing insurance? The first wave failed. What is new is bitcoin as the money of the promise, from Bermuda to Dubai.Your first HR hire in a UAE start-up: when you need one, what it costs, and what goes wrong without itWhen a UAE start-up needs its first HR person, what a full-time Head of People costs, and the legal duties that start at employee one.UAE vs UK: what an employee really costs the employer in 2026On the same salary, a UK employer pays about 16% on top and a UAE employer about 3.5% for an expat. Why the gap is smaller for a start-up’s first hires.Spain vs Portugal: what an employee costs the employer in 2026Portugal is cheaper to employ in up to about €80,000 a year; above that, Spain is, because only Spain caps contributions. Figures by salary, 2026.Germany vs Netherlands: what an employee costs the employer in 2026A German employer pays 21.3% on top of salary, a Dutch one 15.61%, and the Dutch ceiling is lower. On €100,000 the gap is €5,713 a year.US vs Canada: what an employee costs the employer in 2026Canada’s payroll charges stop at about CAD 6,219 a year per employee; the US charges 7.65% up to $184,500. On $150,000 the gap is $7,340.UAE vs Singapore: what an employee costs the employer in 2026For a foreign hire Singapore costs almost nothing on top; the UAE about 3.5%. For a local hire it flips above about USD 85,000. Figures for 2026.Spain vs UAE: what an employee costs the employer in 2026On a €60,000 salary a Spanish employer pays €18,390 a year on top; a UAE employer about €2,100 for an expat. Where the gap comes from, 2026.Employee health insurance in the UAE: what companies must pay in 2026, emirate by emirateWho a UAE employer must insure in Dubai, Abu Dhabi and the Northern Emirates, what it costs per employee, and the fines.How much does it cost to relocate an employee abroad? (2026)The move, the package and the tax: what moving an employee abroad really costs, with a London to Dubai example and what the mobility firms report.UAE e-invoicing in 2027: who must comply, by when, and what it costs to missFrom 1 January 2027, UAE businesses with AED 50 million or more in revenue must send invoices as structured data. Everyone else follows on 1 July 2027. The dates, who is out, and the fines.The GENIUS Act from 18 January 2027: what it means if you hold USDT or USDC in the UAE or SpainThe US stablecoin law takes effect on 18 January 2027. It regulates issuers, not you, but it decides which dollar coins stay easy to use. What it means if you hold USDT or USDC in the UAE or Spain.
Portrait of Borja Burguillos

Borja Burguillos

Borja writes for people who want to understand money and incentives without the jargon. Born in Madrid and based in Dubai since 2012, he has advised companies on people and pay, built tech startups, and co-chairs the People & Organisation Committee at the Middle East Stablecoin Association.

WorldatWork Total Rewards and CAIA certified, CFA Investment Foundations, executive programmes at Wharton and IE Business School.