Capital Gains Tax on Owner Occupied Property: Exclusion and Reporting

When you sell the home you live in, federal law lets you keep a large slice of the profit tax-free. The capital gains tax on owner-occupied property is governed by Section 121 of the Internal Revenue Code, which allows a single filer to exclude up to $250,000 of gain and a married couple filing jointly to exclude up to $500,000.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Profit above that ceiling is taxed at long-term capital gains rates, and higher earners may owe an additional 3.8% surtax on top.

How Much Profit You Can Shield From Tax

A single seller who meets the qualifying tests excludes up to $250,000 of gain. A married couple filing jointly excludes up to $500,000, but the higher figure has conditions: both spouses must meet the two-year use test, and at least one must meet the ownership test.2Internal Revenue Service. Topic No. 701, Sale of Your Home If only one spouse clears both hurdles, the couple’s exclusion drops to $250,000.

A surviving spouse keeps access to the full $500,000 exclusion if the sale closes within two years of the spouse’s death and the ownership-and-use requirements were met immediately before the death.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Sell after that window and the exclusion falls to $250,000. The timing can be worth six figures.

Who Qualifies: The Ownership and Use Tests

You have to have owned the home and lived in it as your primary residence for at least two of the five years ending on the sale date.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The two years do not have to be consecutive. Living there 14 months, renting the place out for two years, then moving back for another 10 months still adds up to two years of use inside the five-year window.

There is a second gate that catches sellers off guard. You cannot have used the Section 121 exclusion on another home sale in the two years before this one.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence If you already claimed the exclusion inside that window, this sale gets nothing, no matter how long you lived in the new house.

Working Out Your Gain

Taxable gain is the sale price minus your adjusted basis, minus whatever exclusion you qualify for. Basis starts with what you originally paid, including purchase closing costs such as title insurance, recording fees, and legal fees. The settlement statement or Closing Disclosure from your purchase has those numbers.

Capital improvements raise your basis and shrink your gain. An improvement adds value, extends the home’s useful life, or adapts it to a new use: a new roof, a kitchen renovation, a room addition, or replacing plumbing or HVAC.3Internal Revenue Service. Publication 527, Residential Rental Property Routine repairs and maintenance do not qualify. Patching drywall, repainting a room, or fixing a leaky faucet keeps the home in its current shape but adds nothing to basis. Every dollar of legitimate improvement is a dollar of gain you never pay tax on, so the records are worth keeping.

Inherited Homes

If you inherited the property, your basis is not what the previous owner paid. It resets to the home’s fair market value on the date of the previous owner’s death.4Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent A house a parent bought for $80,000 in 1985 and left to you when it was worth $400,000 gives you a starting basis of $400,000. Gain is measured only from that stepped-up figure forward.

For jointly owned property, only the deceased owner’s share is stepped up. Community property states are the exception; married couples there generally get a full step-up on both halves. You still have to meet the two-year ownership and use tests to layer the Section 121 exclusion on top, though the deceased owner’s holding period typically carries over to the heir.

Tax on the Gain Above the Exclusion

Anything above the exclusion is a long-term capital gain. For 2026, the rate depends on your total taxable income and filing status:5Internal Revenue Service. Revenue Procedure 2025-32

  • 0% on taxable income up to $49,450 single, $98,900 married filing jointly, or $66,200 head of household.
  • 15% from those thresholds up to $545,500 single, $613,700 joint, or $579,600 head of household.
  • 20% above those ceilings.

These brackets look at your full taxable income for the year, not just the home sale. A large gain can push you into a higher bracket even when your salary alone would not.

The 3.8% Net Investment Income Tax

Higher earners owe an extra 3.8% surtax on net investment income, and taxable gain from a home sale counts. The tax starts when modified adjusted gross income tops $200,000 single, $250,000 joint, or $125,000 married filing separately.6Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax Those thresholds are fixed by statute and are not indexed for inflation, so more sellers cross them every year.

The excluded portion of the gain does not count as net investment income. Only the amount above the $250,000 or $500,000 shield is exposed. The 3.8% then applies to the lesser of your net investment income or the amount your MAGI exceeds the threshold.

Depreciation Recapture on Business or Rental Use

If you claimed depreciation while renting the property or using part of it as a home office, that depreciation comes back as taxable gain at sale. Recapture is taxed at a maximum rate of 25%, and the Section 121 exclusion cannot shelter it, even when total gain sits well under the exclusion cap. The recaptured amount equals the depreciation you claimed, or should have claimed, during the rental or business-use period. Sellers who once rented a property and later moved in often miss this and get a surprise at tax time.

Partial Exclusion for Early or Unexpected Sales

Selling before you hit the two-year mark does not automatically kill the exclusion. If the sale is triggered by a job change, a health condition, or certain unforeseen events, the IRS lets you claim a prorated portion of the full amount.7Internal Revenue Service. Publication 523, Selling Your Home

A job-related move qualifies when the new workplace is at least 50 miles farther from the home than the old workplace was.7Internal Revenue Service. Publication 523, Selling Your Home Health-related moves require a physician’s recommendation for treatment, diagnosis, or care of the taxpayer or a family member. Unforeseen events the IRS recognizes include divorce, legal separation, and multiple births from a single pregnancy, among others.

The prorated amount is the full exclusion multiplied by the fraction of two years you actually lived in the home. A single seller who lived there 12 months gets 12/24 of $250,000, or $125,000.7Internal Revenue Service. Publication 523, Selling Your Home The benefit is available even when total ownership was well under a year.

When Rental or Business Use Reduces the Exclusion

Time the home spent as something other than your primary residence can carve part of the gain out of the exclusion. The IRS calls these stretches nonqualified use, and they usually show up when someone rents the property out or converts a former investment property into a home.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

The non-excludable slice is calculated by ratio: nonqualified use time divided by total ownership time. Own the home ten years, rent it for the first four, live in it for the last six, and roughly 40% of the gain is allocated to nonqualified use and taxed at capital gains rates.

One quirk works in the seller’s favor. Any period after you last used the home as your primary residence does not count as nonqualified use.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Moving out and renting the place for a year or two while it sells does not enlarge the taxable share.

Two Situations With Their Own Rules

Members of the uniformed services, the Foreign Service, and certain intelligence community employees can suspend the five-year ownership-and-use clock during qualified official extended duty, for up to ten years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Qualified extended duty means serving at 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. A service member can live in a home for a year, deploy for eight, sell, and still claim the exclusion.

If you acquired the home through a 1031 like-kind exchange and later moved in, the exclusion is unavailable for the first five years after the exchange, and time the property spent as investment property counts as nonqualified use even after that period ends.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Anyone in that situation should run the numbers with a tax professional before listing.

Reporting the Sale

Sometimes you do not have to report the sale at all. If the gain fits entirely within the exclusion and no Form 1099-S was issued at closing, the IRS does not require the transaction on your return.7Internal Revenue Service. Publication 523, Selling Your Home Many married couples with gains well under $500,000 skip the reporting step for exactly this reason.

If a Form 1099-S was issued, report the sale even when the gain is fully excludable.2Internal Revenue Service. Topic No. 701, Sale of Your Home Use Form 8949 to list the acquisition date, sale date, proceeds, and adjusted basis.8Internal Revenue Service. Instructions for Form 8949 The totals flow to Schedule D of your Form 1040. Getting the numbers to match the 1099-S the first time avoids an automated notice later.