Crypto When You Leave Denmark, Austria, Portugal or Spain

An illustrative household. Names and details are invented.
Short answer
Denmark treats cryptocurrency as sold at market value on the day you leave, so unrealised gains can be taxed. Austria names cryptocurrencies in the exit rule that treats certain restrictions of its taxing right as a sale. Portugal treats the loss of residence as a sale for the crypto-asset rule, with an exclusion for assets held 365 days or more whose reach to this deemed sale is not stated in terms. Spain's exit gain rule covers shares and interests in entities only, so virtual currencies are not deemed sold.
A partner at your practice has four clients who hold crypto and are leaving Denmark, Austria, Portugal and Spain over the next year. She asks you for one page: is the holding taxed on the way out, and does the answer depend on how long it has been held?
The question: in each of the four countries, does leaving trigger a sale of crypto, and which condition decides it?
Denmark treats the holding as sold on the departure day
The Danish tax agency's guidance says that a cryptocurrency holding is taxed when a person leaves Denmark. The agency treats the holding as sold at market value on the day the person leaves. Gains can be taxed although they have not been realised.
Austria names cryptocurrencies in the exit rule
The income tax act treats certain restrictions of Austria's taxing right as a sale, and it names a cryptocurrency within the meaning of paragraph 4a alongside securities. Whether the EU and EEA deferral described elsewhere in the act reaches cryptocurrencies is not stated in the text read.
Portugal has a sale rule and a 365-day exclusion, and the link between them is unsettled
Under article 10 of the personal income tax code, the loss of Portuguese residence is treated as an onerous disposal for the rule on crypto-assets that are not securities. Gains and losses on crypto-assets held for 365 days or more are excluded from that rule.
Whether the exclusion applies to a deemed sale on loss of residence is not stated in terms. The paragraph that sets a residence condition still cites paragraphs 19 and 20, which the authority's notes show as the former numbers of paragraphs 22 and 23. Read literally today, 19 and 20 are other rules. No reading is offered here.
Spain does not deem the holding sold
Spain's exit gain rule covers shares and interests in entities only. Virtual currencies are not deemed sold on leaving. Whether a gain on virtual currencies is Spanish source for a non-resident is not settled by the sources read. A separate reporting duty for virtual currencies held abroad applies to residents.
The paths, starting with doing nothing
If nothing changes: the four clients leave and do nothing. The Danish client's holding is treated as sold on the departure day. The Austrian client's holding falls within a rule that names cryptocurrencies. The Portuguese client's holding falls within the sale rule, and whether the 365-day exclusion reaches the deemed sale is unsettled. The Spanish client's holding is not deemed sold.
Path A: the Portuguese client has held the assets for 365 days or more. Paragraph 22 excludes gains and losses on such assets from the sale rule. Whether it reaches the deemed sale on leaving is the open point.
What this does not settle
- How the Danish market value on the departure day is documented.
- Whether Austria's deferral reaches cryptocurrencies.
- Whether Portugal's 365-day exclusion applies to the deemed sale on leaving.
- Whether a later gain on virtual currencies is Spanish source for a non-resident.
- How each destination taxes the holding.
- Which path each client takes. That decision belongs to the client and their professional.
Denmark deems a sale. Portugal deems one, with an exclusion whose reach is unsettled. Austria names cryptocurrencies in its exit rule, with the deferral unsettled. Spain does not deem a sale.
Run it on your client's facts.
Questions professionals ask
Is cryptocurrency taxed when you leave Denmark?
Yes. The tax agency treats a cryptocurrency holding as sold at market value on the day you leave Denmark, so gains can be taxed although they have not been realised.
Does Portugal tax crypto when you leave?
The loss of residence is treated as a sale for the rule on crypto-assets that are not securities, and holdings of 365 days or more are excluded from that rule. Whether the exclusion applies to the deemed sale on leaving is not stated in terms.
Is crypto deemed sold when you leave Spain?
No. Spain's exit gain rule covers shares and interests in entities only, so virtual currencies are not deemed sold on leaving.
Sources
- Skat.dk: Leaving Denmark
- Einkommensteuergesetz 1988 (RIS)
- Código do IRS (CIRS), article 10
- Ley 35/2006 (IRPF), article 95 bis
Rules as of 2026-11-08. This is general information, not tax advice for a particular household.
NettWorth
Wondering how to act on the insights in the article? Click here to apply this framework to your own wealth portfolio.
NettWorth reads your actual documents and applies what you just learned to your specific accounts, balances, and timeline — not a hypothetical.
No charge if you cancel. Your data stays yours.
Continue Reading
Spanish Exit Tax on Shares When You Move to Portugal
Spain can tax an unrealised gain on shares when you lose residence. A move to another EU state allows deferral, but a later move out of the EU ends it.
Deregistration Deadlines When You Leave Five Countries
When must you deregister on leaving? Austria allows three days before or after, Germany two weeks after, Sweden wants notice a week before, the Netherlands wants it before you go, and Spain handles it through the consulate plus a three-month tax address notice.
Austrian Exit Tax on Securities When You Move to Germany
Does moving from Austria to Germany trigger tax on shares? An EU move is itself treated as a sale, and the depot-transfer exception stops where that rule starts.
More on leaving Denmark
- After You Leave Denmark: Property, Pay, Pension and Fees
- Leaving Denmark: The Paperwork in Order
- Danish Residence When a Spouse Stays
- Employee Options When You Leave Denmark
- Keeping Your Home in Denmark After You Leave
- Danish Pension Return Tax When You Move to Sweden
- Danish Exit Tax on Shares: What Happens If You Move On