Retiring Abroad? The Exit Tax That Hits Your Portfolio Before You Sell

View over the terracotta rooftops of the Alfama district in Lisbon, Portugal, toward the Tagus river

Lisbon, Portugal. Photo by Guilherme Marques on Pexels.

Reading time: 9 minutes

This is a guest post by the research desk at Patrician.ch. Where to retire abroad depends on many factors, but one that we should pay more attention to can cost six figures: the exit tax. Move abroad, and some countries tax the gains in your portfolio as if you'd sold on the day you left. The same €1.5M portfolio can owe nothing leaving Spain and about €248,000 leaving France. The final bill depends far more on a country's threshold and where you move next, than on its headline rate. Over to the team.

Same portfolio, same move: a €0 bill or a €248,000 one?

The post Retiring Abroad? You’re Probably Overestimating Your Capital-Gains Tax took a €1.5M portfolio and assumed 52.7% of it was unrealized gain, the share it reaches after 20 years of investing at a 7% real return. It showed that a €60,000 withdrawal from that portfolio costs about 11% in tax in Spain and 15% in Portugal. That was the effective tax you pay annually as you sell, once you’re settled in the new country. 

This piece is about a bill that can arrive before you sell anything.

Take 2 early retirees with that exact portfolio, moving to Lisbon in the same month. The saver leaving Valencia owes Spain nothing. In contrast, the saver leaving Lyon has about €248,000 of French tax assessed on gains she has never cashed. Someone in the same situation but leaving Munich after 10 years owes about €146,000 or €0, depending on whether the portfolio sits in 1 ETF or is split evenly between 2. None of this is visible in a country's headline tax rate. What decides it is the threshold that determines whether you're caught at all; every country sets that threshold differently.

What is an exit tax? (in plain terms)

An exit tax treats you as if you sold your investments on the day you stop being a tax resident in the country you are departing. The portfolio gain that built up while you lived there is taxed, even though nothing was sold and no cash came in.

Without it, the move itself would be the tax plan: grow the portfolio for 20 years, move somewhere that doesn’t tax gains, and sell the next week. The exit tax lets the country you leave keep its claim on growth that happened while you lived there. Depending on the country, the bill lands on your final tax return for the year you leave, or you can defer it until you actually sell, or spread it over several yearly installments.

It hits FIRE portfolios hard because an accumulating world ETF pays nothing out, so the gain has been building for decades. A tax on that, due before you've sold a single unit, is more than just a cash-flow headache: it can permanently shrink the portfolio your retirement plan was supposed to run on. If your plan assumed a €1.5M portfolio and the move takes €150,000 off the top, the safe withdrawal rate you built everything around is now stretching across a smaller nest egg.

The three kinds of exit-tax countries

Some exit taxes catch almost any portfolio: Canada, Australia, Austria and Denmark (from DKK 100,000, about €13,400). Some only catch you above a certain threshold: France at €800,000 of securities, Spain at €4M, Germany at €500,000 paid into a single fund (more on this later), and Norway on the part of the gain above NOK 3M (roughly €275,000). Among investments, the Netherlands only taxes people leaving with a 5% stake in a company, so index investors are out of scope. Although the Netherlands has no exit tax on an ordinary ETF portfolio, it does tax the portfolio every year, sold or not: in 2026, 36% on a deemed 6% return above €59,357 per person, about 2.16% of the excess a year, unless your actual return, paper gains included, was lower.

The UK has no exit tax at all, with one catch that we explain further below.

Hillside buildings and the Fourvière basilica rising above the old town of Lyon, France.

Lyon, France. Photo by Mihai Vlasceanu on Pexels.

France: a €248,000 exit-tax bill that can disappear

France’s exit tax applies if you’ve been resident 6 of the last 10 years and leave with more than €800,000 of securities, ETFs included. Holdings inside a PEA (a French tax-sheltered equity savings account) don't count, and French tax lawyers say the same of assurance-vie, the life insurance wrappers many French savers invest through. For 2026 departures the rate is 31.4%, so the €790,500 of gain in our earlier example carries about €248,000 of tax.

But its payment ultimately depends on where you move. Move to another EU country, or to one France lists for tax collection agreements (the UK and Norway among them), and payment is deferred automatically. Moving to Switzerland, the UAE, Canada, Thailand or Costa Rica, you can still defer it, but you must apply at least 90 days before leaving, appoint a French tax representative and put up a guarantee.

Here’s the part people get wrong. The deferred tax is canceled on any securities you still hold 2 years after you leave, or 5 years if your holdings were worth more than €2.57M, wherever you moved. This doesn’t mean you have to freeze the portfolio. Sell 10% of your ETFs in month 8 and only the tax on that 10% falls due. Whatever you still hold at month 24 drops off the bill, and moving back to France cancels it too. 

