Jin US ↔ JAPAN MONEY
Before you leave

Selling your US home before moving abroad: the Section 121 timing window most expats miss

By Jin · A Japanese expat who spent 4 years in the US · August 4, 2026 · 8 min read

Disclosure: this article links to Taxes for Expats. If you sign up through those links I may earn a commission, at no extra cost to you. It does not change what I recommend — I link to what I actually use or would use, and I say when I have not tested something.

The short version. The US home-sale exclusion ($250k single / $500k married filing jointly) needs 2 of the 5 years before the sale to have been ownership and use as your main home — and that 5-year clock counts backward from the closing date, not your move-out date. So you usually have about 3 years after you leave to sell and still claim the full exclusion. Selling before you become a tax resident of Japan is normally the cleaner outcome, because Japan can tax a gain the US lets you exclude. Renting the home out instead delays the sale but drags in depreciation recapture, taxed up to 25% federally no matter what. Everything on the destination-country side depends on your residency status — confirm it with a professional.

I haven’t sold a US home myself. What follows is what I pieced together researching my own US-to-Japan move — reading IRS rules alongside expat-tax write-ups — so treat it as research notes, not tax or investment advice. Real estate and cross-border tax are exactly where you pay a professional; confirm anything here against official pages and a licensed advisor before you act.

The one rule that gives you a 3-year window

Section 121 of the US tax code lets you exclude gain on the sale of your main home: up to $250,000 if you’re single, $500,000 if you’re married filing jointly. It’s not indexed to inflation, there’s no lifetime cap — but you can’t use it if you already claimed it on another home in the prior 24 months.

To qualify you have to pass two tests, both measured inside the 5-year period ending on the date of sale:

TestRequirementNotes
OwnershipYou owned the home ≥ 24 monthsFor the $500k, only one spouse must meet this
UseIt was your principal residence ≥ 24 monthsFor the $500k, both spouses must meet this

Neither block of 24 months has to be continuous. The key detail for anyone leaving the country: because the window is measured backward from the closing date, someone who lived in the home right up until departure has roughly three years after moving out to sell and still satisfy the 2-of-5 use test.

Listing the house, accepting an offer, or moving your things out does not stop the clock. Only the closing date counts. Leave the home vacant for more than three years and the use test fails — at that point you’re looking at a partial exclusion at best, or full capital-gains tax on the whole gain.

If you can close within ~3 years of leaving → you keep the full exclusion with no special planning. That single fact is worth up to $250k/$500k of shielded gain, so it’s usually the highest-value move on this entire page.

Sell before Japan, or after? The residency question

This is where the decision actually lives, and it hinges on when you become a tax resident of the destination country — Japan, in this blog’s case.

When you sellUS sideJapan side
Before you leave / before Japan residencyFull Section 121 exclusion if tests metNo claim — you weren’t a resident yet
After arriving, as a Non-Permanent Resident (< 5 of last 10 years in Japan)Exclusion still appliesForeign-source gain taxed only if remitted to Japan that calendar year
After becoming a Permanent Resident for tax (> 5 of last 10 years)Exclusion still appliesJapan taxes worldwide gains — including the portion the US excluded

The trap is the third row. Japan has no equivalent of Section 121 for foreign property, and the US-Japan tax treaty doesn’t paper over the gap. A gain the US fully excludes can still be taxable in Japan once you’re a Permanent Resident for tax purposes. Japan’s own long-term property rate (held > 5 years) runs 20.315%, and short-term (≤ 5 years) a steep 39.63% — those figures are for Japanese property and the treatment of a foreign gain by resident category genuinely needs a Japan-licensed professional, but they show the scale of what’s at stake.

The middle row — Non-Permanent Resident — is subtler. Japan taxes foreign-source income only to the extent it’s remitted into Japan in the same year. In theory, not wiring the sale proceeds into Japan that year avoids Japanese tax on them. But “remittance” is a mechanical, documentation-heavy concept, and it interacts with how you fund your life in Japan — the same tension I wrote about in spending USD in Japan during a weak yen. Don’t try to thread this needle from a blog post.

