Crypto Taxes When Moving Countries: Exit Tax, Residency and What to Do
Moving to a lower-tax country to save on crypto taxes sounds smart. And it can be — but it's more complicated than just buying a plane ticket. Most high-tax countries have exit tax rules designed to capture unrealized gains before you leave. Here's what you need to know before you pack your bags.
What is an Exit Tax on Crypto?
Calculate Your Crypto Taxes Automatically
Import your transactions and get a complete tax report in minutes – no manual spreadsheets needed.
Start for free →Exit tax (also called "departure tax" or "emigration tax") is a tax that some countries impose when you stop being a tax resident. The idea: you've built up unrealized gains while living there, so they want their cut before you leave.
For crypto, this can mean: all your unrealized crypto gains are treated as if you sold everything on the day you leave. You owe tax on those gains — even though you haven't actually sold anything.
Germany's Exit Tax on Crypto
Germany has an exit tax under § 6 AStG (Foreign Tax Act). The good news: it was primarily designed for company shares, not cryptocurrencies. Whether it applies to crypto is still debated. However, if you've been German tax resident and held crypto for under 1 year, selling shortly after leaving may still be taxed by Germany if the gains were "created" during German residency.
The practical advice: Don't sell crypto immediately after leaving Germany. Wait until you're genuinely established in the new country.
How Long Before You're No Longer a German Tax Resident?
Germany uses a "domicile and habitual abode" test. You stop being a German tax resident when you have no home in Germany and don't spend more than 183 days there. But it's not instant — you need to actually establish residency elsewhere and cut ties with Germany.
The New Country's Rules Apply After Residency Change
Once you're genuinely resident in a new country (say, UAE or Portugal), that country's tax rules apply to your crypto transactions going forward. If you sell crypto 3 months after moving to UAE, you pay UAE tax (which is 0%). But only if you're genuinely resident there.
No joke — tax authorities are increasingly sophisticated about "tax tourism." They look at where you actually live, where your bank accounts are, where your family is, and where you work.
The Step-Up in Basis
The good news: Many countries offer a "step-up in basis" when you arrive. This means your crypto is treated as if it was acquired at the current market price when you establish residency. Previous gains from before you arrived aren't taxed by the new country.
This is particularly relevant for Portugal and Switzerland. Always check the specific rules of your destination country.
Practical Steps for Tax-Efficient Relocation
- Consult a tax advisor who specializes in international tax before moving
- Document everything: move date, last day in old country, first day in new country
- Establish genuine ties in the new country (bank account, rental contract, utility bills)
- Don't sell large crypto positions in the transition period without advice
- File a proper de-registration in your home country
- Use CoinTaxReporting to generate country-specific reports for both jurisdictions
Related Resources
Generate Your Crypto Tax Report
Import your transactions and get an audit-ready PDF report in minutes.
Start for free →Disclaimer: This article is for general informational purposes only and does not constitute tax advice. For individual tax advice, consult a licensed tax professional.