Section 121 Tax Code: Exclusion Limits, Recapture, and Reporting

The Section 121 home sale exclusion lets you keep up to $250,000 of profit from selling your main home out of federal income tax, or up to $500,000 if you’re married and file jointly. It lives in Section 121 of the Internal Revenue Code. If you’ve seen references to “Section 121(l),” that subsection doesn’t exist. The provision people usually mean is Section 121(f), which lets you elect not to use the exclusion on a given sale.

Who Qualifies

Two tests decide eligibility, and both look at the five years ending on the sale date. You must have owned the home for at least two of those years, and you must have used it as your principal residence for at least two of those years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The ownership and use periods don’t have to line up, and neither has to be continuous. A year lived in, a stretch rented out, then another year lived in can still get you there.

One more limit: you can only claim this exclusion once every two years. If you excluded gain on a different home within the past two years, this sale doesn’t qualify.2Internal Revenue Service. Topic No. 701, Sale of Your Home If you own more than one home, only one counts as your principal residence at a time. The IRS looks at where you spend most of your time, where you work, where you’re registered to vote, and which address shows up on your tax returns, driver’s license, and bank accounts.

How Much Gain You Can Exclude

Single filers and married filers filing separately can exclude up to $250,000. Married couples filing jointly can exclude up to $500,000 when at least one spouse meets the ownership test, both spouses independently meet the use test, and neither spouse has used the exclusion on another sale in the past two years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence If your gain fits under the cap, the whole thing is federal-tax-free.

Gain isn’t simply sale price minus purchase price. The IRS starts with your adjusted basis: your original cost plus certain closing expenses, increased by capital improvements you’ve made over the years. The higher your basis, the smaller your taxable gain.

Improvements Versus Repairs

Improvements add value, extend the home’s useful life, or adapt it to a new use. A new roof, a finished basement, a new HVAC system, or a deck addition all count and raise your basis. Ordinary maintenance does not. The IRS specifically excludes patching leaks, painting, plastering, fixing gutters, and replacing broken window panes.3Internal Revenue Service. Publication 523, Selling Your Home

There’s a useful exception. Repairs done as part of a larger remodel take on the character of the whole project. Replacing one cracked tile is a repair. Gutting the bathroom and replacing that tile as part of the rebuild makes the whole job an improvement. Keep receipts. The difference between a $350,000 gain and a $220,000 gain can turn on what you can document.

Selling Before Two Years

Selling before you hit the two-year marks doesn’t automatically disqualify you. If the move is driven by a change in employment, a health issue, or an unforeseen circumstance, you can claim a partial exclusion.4Internal Revenue Service. Publication 523, Selling Your Home – Section: Does Your Home Qualify for a Partial Exclusion of Gain

  • Employment change: your new workplace is at least 50 miles farther from the home than your old workplace was.
  • Health: you’re moving to get medical treatment, care for a family member, or follow a doctor’s recommendation.
  • Unforeseen circumstances: divorce or legal separation, multiple births from a single pregnancy, job loss, or a natural disaster affecting the home.

To calculate the partial exclusion, take the shortest of three periods (your actual time living in the home, your time owning it, or the time since you last used the exclusion), divide by 730 days, and multiply by $250,000 for a single filer or $500,000 for joint filers.3Internal Revenue Service. Publication 523, Selling Your Home Fifteen months of qualified use for a single filer works out to 15 ÷ 24 × $250,000, or $156,250 in excludable gain.

Gain That Stays Taxable

Nonqualified Use

If you used the home for something other than a personal residence during part of your ownership (a rental period, say, or exclusive business use), part of your gain may not qualify. The statute allocates gain to “nonqualified use” using a ratio of nonqualified-use time to total ownership time.5Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Nonqualified Use That portion is taxable as capital gain regardless of the exclusion.

Several carve-outs limit the damage. Any nonqualified use before January 1, 2009 is ignored. Time after you last used the home as your residence doesn’t count against you, so renting it out for a year after moving doesn’t create a problem. Up to 10 years of qualified official extended duty for military, Foreign Service, or intelligence community members is exempted, and temporary absences of up to two years for employment, health, or unforeseen circumstances don’t count either.

Depreciation Recapture

If you claimed depreciation on the home (for a home office or during a rental period), the exclusion does not shield that depreciation from tax. Gain attributable to depreciation taken after May 6, 1997 is recaptured and taxed at a rate of up to 25 percent.3Internal Revenue Service. Publication 523, Selling Your Home This calculation happens first. Even if your total profit sits well under $250,000, the piece equal to your past depreciation deductions is still on the table.

Net Investment Income Tax Above the Cap

Excluded gain isn’t hit by the 3.8 percent Net Investment Income Tax. Gain above the cap is. If your modified adjusted gross income is over $200,000 (single) or $250,000 (married filing jointly), that surtax applies to the excess on top of your regular capital gains rate.6Internal Revenue Service. Net Investment Income Tax On a high-value sale, that extra 3.8 percent is a real reason to make sure every capital improvement is captured in your basis.

Divorce, Surviving Spouses, and Service Members

If you received the home from a spouse or former spouse in a divorce, your ownership period includes the time your ex owned it before the transfer, so the clock doesn’t reset when the deed changes hands. Any time your former spouse lives in the home under a divorce or separation decree counts as your own use for the use test.7Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Special Rules

A surviving spouse who hasn’t remarried can claim the full $500,000 cap if the home is sold within two years of the spouse’s death and the couple met the joint-return requirements immediately before the death. The deceased spouse’s ownership and use time counts toward eligibility.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Special Rule for Certain Sales by Surviving Spouses Miss the two-year window and the cap drops to $250,000.

Members of the uniformed services, the Foreign Service, and the intelligence community can elect to suspend the five-year look-back for up to 10 years while on qualified official extended duty. Qualified duty generally means a station at least 50 miles from the home, or living in government quarters under orders, for more than 90 days or an indefinite period.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The suspension stretches the testing window from 5 years up to 15.

Choosing Not to Use the Exclusion

Section 121(f) lets you elect not to apply the exclusion to a particular sale.9Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence – Section: Election to Have Section Not Apply Odd as that sounds, it’s a planning tool. Because the exclusion is limited to once every two years, using it on a small gain can lock you out of using it on a much larger gain soon after.

Consider a home sold at a $40,000 profit followed within two years by another home sold at a $400,000 profit. Claiming the exclusion on the first sale would block it on the second. Paying capital gains tax on $40,000 (roughly $6,000 at the 15 percent rate) is far cheaper than losing the shelter on $250,000 or more of the bigger gain. You make the election simply by reporting the gain as taxable on your return instead of claiming the exclusion. This is the authority some sources incorrectly attribute to “Section 121(l).”

How to Report the Sale

If your entire gain is excluded and no Form 1099-S was issued at closing, you don’t have to report the sale at all.10Internal Revenue Service. Important Tax Reminders for People Selling a Home Many closings do generate a 1099-S. When one is issued, you must report the sale even if every dollar of gain qualifies for the exclusion.

Use Form 8949 to list the transaction: acquisition date, sale date, proceeds, and adjusted basis. Enter an adjustment code to show the excluded portion.11Internal Revenue Service. Instructions for Form 8949 The totals carry to Schedule D of your Form 1040. Skipping this step after a 1099-S has been filed is one of the most common causes of automated IRS notices, because the agency sees reported proceeds with no matching entry and assumes the full amount is taxable.