Decision rule:

  • If your gain is safely under the exclusion and you can close before Japan residency → sell first. Cleanest possible outcome, no destination-side risk.
  • If you’ll already be a Japan tax resident when you sell → get a Japan-side opinion before closing, not after. The Japanese tax could dwarf the US result.

Since the timing of when you stop being a US tax resident and become a Japan one also drives your final US return, it’s worth reading this alongside your first tax year after leaving the US — the two calendars need to line up.

The convert-to-rental path: what it costs

Can’t or don’t want to sell inside the 3-year window? Renting the home out extends your options, but it introduces two separate costs.

1. Nonqualified use. Rental periods after January 1, 2009 can count as “nonqualified use” and proportionally shrink the excludable gain:

(nonqualified-use days ÷ total ownership days) × total gain = the portion you can’t exclude — even if your total gain is under the ceiling.

There’s an important carve-out: rental time that comes after your last day of primary-residence use generally does not count as nonqualified use. So the classic pattern — live in it, then rent it, then sell — usually escapes the proration on that rental tail. Rental time sandwiched before your final stretch of living there is what gets penalized.

2. Depreciation recapture — the one you can’t dodge. Section 121 explicitly does not shelter depreciation. Any depreciation you claimed (or could have claimed) after May 6, 1997 is taxable at up to 25% federally, on top of regular capital-gains tax on gain above the exclusion.

Depreciation accrues at roughly 1/27.5 of the building’s depreciable basis each rental year. As an illustration only: a 3-year rental on a home with ~$600k of depreciable improvements could throw off ~$65,000+ in recaptured depreciation — about $16,000+ in federal tax you owe regardless of the exclusion. Those numbers are illustrative and depend entirely on your basis and rental duration; a CPA has to run the real figure.

Decision rule:

  • Short delay, gain under the ceiling → sell within 3 years and skip renting entirely. Renting only adds recapture.
  • You need rental income or a longer horizon → rent, but budget for recapture from day one. It’s a known cost, not a surprise.

A US-based rental also means keeping US financial rails alive from abroad — a bank that won’t lock you out, a working address. That’s a whole logistics problem I cover in keeping your US brokerage when moving to Japan.

Where a professional earns their fee

This is a genuine multi-jurisdiction return: possibly FIRPTA-style withholding at closing (a buyer-side rule, but your foreign-residence status can trigger it — ask your closing attorney), a US return reporting the sale on Schedule D and Form 8949, a foreign tax credit on Form 1116 if Japan also taxes the gain, and a Japan-side analysis of your resident category. The Foreign Earned Income Exclusion does not help here — it only covers earned income, never capital gains.

If you want one place to start on the US filing, Taxes for Expats is a US-Japan expat-focused firm, and that link gives $25 off your first filing. (Full disclosure: that’s a referral link — I get a small credit if you file through it, and you get the discount. It’s one option, not the only one; compare it against your own CPA before committing.) For a sale this size, the advisor’s fee is rounding error next to getting the residency-timing question wrong.

FAQ

Does the 5-year clock start when I move out or when I sell?

It ends on the date of sale (closing) and looks back five years. Because the two required years of use just have to fall somewhere inside that window, moving out doesn’t immediately cost you the exclusion — you generally have about three years after leaving to sell and still qualify. Listing or accepting an offer doesn’t stop the clock; only closing does.

Will Japan tax the gain the US lets me exclude?

It depends entirely on your Japan residency status when you sell. As a Non-Permanent Resident, Japan generally taxes foreign gains only to the extent you remit the money into Japan that year; once you’re a Permanent Resident for tax, Japan taxes worldwide gains — with no Section 121 equivalent. Confirm your category with a Japan-licensed professional before closing.

If I rent the house out first, do I lose the exclusion?

Not automatically. Renting after your last period of living there usually avoids the nonqualified-use proration, so the exclusion can still apply — but depreciation recapture (up to 25% federally) always applies to depreciation taken during the rental, exclusion or not. Model that recapture cost before you decide renting is the cheaper path.

The closing date is the one variable you actually control. Get the tax conversation started before you finalize your moving timeline — not after.