Japan's Exit Tax When Moving to Spain, and the Beckham Law

Japan taxes unrealised gains when wealthy residents leave. How the exit tax works, how to defer it, and how to avoid a second Spanish layer.

By Lorenzo, Spain Expat Consulting · Last checked: December 2026

Since July 2015, Japan has taxed unrealised gains when wealthy residents leave the country. For founders, executives with company shares and long-term investors moving to Spain, this can be the largest tax bill of the whole move. Combined with Spain’s rules, it can also lead to the same gain being taxed twice, unless you plan.

Short answer: Japan’s exit tax applies if you hold securities and similar assets worth ¥100 million or more when you leave, and you have lived in Japan for more than five of the last ten years. Japan treats those assets as sold and taxes the unrealised gain. You can defer it by appointing a tax representative before you leave, and it can be cancelled if you return within the deferral period. In Spain, the Beckham Law generally keeps gains on non-Spanish assets outside Spanish tax for six years, which avoids a second layer.

What are the key facts?

Point

Detail

Threshold

¥100 million or more in covered assets

Residence test

More than 5 of the last 10 years in Japan (some visa periods excluded)

Covered assets

Securities, silent partnership interests, open derivative and margin positions

Not covered

Cash and real estate

Deferral

5 years, extendable to 10, with a tax representative appointed before departure

Cancellation

Possible if you return within the deferral period

Sources: the National Tax Agency’s exit tax guide and KPMG’s summary of the rules.

Why the exit tax and Spanish tax can clash

Japan taxes the gain as at your departure. Spain, under its normal regime, generally calculates the gain on a later sale from your original purchase price. If you sell after moving, Spain could tax the full gain, including the part Japan already taxed. Treaty relief may reduce this, but it is not automatic or guaranteed.

How the Beckham Law fits

If you move to Spain to work and qualify for the Beckham Law, gains on non-Spanish assets such as Japanese shares are generally outside Spanish tax for six years. That removes the Spanish layer entirely. You still deal with Japan’s exit tax, but you avoid paying Spain on the same gain. Under the normal regime, Spain would tax those gains at 19% to 30%, according to the 2026 savings scale.

Holding significant investments? Check your Beckham Law eligibility or WhatsApp Lorenzo.

A worked example

Step

Normal regime

Beckham Law

Japanese shares bought for

¥40 million

¥40 million

Value when leaving Japan

¥120 million

¥120 million

Japan

Exit tax on ¥80 million gain (deferrable)

Exit tax on ¥80 million gain (deferrable)

Sold in Spain in year 3

Spain may tax the gain from the original ¥40 million cost

Not taxed in Spain

Simplifications: no further price movement, gain converted to euros at the exchange rate on sale, and no treaty relief assumed. The point is the structure: the Beckham Law avoids the second claim.

A planning checklist

  • Value your covered assets three months before departure.

  • Decide whether to pay or defer; appoint your tax representative (nōzei kanrinin) before you leave if deferring.

  • Check whether you qualify for the Beckham Law, and plan your Spanish start date.

  • Avoid selling large positions in Spain before your Beckham application is accepted.

  • Keep valuation records for both tax authorities.

Frequently asked questions

Does the exit tax apply to foreigners living in Japan?

It can, once they meet the residence test, although some visa periods are excluded. Check your own history.

Is my Tokyo apartment covered?

No. Real estate is not a covered asset.

What if I come back to Japan?

Returning within the deferral period can allow the tax to be cancelled for assets you still hold, if you apply on time.

Does the Beckham Law apply to retirees?

No. It is for people moving to Spain to work, as directors, remote workers or certain entrepreneurs.

Coordinate both countries

We handle the Spanish side and the Beckham Law timing, and work with your Japanese adviser. Book a Beckham Law consultation or WhatsApp Lorenzo.

This article is general information, not legal or tax advice. Fees, thresholds and procedures change, so check the official sources linked above or speak to us before you act.

Need help applying this information to your circumstances? Speak with Spain Expat Consulting about the assistance available for your next steps.