Cryptocurrencies and Digital Nomads: Tax Residency, Taxation and Obligations When Living in Spain
Everything you need to know about tax residency in Spain if you hold cryptocurrencies. The 183-day rule, Beckham Law, double taxation treaties and obligations.
Cleriontax Team
Crypto Tax and Data Analysis Experts

Spain has become one of the favourite destinations for digital nomads working with cryptocurrencies. Barcelona, Madrid, Valencia, Málaga, and the Canary Islands attract thousands of crypto professionals each year: traders, DeFi protocol developers, Web3 content creators, and entrepreneurs managing their businesses from a laptop facing the Mediterranean.
But the tax reality behind that idyllic picture is considerably more complex than many imagine. The question "where do I pay taxes on my cryptocurrencies?" has an answer that depends on multiple factors: how much time you spend in Spain, where your economic and family ties are, what the double taxation treaty between Spain and your home country says, and whether you can (or should) opt for special regimes like the Beckham Law.
This article is a comprehensive guide for digital nomads with cryptocurrencies who reside in, plan to reside in, or are leaving Spain.
The 183-Day Rule: More Complex Than It Seems
The best-known criterion for determining tax residency in Spain is the 183-day rule: if you stay more than 183 days during a calendar year in Spanish territory, you're considered a tax resident for all purposes.
How the 183 Days Are Counted
Calendar days are counted, not business days. The day of arrival and departure count as days of presence.
Sporadic absences don't interrupt the count. If your habitual home is in Barcelona and you travel 3 weeks to Thailand for tourism, those weeks aren't automatically subtracted. The AEAT evaluates the centre of economic and vital interests, not just physical presence.
Registration (empadronamiento) is not required. Municipal registration doesn't determine tax residency.
The Other Two Criteria: Economic and Family Ties
The 183-day rule is just one of three alternative (non-cumulative) criteria:
Centre of economic interests. If the main core of your economic activities is in Spain, you're a tax resident regardless of how many days you spend here.
Family tie presumption. If your legally non-separated spouse and/or minor children habitually reside in Spain, it's presumed (unless proven otherwise) that you're also a Spanish tax resident.
The Problem of Dual Residency
Two countries may consider you a tax resident simultaneously. To resolve these conflicts, double taxation treaties (DTTs) establish tie-breaker rules based on:
- Permanent home available
- Centre of vital interests
- Habitual abode
- Nationality
- Mutual agreement between competent authorities
What Happens When You Become a Tax Resident in Spain
As a Spanish tax resident, you're taxed on your worldwide income: all your income, gains, and yields, regardless of where they're generated.
This includes all your cryptocurrency operations:
Capital gains from sales and swaps on any exchange worldwide. See our complete tax filing guide for FIFO calculations.
Investment income from staking, yield farming, lending, and airdrops.
Business income if your crypto work constitutes a professional activity.
Savings Tax Base Rates
| Bracket | Rate |
|---|---|
| Up to €6,000 | 19% |
| €6,000 - €50,000 | 21% |
| €50,000 - €200,000 | 23% |
| €200,000 - €300,000 | 27% |
| Over €300,000 | 28% |
Informative Obligations: Forms 721 and 714
Form 721: If you hold cryptocurrencies abroad worth more than €50,000.
Form 714: Wealth tax if your total assets exceed the community threshold.
Forms 100, 721, and 714: Our comparative guide helps understand which forms to file.
With the DAC8 directive already being implemented, the AEAT will receive information automatically from European exchanges.
The Beckham Law: Special Regime for Impatriates
The special tax regime for workers displaced to Spain (Article 93 IRPF Law) is one of the most powerful tools for digital nomads moving to Spain.
What Does It Offer?
New tax residents can be taxed as non-residents during the year of residency change and the following 5 years (6 tax years total):
You only pay tax on Spanish-source income. Gains obtained outside Spain are exempt (with important nuances for cryptocurrencies).
Fixed 24% rate on the first €600,000 of employment income, instead of progressive rates up to 47%.
No obligation to declare foreign assets. No Form 721 or Form 720 required.
Does It Apply to Cryptocurrencies?
Gains from cryptocurrency sales: If the cryptocurrencies aren't considered "located" in Spain (typical for foreign exchanges or blockchain assets), gains would be exempt under the Beckham regime.
Staking/lending/farming yields: Similarly, if generated on foreign platforms, they could be exempt.
Employment income in crypto: If you receive your salary in crypto for work performed in Spain, this income is taxed at the fixed 24% rate.
However, each case must be analysed individually.
Requirements
- Not having been a Spanish tax resident during the previous 5 years
- The move must result from an employment contract, director appointment, or entrepreneurial activity (since the 2023 reform)
- Apply within 6 months of Social Security registration or activity start
- Not obtaining income through a permanent establishment in Spain
The 2023 Reform: Opening to Entrepreneurs and Digital Nomads
Law 28/2022 (Startup Law) extended the Beckham regime to entrepreneurs, highly qualified professionals, and digital nomads who telework for foreign companies from Spain. This has made Spain fiscally attractive for profiles previously excluded.
Double Taxation Treaties: Avoiding Paying Twice
How They Work with Cryptocurrencies
Most DTTs Spain has signed follow the OECD Model. For capital gains (where most crypto operations fall):
Capital gains are taxed exclusively in the taxpayer's country of residence. If you're a Spanish tax resident, your crypto gains are taxed in Spain, and your home country cannot tax them (or must grant a tax credit).
Most Relevant DTTs for Crypto Nomads
Spain-Germany: Capital gains taxed in the country of residence. Germany's 1-year holding exemption only applies if you're a German tax resident.
Spain-UK: Capital gains taxed in the country of residence.
Spain-USA: Capital gains taxed in both countries, but a tax credit applies. US citizenship adds complexity (worldwide income reporting obligation regardless of residency).
Spain-Portugal: Capital gains taxed in the country of residence.
Leaving Spain: Changing Tax Residency with Cryptocurrencies
The Spanish Exit Tax
Spain applies an exit tax that may affect large crypto portfolio holders. It applies when:
- You've been a tax resident for at least 10 of the last 15 years
- The market value of your entity participations exceeds €4 million
Cryptocurrencies, not being "entity participations", are not directly subject to exit tax under current rules. However, tokens representing DAO participations could be different.
Steps for a Clean Tax Residency Change
- Document your departure date. Flight tickets, consular deregistration, address change.
- File all pending declarations. Income tax, Form 721, Form 714.
- Consider realising gains or losses. If moving to a lower-tax jurisdiction, it may be worth waiting to sell.
- Obtain a tax residency certificate from your new country ASAP.
- Notify the AEAT. File form 030.
- Don't exceed 183 days again. Frequent returns could void the change.
- Watch economic ties. Active bank accounts, rented property, or business operations in Spain could undermine your case.
The Tax Quarantine
If you move to a tax haven (on Spain's list), Spain continues considering you a tax resident for the year of change plus 4 more years, unless you prove valid economic reasons.
The Digital Nomad Visa in Spain
Since Law 28/2022, Spain offers a specific digital nomad visa for professionals working remotely for foreign companies.
Main Requirements
- Employment or professional relationship with companies outside Spain for at least 3 months
- Activity can be performed remotely
- Company not established in Spain
- Sufficient economic means
- Comprehensive health insurance
- Not having been a Spanish tax resident in the previous 5 years
Tax Implications
The digital nomad visa allows opting for the Beckham regime, potentially exempting cryptocurrency gains generated on foreign platforms.
Common Mistakes by Digital Nomads with Cryptocurrencies
Believing that being nomadic means you're not a tax resident anywhere. You're always a tax resident somewhere.
Not applying for the Beckham regime on time. The 6-month deadline is strict.
Operating exchanges with KYC from a country where you no longer reside. Update your KYC when changing residency.
Not declaring cryptocurrencies because "they're on the blockchain, not in Spain". As a Spanish tax resident, you're taxed on worldwide income.
Ignoring informative obligations. Many nomads know about income tax but are unaware of Form 721 and Form 714.
Changing tax residency without preparation. Leaving without filing final declarations or obtaining a residency certificate is a recipe for AEAT conflict.
Frequently Asked Questions
I'm a digital nomad spending 4 months each in Spain, Portugal, and Thailand. Where do I pay taxes?
If you don't exceed 183 days anywhere and have no clear centre of economic interests, the situation is complex. Generally, the country where you have a permanent home or closest ties prevails. You must formalise tax residency in at least one country.
Can the AEAT know how many days I spend in Spain?
Yes. The AEAT can cross-reference data with the National Police (Schengen entry/exit records), airlines, banks (card usage in Spain), and telecom companies (mobile location).
What if I receive my salary in cryptocurrencies?
Crypto salary is taxed as employment income in kind, valued at market price when received. Subsequent gains when selling are taxed as capital gains.
How does DAC8 affect digital nomads?
The DAC8 directive will require exchanges to automatically report user operations to the tax authority of the user's country of residence.
Cleriontax: International Crypto Tax for Digital Nomads
At Cleriontax, we work with digital nomads and expats operating with cryptocurrencies from Spain or planning a tax residency change.
Our services for digital nomads include:
Tax residency analysis: evaluating whether you are (or should be) a Spanish tax resident.
Beckham regime advisory: eligibility analysis, application, and crypto operation planning.
Complete tax reports: income tax return, Form 721, Form 714.
Tax residency change planning: complete checklist, optimal timing, and coordination with destination country advisers.
Data cleaning from multiple international exchanges.
Request a consultation for your case →
Disclaimer: This article is for informational and educational purposes only. It does not constitute personalised tax, legal, or immigration advice. Tax residency regulations, double taxation treaties, and special regimes are subject to change. Always consult a specialist international tax adviser for your specific case.
Last updated: March 2026
Published by: Cleriontax Team — Cryptocurrency Tax and Data Analysis Experts
Did you find this article helpful?
Share it with other investors who might need it