The logic is anti-abuse. The exit tax exists to stop people moving abroad just before a big sale to escape French tax on it, not to penalize people who leave and keep holding. When France shortened the holding period from 15 years to 2 in 2019, the Senate's budget rapporteur framed it as returning the tax to that anti-abuse role. Someone who moves for good and keeps holding simply isn't who it's aimed at.

You have 2 ways to handle those first 2 years. One is to fund them from something other than the ETFs: 2 years of €60,000 withdrawals is €120,000, held in cash or a money market fund, which carries almost no gain. The other is to sell as usual and pay the small pro rata bill: €60,000 sold in year 1 carries about €9,900 of exit tax. Either way, file the forms: 2074-ETD for the year you leave, and 2074-ETS3 for any year you sell some of the old units and again once the 2 years are up.

Germany's €500,000 exit-tax rule, counted fund by fund

Since January 2025, Germany treats fund units, ETFs included, as sold when you leave if you’ve been resident 7 of the last 12 years and invested at least €500,000 into a single fund. The test is what you put in (your purchase cost), not what the holding is worth today. Importantly, it looks at each fund on its own.

The same €1.5M portfolio means about €709,500 was paid in. Put all of it in 1 world ETF and you’re caught: Germany taxes 70% of an equity fund’s gain at 26.375%, about €146,000 before church tax. Split the same amount evenly between 2 different world ETFs and the bill is €0.

So does spreading a portfolio across several funds avoid it? Yes, with conditions. German tax firms, EY and Rödl among them, read the law the same way: holdings in different funds aren’t added together. But splitting within one fund doesn't help: a second share class of the same ETF (say, the accumulating and the distributing version of one index fund) almost certainly counts as the same fund, and so does the very same ETF bought through a second broker. Staying under the line means genuinely different funds, not the same fund in two guises. It’s also a cliff: once your cost in one fund reaches €500,000, the whole gain in that fund is taxed. Each person is tested separately, so a couple investing in their own names has a line each.

Already over the line? Sell enough of the oversized fund to bring its cost under €500,000 and reinvest in a different fund. That sale is taxed. Germany counts your oldest units as sold first, usually the cheapest ones, so you’ll need to sell more than you’d expect. Still building? Send new savings to a second fund before the first one gets there. If you do get a bill, you can pay it in 7 interest-free yearly installments. The tax office can ask for collateral in return: cash on deposit, a bank guarantee or a mortgage on German property. Come back within 7 years without having sold and the tax lapses, and German commentary says the installments you already paid are refunded.

Munich skyline with the Frauenkirche towers and the snow-capped Alps behind, Germany.

Munich, Germany. Photo by Bastian Riccardi on Pexels.

Where you move matters as much as where you leave

EU moves get the gentlest collection: France suspends the bill automatically, so nothing is due on departure, and Denmark lets you defer without posting any collateral. Your new country then decides how the same gain is taxed later. Canada, Australia and Denmark reset your cost basis to market value on the day you arrive, and so does Belgium’s new capital gains tax, so only growth after the move is taxed there. Spain, Portugal and France don’t, so they tax the full gain from your original purchase price when you sell.

