Skip to content

Selling Within Two Years of Buying: The Tax Hit, Explained

Sell your home before owning and living in it two years and you can lose the entire capital-gains exclusion. How the rule works and the exceptions that save you.

By Manaky Homes

Life doesn’t always respect the IRS’s calendar. You bought eighteen months ago and now there’s a job in Austin, a baby on the way, or a house that turned out to be wrong for you. Selling is the right call — but selling early has a specific, well-defined tax consequence that catches people every year: you can lose the home-sale capital-gains exclusion entirely.

Here’s exactly how the rule works, the exceptions that can rescue a partial exclusion, and the non-tax math that matters just as much.

The rule you’re up against: §121’s two-year test

Federal tax law (Section 121) lets you exclude a large amount of gain when you sell your main home — up to $250,000 of gain if single, $500,000 married filing jointly. To qualify, you must have owned the home and lived in it as your primary residence for at least two years out of the five years before the sale (the two years need not be continuous, and there’s also a limit of one exclusion every two years).

Sell at month 20, and you fail the test. The exclusion doesn’t shrink proportionally by default — it disappears, and your entire gain is taxable as a capital gain. With short ownership, that’s typically a short-term gain (held one year or less, taxed at ordinary income rates) or a long-term gain (held over a year, taxed at the lower long-term rates). Either way, in a market like Seattle’s where meaningful appreciation in two years is entirely possible, the dollars can be large.

For the full mechanics of the exclusion itself — including how Washington’s own taxes do and don’t apply to home sales — read our companion guide on capital gains tax when selling a home in Washington.

The escape hatch: the partial exclusion

Here’s the part too few early sellers know. If your early sale is caused by certain qualifying reasons, the IRS allows a partial exclusion — a prorated share of the full amount, based on how much of the two years you completed. The recognized categories, broadly:

  • Work-related move — generally a new job location sufficiently far from your old home (there’s a distance test)
  • Health reasons — a move to obtain or provide medical care, under defined conditions
  • Unforeseen circumstances — a defined list that includes events like death, divorce or separation, multiple births from one pregnancy, and certain other involuntary situations

The proration works on time completed. Illustrative example: a married couple sells after 12 months because of a qualifying job relocation. Twelve months is half of the required 24, so they can exclude up to half the full amount — up to $250,000 of gain. For the vast majority of one-year gains, that’s the whole gain, tax-free. The difference between “qualifying reason” and “we just wanted to” is the entire ballgame.

Two cautions. First, the categories have specific definitions and tests — “I got bored of the kitchen” is not an unforeseen circumstance, but a documented job transfer usually qualifies cleanly. Second, this is squarely CPA territory: get a tax professional to confirm your facts fit before you count on the exclusion, ideally before you list.

The tax bill is only half the early-sale problem

Even when the tax works out, selling early often loses money for a more mundane reason: transaction costs are front-loaded and appreciation is not.

Consider an illustrative round trip on a Seattle-area home:

CostRough shape
Selling costs (agent fees, excise tax, escrow/title, prep)Often somewhere near 7–10% of sale price all-in
Washington REET (excise tax on the sale)Graduated rate, paid by the seller
Your original buying costsAlready sunk
Equity built in ~2 yearsModest — early mortgage payments are mostly interest

Two years of typical appreciation can easily be consumed by one set of selling costs. That’s not a reason never to sell early — sometimes the life reason dominates — but it reframes the decision: the question isn’t only “what’s my tax?” but “after all friction, do I leave with more than I came in with, and is the alternative worse?”

That selling-cost line is also the one you have the most control over. Agent fees are negotiable and vary far more than most sellers realize — which is precisely the comparison Manaky Homes exists to make easy, as a free marketplace where Greater Seattle agents publish their fees side by side. No urgency if you’re not selling yet; the waitlist is there when you are.

The alternative worth pricing: rent it out instead

If your early exit is driven by a move rather than by needing the cash, there’s a third option between “sell and eat the costs” and “stay miserable”: convert the home to a rental, let the market and your tenant carry it, and sell later on better terms. The two-year residency requirement looks at the five years before sale — so a period of renting doesn’t necessarily forfeit your exclusion if you sell within the window while you still satisfy the two-of-five test (the interaction has real edges, including depreciation recapture; again, CPA).

Renting your home out is its own serious undertaking — Seattle’s landlord regulations are notably extensive — so before choosing that fork, read what changes when you convert your Seattle home to a rental and our broader decision guide, Leaving Seattle: sell or rent out your home?

A quick decision sequence for the early seller

  1. Compute your actual gain (sale price minus selling costs minus your cost basis — purchase price plus qualifying improvements). Small gain? The whole exclusion question may be moot.
  2. Check the calendar. Are you close to 24 months? Sometimes delaying a listing by a few months converts a taxable sale into a fully excluded one. That is an extremely well-paid few months.
  3. Check the exception list. Job move, health, qualifying unforeseen circumstance? A partial exclusion likely covers a short-tenure gain entirely.
  4. Price the rental alternative honestly, including Seattle’s regulatory load.
  5. Then call the CPA with your facts — this article is a map, not advice.

Bottom line

Selling within two years isn’t automatically a tax disaster — but it’s the one home-sale scenario where a few months and a documented reason can swing the outcome by tens of thousands of dollars. Know your gain, know your dates, know the exception categories, and make the timing a decision instead of an accident.

Keep reading