In this guide
- Capital Gains Tax Selling Company Non-Resident: The Core Variables
- Selling a US-Connected Company as a Non-Resident
- Treaty Capital Gains Exemptions: When They Apply
- Stock Sale vs. Asset Sale: Why Structure Changes Everything
- The US Exit Tax: A Related but Distinct Issue for Citizens Renouncing
- Capital Gains Tax Selling Company Non-Resident: How to Actually Plan for This
- Conclusion
Last updated: August 2026
Capital gains tax selling company non-resident situations depend on a tangle of factors that most founders don't fully map out until they're already at the closing table: where the company is incorporated, where the seller is tax resident, whether a treaty applies, and whether the deal is structured as a stock sale or an asset sale. Get any one of these wrong, and the tax bill at exit can look nothing like what you'd budgeted for.
This is one of the highest-stakes financial events in a founder's life, and it's exactly the wrong moment to guess. A founder who built a Delaware LLC, a Dubai company, or a Belize IBC years ago, while living in one country and now residing in another, faces a genuinely complex tax picture at sale, one that depends on decisions made at formation, decisions made about where to live in the years since, and the specific structure of the deal itself.
This guide covers the core variables that determine what you owe, how selling a US-connected company works specifically for non-residents, when treaty capital gains exemptions apply, why stock sale versus asset sale changes everything, the separate but related US exit tax for citizens renouncing, and how to actually plan for this before you're at the closing table.
Key Takeaways
- What you owe when selling a company as a non-resident depends on five variables: company location, your tax residency at sale, treaty status between the two countries, deal structure (stock vs. asset sale), and whether FIRPTA-style rules apply.
- Form W-8BEN must be provided at closing to claim a reduced treaty withholding rate. Without it, the buyer must withhold at the full statutory rate, recoverable only by filing a US tax return afterward, a real cash-flow trap.
- Many bilateral tax treaties include a capital gains article that can exempt certain share sale gains from source-country tax, but this depends entirely on specific treaty language and the underlying company's asset composition, not a general rule.
- Stock sales and asset sales produce materially different tax outcomes: sellers generally prefer stock sales for simpler, often more favorable treatment, while buyers often prefer asset sales for a cleaner liability profile.
- The 2026 US exit tax exclusion is $910,000 in unrealized gains, up from $866,000 in 2024, above which expatriating citizens owe capital gains tax on a mark-to-market basis, including on business interests.
Capital Gains Tax Selling Company Non-Resident: The Core Variables
Before anything else, five variables shape the tax treatment of selling a company as a non-resident, and missing any one of them can produce a materially wrong estimate.
- Where the company is incorporated or located determines the source of the gain and which country's tax rules apply first.
- Where the seller is tax resident at the time of sale determines the seller's own reporting obligations and which treaty, if any, might apply.
- Whether a tax treaty exists between the company's country and the seller's residence country, and specifically what its capital gains article says, since treaty terms vary considerably.
- Whether the transaction is structured as a stock sale or an asset sale, which produces materially different tax outcomes for the same underlying deal value.
- For US-connected sellers, whether FIRPTA-style withholding rules apply, primarily relevant where the company holds significant US real property.
Want the broader context of what tax obligations follow a relocation? Read our guide to tax obligations when moving abroad →
Selling a US-Connected Company as a Non-Resident
For founders with a Delaware LLC or another US-connected structure, selling as a non-resident brings specific rules into play that don't apply to founders with purely foreign structures.
FIRPTA and US-Source Gain Rules
Non-resident individuals generally face US capital gains tax on gains connected to US sources under specific rules. Treaties generally do not eliminate US tax on gains tied to US real property interests, though they may reduce tax on other categories of US-source gain depending on the specific treaty's terms.
FIRPTA, the Foreign Investment in Real Property Tax Act, specifically applies where the company being sold holds significant US real property. The IRS's official FIRPTA withholding guidance covers the specific thresholds and holding structures this applies to. This is relevant to certain holding structures, real estate-adjacent businesses, or companies that acquired property as part of their operations, even if real estate isn't the core business.
The W-8BEN Withholding Trap at Closing
Form W-8BEN must be provided at closing to claim a reduced treaty withholding rate. Without it on file, the buyer is required to withhold at the standard statutory rate, and any excess is only recoverable by filing a US tax return afterward. This is a genuine cash-flow trap: the seller receives significantly less at closing than the deal value suggests, and getting the overpayment back requires waiting through a full tax filing cycle.
Tomás, a non-US founder selling his Delaware LLC-structured SaaS business for a mid-seven-figure sum, assumed his lawyer's standard closing checklist would cover all the necessary tax paperwork. He hadn't specifically confirmed that a Form W-8BEN citing his home country's treaty article was filed before the wire transfer went out. The buyer, absent that documentation, withheld at the full statutory rate rather than his treaty's reduced rate, a difference of hundreds of thousands of dollars that sat with the IRS rather than in his account. Recovering it required filing a full US nonresident tax return the following year, a months-long delay he hadn't budgeted for in his post-sale plans.
Curious about the real ongoing costs of the structure you're selling? Read our guide to the true cost of maintaining an international company →
Treaty Capital Gains Exemptions: When They Apply
Many bilateral tax treaties include a capital gains article that can exempt certain share sale gains from source-country tax entirely, commonly for shares in companies that aren't primarily real-estate-holding entities, shifting the taxing right to the seller's residence country instead.
Whether this applies depends entirely on the specific treaty language between the two countries involved and the nature of the underlying company. This is a case-by-case determination, not a general rule you can assume applies just because a treaty exists between the two countries in question. Some treaties exempt share sale gains broadly. Others carve out specific exceptions for companies holding certain asset types. Reading the actual treaty article, not just confirming a treaty exists, is the step most DIY research skips.
Stock Sale vs. Asset Sale: Why Structure Changes Everything
The way a deal is structured changes the tax outcome as much as, sometimes more than, the underlying deal value itself.
| Stock Sale | Asset Sale | |
|---|---|---|
| Who's taxed | Seller, on capital gain from the shares | Company, on gain recognized per asset sold |
| Tax character | Generally capital gain | Mixed, ordinary income vs. capital gain depending on asset type |
| Liability | Buyer inherits existing liabilities and tax attributes | Buyer typically avoids inheriting prior liabilities |
| Who tends to prefer it | Sellers, generally simpler and often more favorable | Buyers, cleaner liability profile |
In a stock or share sale, the seller is typically taxed on the capital gain from the shares themselves, and the buyer inherits the company's existing liabilities and tax attributes along with the business.
In an asset sale, the company itself, not necessarily the individual seller directly, may recognize gain on each asset sold, with different tax character (ordinary income versus capital gain) depending on the specific asset type. This structure can also trigger different withholding and reporting obligations than a stock sale would.
Buyers often prefer asset sales because of the cleaner liability profile they provide. Sellers often prefer stock sales because the tax treatment is generally simpler and often more favorable. This negotiation dynamic is a real, recurring point of tension in company sale discussions, and understanding which side each structure favors before negotiations start puts a seller in a stronger position.
The US Exit Tax: A Related but Distinct Issue for Citizens Renouncing
For US citizens or long-term residents who expatriate, renouncing citizenship or giving up a long-term green card, a separate and distinct tax applies: the exit tax.
The exit tax treats worldwide assets, including business interests, as sold on the day before expatriation, a "mark-to-market" approach, taxing unrealized gains above an annual exclusion. The 2026 exclusion is $910,000, up from $866,000 in 2024. Gains above that exclusion are taxed at standard capital gains rates, up to 20% long-term, plus the 3.8% net investment income tax where applicable. The IRS's official expatriation tax guidance covers the full mechanics, including who qualifies as a "covered expatriate" subject to this treatment and how Form 8854 factors in.
This is directly relevant for founders who built a company while a US person and are now considering renouncing citizenship as part of a broader relocation strategy. The exit tax doesn't care whether you've actually sold the company yet; it treats the unrealized value as if you had, on the day before you expatriate.
Ingrid, a dual citizen who'd built a profitable Delaware LLC-based consultancy over a decade while living primarily in Germany, began exploring US citizenship renunciation as part of simplifying her tax filing obligations. Her advisor calculated that her business's current valuation, combined with her other US-connected assets, would trigger a mark-to-market exit tax bill well above the $910,000 exclusion, a liability she'd face on paper gains from a business she had no immediate plans to actually sell. Understanding this before filing Form 8854 changed her timeline entirely; she's now weighing whether to structure a partial sale first or delay renunciation until circumstances shift.
Note: This guide is for research and educational purposes. It does not constitute legal or tax advice. Tax treatment of a company sale depends heavily on your specific structure, residency, treaty status, and deal terms, and rules change. Always confirm current requirements with a licensed cross-border M&A tax specialist before structuring or closing a sale.
Capital Gains Tax Selling Company Non-Resident: How to Actually Plan for This
Structuring the exit early, years before an actual sale, matters enormously. Tax residency, treaty position, and entity structure are all far easier to influence in advance than to fix retroactively at closing, when the deal timeline and counterparty pressure leave little room for restructuring.
Documentation, Form W-8BEN, tax residency certificates, needs to be prepared before the sale closes, not scrambled together during the closing process. Tomás's cash-flow trap above is exactly what happens when this preparation gets treated as a formality rather than a genuine prerequisite.
Curious about the reporting side of a cross-border sale? See our guide to FATCA and CRS reporting for global citizens →
This is unambiguously a "bring in a cross-border M&A tax specialist" moment. The stakes and complexity, five interacting variables, treaty interpretation, structure negotiation, and potentially the exit tax on top, are too high for DIY assumptions at the exact moment when the most money is on the line.
If you're planning an eventual exit and want a clearer sense of your tax exposure before you're negotiating a deal, get in touch with Atlasway →. We're a research platform, not a tax firm, so there's no pressure either way, just a clearer starting point before you talk to a specialist.
Conclusion
Capital gains tax on selling a company as a non-resident hinges on five interacting variables: company location, your tax residency, treaty status, deal structure, and whether FIRPTA-style rules apply. Getting any one of them wrong, especially the W-8BEN documentation trap at closing, can mean receiving significantly less than expected on the single biggest payday of a founder's career.
The treaty capital gains exemption's case-by-case nature, the stock-versus-asset-sale negotiation dynamic, and the exit tax's separate mark-to-market treatment for citizens renouncing are the three places sellers most often either plan correctly because they started years in advance, or discover the real cost only after the deal has already closed. Structuring for this outcome starts long before a buyer is at the table.
Atlasway exists for exactly this stage of the decision: understanding your tax exposure on an eventual company sale before you're negotiating the deal, not after the wire transfer arrives smaller than expected. When you're ready for a conversation specific to your structure and timeline, that's where a licensed cross-border M&A tax specialist takes over.
The guide explains the mechanism. The country pages put a price on it.
Where you form and where you live both move the tax picture. The country and company pages carry the numbers; if you want them read against your own situation, write to us.