Selling shares, cryptocurrency, property, company equity or a business while moving between countries can create tax exposure in more than one jurisdiction. Legal planning starts by determining where you are tax resident, which country can tax the asset and whether departure rules, treaties or reporting obligations apply before the disposal takes place.
Begin with the capital gain calculation
A capital gain is generally connected to the difference between what you receive for an asset and its recognized tax basis, adjusted according to the law of the country calculating the tax.
The exact calculation may also include foreign-exchange adjustments, depreciation recovery, transaction fees, improvements, corporate actions, prior elections and country-specific exemptions.
The purchase price shown in a brokerage application may not be the final tax basis. Assets received through inheritance, gifts, stock compensation, mergers, token migrations or business reorganizations can require a separate calculation.
The 183-day rule is not a universal tax exemption
Many digital nomads track days but ignore homes, family, work patterns, habitual residence and other ties. Domestic residence tests vary, and a country may treat a person as resident even when they spend fewer than 183 days there.
A person may also satisfy the domestic residence tests of two countries at the same time. When an applicable tax treaty exists, treaty residence may require a separate analysis involving factors such as a permanent home, center of vital interests, habitual abode and nationality.
Physical presence
Count days under the exact local definition. Arrival days, departure days, partial days and transit days may be treated differently.
Available homes
A long-term apartment, retained family home or continuously available accommodation can be relevant even when the person travels often.
Personal ties
A spouse, dependent children, memberships, healthcare arrangements and regular living patterns may support an ongoing connection.
Economic ties
Employment, business management, major clients, banking and investment activity may be considered under local rules.
Identify which country can tax each asset
Tax residence is important, but it is not the only connection. A country may retain taxing rights over locally situated property, business assets or shares connected to local real estate even when the seller is no longer resident.
| Asset | Important questions | Common planning issue |
|---|---|---|
| Listed shares and ETFs | Where is the owner resident? What is the recognized basis and holding period? | Assuming the broker’s country alone determines taxation |
| Cryptocurrency | Which events are disposals? How are token swaps, staking rewards and fees treated? | Believing tax begins only when funds enter a bank account |
| Real estate | Where is the property located? Do non-resident withholding and reporting rules apply? | Assuming departure ends the property country’s taxing rights |
| RSUs and employee shares | Which part is employment income and which part is a later capital gain? | Ignoring the countries where employment services were performed |
| Share options | When does taxation occur: grant, vesting, exercise or sale? | Treating all proceeds as one ordinary investment gain |
| Private-company shares | Where is the company located, managed and economically active? | Ignoring local relief conditions and shareholder rules |
| Business sale | Is the transaction a share sale, asset sale or intellectual-property transfer? | Comparing headline tax rates without modeling the legal transaction |
| Collectibles and personal assets | Do special rates, exemptions or personal-use rules apply? | Assuming every movable asset follows listed-share rules |
Check exit tax before changing residence
Some countries preserve the right to tax gains accumulated while a person was resident by treating certain assets as sold at market value when residence ends. Others permit an election, deferral or special treatment when the asset is eventually sold.
An exit-tax calculation can arise even though no buyer exists and no cash has been received. The person may therefore need valuations and liquidity planning before departure.
Deemed disposition on emigration
Canada may treat certain property as disposed of at fair market value when a person ceases to be resident. Specific exclusions, reporting forms and payment-deferral rules can apply.
Residence changes can affect CGT
Australian rules distinguish between residents and foreign residents and can require decisions concerning assets that are not taxable Australian property when residence changes.
- List all assets held before the planned departure date
- Obtain valuations for private or difficult-to-price assets
- Identify excluded and included property
- Calculate unrealized gains and available losses
- Review elections and payment-deferral options
- Check filing deadlines after departure
- Retain evidence of the market value used
- Plan liquidity for tax that may arise without a sale
Watch for temporary non-residence rules
Moving abroad briefly and selling assets during the absence may not permanently remove the former country’s claim. Some systems can tax specified gains when the individual returns within a defined period.
United Kingdom guidance, for example, explains that certain gains arising during temporary non-residence may be treated as arising in the year of return when the relevant conditions are met.
Review citizenship-based and worldwide taxation
Becoming resident in a new country does not always end obligations elsewhere. U.S. citizens, and individuals who remain U.S. resident aliens for federal tax purposes, are generally subject to U.S. tax reporting on worldwide income under the same basic framework that applies inside the United States.
For U.S. federal tax purposes, the foreign earned income exclusion applies to qualifying foreign earned income. Dividends, interest and capital gains are classified as unearned income for this purpose and are not excluded merely because the taxpayer lives abroad.
Use treaties and foreign tax credits carefully
A tax treaty generally allocates or limits taxing rights between two countries; it does not create a universal zero-tax result. Different categories of gain may have different treaty treatment.
Real-estate gains, business-property gains and shares whose value is mainly derived from local real estate may be treated differently from ordinary portfolio shares. Domestic anti-avoidance and reporting rules may also continue to apply.
| Question | Why it matters | Evidence to retain |
|---|---|---|
| Is a treaty in force? | Not every pair of countries has an applicable income tax treaty. | Official treaty text and protocol |
| Which country is treaty residence? | Dual domestic residence may require a separate treaty analysis. | Homes, ties, day counts and residence certificates |
| Which article applies? | Property, business assets and ordinary investments may be allocated differently. | Asset documents and transaction agreement |
| How is double tax relieved? | The residence country may use a credit, exemption or another method. | Foreign return, assessment and proof of payment |
| Do reporting deadlines differ? | Tax may be due in one country before a credit is available in another. | Filing calendar and payment records |
Lawful strategies that may reduce a taxable gain
The available strategies depend on the country, asset and taxpayer. They should be evaluated before the transaction becomes legally binding.
Use an accurate adjusted basis
Include eligible acquisition fees, improvements and other adjustments allowed by local law instead of reporting only the original purchase price.
Apply available capital losses
Existing or newly realized losses may offset qualifying gains, subject to local ordering, carryforward and anti-avoidance rules.
Use lawful annual exemptions
Some countries provide allowances or exemptions that may be lost if several disposals are concentrated in one period.
Review holding-period treatment
Where the law distinguishes short-term and long-term assets, the acquisition and disposal dates may affect the rate or available relief.
Review tax-advantaged accounts
Investments held through qualifying pensions or savings accounts may receive different treatment, but moving countries can change recognition of those accounts.
Model transaction structure
For a business disposal, share sales, asset sales and installment arrangements can create different results for sellers and buyers.
A safer sequence before selling
- List every potentially relevant country Include current residence, previous residence, citizenship, property locations, company locations and countries where work connected to employee equity was performed.
- Determine residence under each domestic system Apply the complete local test rather than relying only on an online day counter.
- Resolve any dual-residence position Review an applicable treaty and obtain residence certificates where appropriate.
- Classify the asset and transaction Separate investment gain, employment income, business income, real-estate gain and foreign-exchange effects.
- Reconstruct the adjusted basis Gather purchase records, fees, reinvestments, valuations, option documents and corporate-action statements.
- Check departure and return rules Model exit tax, deemed disposal, split-year treatment and temporary non-residence.
- Compare legitimate sale dates Calculate the result under each realistic date without assuming a residence change that has not yet occurred.
- Review credits, losses and exemptions Confirm which reliefs are available and whether another disposal would reduce or waste them.
- Complete the move in substance Align immigration, accommodation, family, work, business management and tax records with the intended residence position.
- Document and report the disposal Retain the final contract, settlement records, exchange rates, returns, assessments and foreign tax payments.
Records digital nomads should maintain
- Passport entry and exit records
- Flight, rail and accommodation confirmations
- Long-term leases and property documents
- Tax residence certificates
- Local registrations and identification numbers
- Employment and client agreements
- Company management and board records
- Broker and exchange transaction histories
- Wallet addresses and crypto transaction exports
- Original asset-purchase documents
- Fee and commission statements
- Foreign-exchange records
- Private-company valuations
- Employee equity grant and vesting records
- Foreign tax returns and assessments
- Proof that foreign tax was paid
Common mistakes that create unnecessary tax risk
Residence may depend on homes, ties, prior residence and other statutory tests.
A disposal during a split or uncertain year may be harder to classify than one after the position is established.
Leaving can trigger tax on unrealized gains before the planned sale occurs.
Temporary non-residence rules may bring specified gains back into tax after a return.
Crypto activity, employee shares and business disposals may contain more than one type of taxable income.
The location of a brokerage or exchange does not determine residence or remove reporting duties.
A postal address or residence certificate may not overcome conflicting evidence about where life is actually centered.
Missing acquisition and fee records can increase the reported gain or delay a return.
Treaties allocate taxing rights and provide relief but do not make every cross-border gain exempt.
Once a binding disposal occurs, changing residence or restructuring ownership may be too late.
When professional cross-border advice is especially important
- the expected gain is financially significant;
- two or more countries may treat you as resident;
- you are a U.S. citizen, green-card holder or otherwise subject to continuing worldwide reporting;
- you are leaving a country with departure-tax rules;
- you may return to the previous country within a few years;
- the asset is private-company equity, options or RSUs;
- you are selling a business or intellectual property;
- the transaction involves cryptocurrency across several exchanges or wallets;
- the asset is real estate or derives substantial value from real estate;
- foreign tax credits or treaty relief will be required.
Frequently asked questions
Am I tax-free if I stay fewer than 183 days in every country?
No. Day count is only one possible part of a residence test. A country may consider homes, family, work, prior residence and other connections. You may also remain resident somewhere even when you travel continuously.
Can I avoid capital gains tax by selling after moving abroad?
Not automatically. The former country may apply exit tax, source-based taxation or temporary non-residence rules. The new country may also tax worldwide gains after residence begins.
Does using a foreign broker change where the gain is taxed?
Usually not by itself. The broker’s location is only one fact. Residence, citizenship, asset type, source rules and treaties are generally more important.
Is exchanging one cryptocurrency for another taxable?
Often. For U.S. federal tax purposes, exchanging one digital asset for another generally is a disposition that can produce a gain or loss. Other countries may classify exchanges differently, so apply the rules of each relevant jurisdiction and retain records of both assets, their values and transaction fees.
Can capital losses reduce my tax?
Qualifying losses may offset certain gains, but countries impose different restrictions, ordering rules and repurchase provisions. Confirm the treatment before realizing a loss.
Does a digital nomad visa provide a capital gains exemption?
Not necessarily. Immigration permission and tax treatment are separate. Review the visa legislation, domestic residence rules and any special tax regime independently.
Can two countries tax the same gain?
Yes. Overlapping domestic rules can create double taxation. A treaty, foreign tax credit or exemption may provide relief, but the relief can be limited and usually requires proper filing in both countries.
When should tax planning begin?
Before signing a sale agreement, exercising options, changing residence or becoming legally committed to a disposal. Planning after completion is usually limited to accurate reporting and available post-transaction elections.
Final perspective
Legally reducing capital gains tax as a digital nomad is not about finding a country that appears tax-free on a comparison chart. It requires a defensible residence position, correct asset classification, awareness of exit and return rules, and accurate documentation of the gain.
The best sale date is the one that works under the actual law and facts—not the date produced by a simple day counter. For a major disposal, calculate the cross-border result before moving, selling or committing to return.
Official sources and further reading
- OECD — Model Tax Convention on Income and on Capital
- Internal Revenue Service — U.S. Citizens and Resident Aliens Abroad
- Internal Revenue Service — Capital Gains and Losses
- Internal Revenue Service — What Is Foreign Earned Income?
- Internal Revenue Service — Foreign Tax Credit
- Internal Revenue Service — Digital Assets
- Internal Revenue Service — Expatriation Tax
- HM Revenue & Customs — Statutory Residence Test
- HM Revenue & Customs — Temporary Non-Residents and Capital Gains Tax
- Canada Revenue Agency — Dispositions of Property for Emigrants
- Australian Taxation Office — How Changing Residency Affects Capital Gains Tax
- OECD — Common Reporting Standard for Financial Account Information

Lasarga Editorial Team researches and reviews educational content on international personal finance, cross-border property, expatriate tax topics, global mobility and executive travel. The team prioritizes primary sources, clear limitations and practical explanations for an international audience.