A reset is worth real money, but weigh it against how heavily the destination taxes you year to year: a country can wipe your old gain on arrival and still tax your holdings hard every year afterwards (Denmark resets your cost on arrival, then taxes an ETF's paper gains every year).

A few places barely tax investment gains at all:

  • Cyprus doesn’t tax gains on securities, ETFs included, for any resident.

  • Malta doesn't tax non-domiciled residents on foreign capital gains, even when the money is brought in, with a €5,000 yearly minimum once foreign income reaches €35,000.

  • Switzerland doesn’t tax private capital gains on securities, though cantons charge an annual wealth tax.

  • Panama, Georgia and Malaysia don’t tax individuals on foreign-source income. Costa Rica works the same way today, but a bill filed in September 2026 would tax foreign capital gains at 15%.

  • The UK lets new arrivals who haven’t lived there in the past 10 years claim 4 years in which foreign gains aren’t taxed.

Leave France for Cyprus and the €248,000 is deferred automatically, canceled after 2 years of holding, and never taxed by Cyprus when you sell. Cost of living still matters more, as the capital gains post showed, and the Retirement Relocation Tool covers the rest.

Two exit-tax traps that cost the most

Denmark rewards paperwork. Individual shares are taxed only when sold, so they carry up to 42% on the way out. ETFs and accumulating funds are taxed every year on their change in value, sold or not, so there's little left to tax when you leave. An equity ETF on the tax agency's list pays the same rates as shares, 27% up to DKK 79,400 in 2026 and 42% above. In contrast, Danish distributing funds, global index funds among them, work differently: they're taxed like shares, on the gain when you sell and on the distribution they pay out each year.

The UK’s trap runs the other way. If you lived in the UK at least 4 of the 7 years before leaving and then move back to the UK within 5 years, any gains you realised while abroad—on investments you already owned when you left—are taxed in the year you return, at up to 24%.

Baroque rooftops, domes and the Micalet bell tower in the old town of Valencia, Spain.

Valencia, Spain. Photo by Nataliya Vaitkevich on Pexels.

The same €1.5M portfolio on moving day

€790,500 of gain, leaving 9 countries, assuming you’ve lived in each one long enough to be caught.

Leaving Caught? Bill on moving day What shrinks it
Spain No, the line is €4M €0 Nothing needed
Netherlands No, only 5% company stakes €0 Nothing needed
United Kingdom No exit tax €0 Only bites if you sell abroad and return within 5 years
Germany, 2 ETFs No, each fund under €500,000 paid €0 Nothing needed
Germany, 1 ETF Yes About €146,000 7 yearly installments, lapses if you return within 7 years
France Yes, over €800,000 About €248,000 Deferred in the EU, canceled on units still held after 2 years
Austria Yes, no minimum Up to about €217,000 Only investments bought from 2011 on are caught; move within the EU and you can ask to pay only when you actually sell
Canada* Yes, outside RRSP, TFSA and pensions Up to about €212,000 Deferral until sale, later credit for foreign tax on the same gain
Australia** Yes, outside super and Australian property Up to about €186,000 Paying in a low-income year with the full 50% discount
Denmark Yes, from DKK 100,000 Up to 42% of the gain Deferred with no interest if you file by July 1

* You can elect to postpone the tax until you actually sell, with no interest, though above C$16,500 of federal tax Canada asks for security. If your new country taxes the same gain when you sell, Canada credits that tax against its own bill, provided the country has a tax treaty with Canada and you live there at the time.

**Australia taxes half of the gain on investments held for more than a year, at your income tax rate, so the bill is smaller if you leave in a year with little other income.

RRSP and TFSA are Canada's registered retirement and tax-free savings accounts, and super is Australia's retirement savings system.

Exit-tax checklist: the year before you move

Most of the work happens before you leave. These are the 7 questions to answer first.

  1. Have you lived there long enough to be caught? The tax only applies after a minimum stay: 6 of the last 10 years in France, 7 of the last 12 in Germany, 7 of the last 10 in Denmark and 10 of the last 15 in Spain. Below that, you can leave without the charge.

  2. Is your portfolio over the threshold, measured the way your country measures it? France and Spain look at what it’s worth today. Germany looks at what you paid into each fund. Canada, Australia and Austria have no threshold at all.

  3. Which accounts are protected? Canada’s RRSP and TFSA, Australian super and a French PEA sit outside the exit tax.

  4. Where are you moving? If your destination isn’t on your country’s list for automatic deferral, you may need to post a guarantee before you leave.

  5. How will your new country tax the gain later? Canada, Australia and Denmark count your investments at their value on the day you arrive. Spain, Portugal and France tax the full gain from what you originally paid.

  6. Can you cover the first 2 years from cash, or would you rather sell and pay the tax on just those units?

  7. Might you move back? Returning to the UK within 5 years can bring gains you took abroad back into UK tax. Returning to Germany within 7 years without having sold, or to France while you still hold the investments, cancels the exit tax.

How these figures were worked out

Every rule here comes from each country's tax authority or statute, read in October 2026, with law firm commentary where official guidance is thin. Rates are applied flat to the whole gain, so your real bill depends on your other income that year and when each lot was bought. These rules change: France's 2-year window was 15 years until 2019, and Germany added funds in 2025. If you're leaving a country this piece doesn't cover, the exit tax rules for 36 places people leave are on Patrician.ch. This is research, not tax advice, and with 6 figures at stake an hour with a local advisor is cheap.

Researched and written by the research desk at Patrician.ch, which compares 100 places to live on what you'd keep after tax, safety, schools and cost of living.


If you enjoyed this article, here are some next steps:

👉 CGT abroad: Retiring Abroad? You’re Probably Overestimating Your Capital-Gains Tax
👉 Full framework for retiring abroad: Geographic Arbitrage & FIRE: The Complete Guide
👉 Shortlist your own retirement destinations across cost, safety, healthcare, climate, and more: Retirement Relocation Tool (email unlock)
👉 Subscribe for monthly insights, one-click unsubscribe

🌿 Thanks for reading The Good Life Journey. I share weekly insights on personal finance, financial independence (FIRE), and long-term investing — with work, health, and philosophy explored through the FI lens.

Disclaimer: I am not a financial adviser, and this content is for informational and educational purposes only. Please consult a qualified financial adviser for personalized advice tailored to your situation.‍ ‍

Check out other recent articles


‍

Join readers from more than 100 countries, subscribe below!

Didn't Find What You Were After? Try Searching Here For Other Topics Or Articles:

Search Section Image

Found this article helpful? Share it with someone who might benefit from it.

Next
Next

Before You Change Your Investment Plan Over a YouTube Stock Tip