The First File The First File
  • News & Cases
  • Federal Law
    • Taxes
    • Federal Courts & Procedure
      • Appeals
      • Civil Procedure
      • Criminal Procedure
      • Evidence
    • Constitution & Rights
    • Consumer Protection
    • Bankruptcy
    • Agencies & Administrative Law
    • Federal Employment Law
    • Health & Federal Benefits
  • State Law
    • Criminal Law & Procedure
    • Employment & Work
      • Unemployment Insurance
      • Wages & Pay
        • Minimum Wage & Local Rules
      • Workers’ Compensation
      • Workplace Rights
    • Family & Relationships
      • Divorce
      • Guardianship
      • Probate & Estates
    • Housing & Real Estate
      • Landlord–Tenant
      • Foreclosure
      • HOAs & Condominiums
      • Deeds & Property Records
    • Personal Injury & Torts
      • Auto Accidents
      • Negligence
    • Business & Contracts
      • Business Entities
      • Contracts
    • Money, Debt & Consumer
      • Consumer Protection
      • Debt Collection & Judgments
Reading: Home Sale Exclusion: Federal Tax Rules
Share
FIRST FILEFIRST FILE
Font ResizerAa
Search
  • Federal Law
    • Constitution & Rights
    • Consumer Protection
    • Practice Areas
  • State Law
    • Criminal Law & Procedure
    • Employment & Work
    • Family & Relationships
    • Housing & Real Estate
    • Personal Injury & Torts
    • Money, Debt & Consumer
    • Business & Contracts
  • Legal Terms Glossary
Follow US
Copyright © 2014-2025 Ruby Theme Ltd. All Rights Reserved.
Home » Blog » Home Sale Exclusion: Federal Tax Rules
Federal LawTaxes

Home Sale Exclusion: Federal Tax Rules

By Lucas S.
Last updated: August 9, 2026
10 Min Read
SHARE

This article is provided for educational and informational purposes only. It does not constitute legal, financial, or tax advice, and no attorney-client relationship is formed by reading it. Laws, regulations, official guidance, and related information vary by jurisdiction, change frequently, and may have changed or become outdated since the publication date. Always verify current information with authoritative sources and consult a qualified professional about your specific circumstances. The author and publisher assume no liability for actions taken based on this information.

Contents
  • What is the home sale exclusion?
  • The ownership and use tests
  • How the $500,000 joint-return limit works
  • Calculate adjusted basis and gain
  • Business, rental, and depreciation use
  • Nonqualified use
  • Reduced exclusion after an early sale
  • Special ownership situations
  • Reporting the sale
  • State tax and recordkeeping
  • Sources
Key Facts
  1. Federal level: Section 121 can exclude up to $250,000 of gain from a qualifying principal-residence sale, or up to $500,000 on certain joint returns.
  2. Federal level: The taxpayer generally must own and use the home as a principal residence for at least two years during the five-year period ending on the sale date.
  3. Federal level: The exclusion generally cannot be used if the taxpayer excluded gain from another home sale during the prior two years.
  4. Federal level: The exclusion applies to gain, not gross proceeds, and a personal loss on a main-home sale is not deductible.
  5. Federal level: Gain attributable to depreciation allowed or allowable after May 6, 1997 cannot be excluded.
  6. Federal level: Form 1099-S can require reporting on Form 8949 even when all gain is excluded.

What is the home sale exclusion?

Internal Revenue Code section 121 can exclude gain from selling or exchanging a principal residence. The maximum is generally $250,000 for one qualifying taxpayer and $500,000 for certain married couples filing jointly.

The exclusion does not apply to the sales price or cash received at closing. Gain is generally the amount realized after selling expenses minus adjusted basis. A seller must calculate gain before deciding how much section 121 can exclude.

The ownership and use tests

During the five-year period ending on the sale date, a taxpayer generally must own the property for periods totaling at least two years and use it as the principal residence for periods totaling at least two years. The ownership and use periods need not be continuous or identical.

Short temporary absences can count as use, while a long absence generally does not. Only one property is the main home at a time, determined from facts such as time spent there, address used on returns and licenses, voter registration, and family and community connections.

The taxpayer also generally must not have claimed a section 121 exclusion on another sale during the two-year period ending on the current sale date. This frequency test is distinct from the ownership and use tests.

How the $500,000 joint-return limit works

A married couple filing jointly can generally use up to $500,000 when either spouse satisfies the ownership test, both spouses satisfy the use test, and neither spouse is disqualified by a prior exclusion within two years. If those conditions are not all met, one or both spouses may still qualify for separate $250,000 limits based on individual facts.

Marriage at the time of sale does not automatically double the exclusion. Conversely, ownership by only one spouse does not necessarily prevent the joint $500,000 limit when the statutory conditions are otherwise satisfied.

Calculate adjusted basis and gain

Adjusted basis usually begins with purchase cost, including qualifying settlement charges. Capital improvements can increase basis. Depreciation, casualty adjustments, certain credits, insurance reimbursements, and other recoveries can reduce basis.

Selling expenses such as commissions, advertising, legal fees, and qualifying transfer charges generally reduce the amount realized. Paying off a mortgage does not reduce gain; it affects cash received, not adjusted basis or amount realized.

For example, a home sold for $700,000 with $40,000 of selling expenses has an amount realized of $660,000. If adjusted basis is $420,000, gain is $240,000. A qualifying single seller could exclude that gain because it is below the $250,000 maximum.

Business, rental, and depreciation use

Using part or all of a home for business or rental can make part of the gain taxable. Section 121 does not exclude gain attributable to depreciation deductions allowed or allowable for periods after May 6, 1997, even when the ownership and use tests are satisfied.

When business space is within the dwelling unit, allocation rules can differ from a separate structure. A detached office, converted unit, or separately sold portion may require allocation of basis, proceeds, and gain. Forms 4797 and 8949 can both be relevant.

Nonqualified use

Gain allocable to certain periods of nonqualified use after 2008 cannot be excluded. Nonqualified use generally means a period when neither the taxpayer nor spouse or former spouse used the property as a principal residence.

Important exceptions include certain absences after the last date the home was used as the principal residence within the five-year lookback, qualified official extended duty, and temporary absences not exceeding two years because of employment, health, or unforeseen circumstances. Publication 523 supplies the allocation worksheet.

Reduced exclusion after an early sale

A taxpayer failing the ownership, use, or two-year frequency requirement may qualify for a reduced maximum exclusion when the primary reason for sale is a change in place of employment, health, or unforeseen circumstances. Regulations provide safe harbors and a facts-and-circumstances route.

The reduced maximum is generally the full limit multiplied by the shortest qualifying fraction of two years based on ownership, use, or time since a prior exclusion. The seller must still compute actual gain; the reduced figure is a ceiling, not an automatic credit.

Safe-harbor events can include qualifying job-location changes, health-related moves, death, unemployment, certain inability to pay living expenses after an employment change, divorce or legal separation, multiple births from one pregnancy, casualty, condemnation, or disaster. A preference for a different home or improved finances is not enough by itself.

Special ownership situations

Separated or divorced taxpayers can sometimes count a former spouse’s ownership, and use by a former spouse under a divorce instrument can count for the ownership spouse. Transfers between spouses or incident to divorce generally have special nonrecognition and basis rules.

For inherited property, basis is generally determined under inherited-property rules, which can materially reduce or eliminate gain. A surviving spouse may have a $500,000 maximum for a sale within two years after the spouse’s death if statutory conditions are met and the survivor has not remarried.

Members of the uniformed services, Foreign Service, intelligence community, and Peace Corps can elect to suspend the five-year testing period during qualified official extended duty, subject to statutory limits.

Reporting the sale

A seller generally reports the sale on Form 8949 and Schedule D when gain exceeds the exclusion, the seller elects not to claim the exclusion, or Form 1099-S was received. An excluded transaction can therefore remain reportable.

Form 1099-S reports gross proceeds, not taxable gain. The seller supplies basis, selling expenses, excluded gain, depreciation, and other adjustments. A closing agent’s decision not to issue Form 1099-S does not determine eligibility.

A loss on the sale of a personal main home is generally nondeductible. A business or rental portion can have different treatment based on allocation and use.

State tax and recordkeeping

Section 121 is a federal exclusion. States can conform, modify, or require separate adjustments, so the state return must be reviewed independently.

Keep purchase and closing statements, improvement invoices, depreciation schedules, prior rental returns, sale documents, Form 1099-S, and proof of occupancy. The related guide to taxes on the sale of a primary residence places the exclusion within the broader gain calculation.

Sources

  • 26 U.S.C. § 121, principal-residence exclusion
  • IRS Publication 523, Selling Your Home
  • IRS Topic 701, Sale of Your Home
  • IRS, Sale of residence tax tips
  • IRS Instructions for Form 1099-S
  • Treasury regulations on reduced exclusion

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Copy Link Print
ByLucas S.
Follow:
I am an independent writer and researcher with a deep interest in law, public affairs, and how the U.S. legal system operates in the real world. Regarding the key facts about my work, my role consists of providing plain-English legal explanations and covering various lawsuits and legal disputes. My approach involves preparing articles using the primary sources listed on each page. I am not an attorney or a lawyer and I do not provide legal advice. The primary areas where I focus my research include explaining complex legal topics in plain English, translating official legal materials into accessible explanations, and following current lawsuits and court cases. You should consult a qualified professional for advice regarding your own situation.
Previous Article Editorial illustration of a survey-staked grassy parcel behind a closed wooden access gate Option Contract in Real Estate: Rights, Terms, and Exercise
Next Article Felony Eluding in Florida: Charges and Classifications
Most Popular
An unpaved road curves through a sunlit high-desert landscape toward two distant red-rock buttes.
Patagonia coalition asks court to revive Bears Ears challenge after Trump reduction
September 3, 2026
A broad daylight street view of a modern courthouse with palm trees, entrance steps, traffic lights and a few distant pedestrians.
Duane Davis Convicted in Tupac Shakur Murder Case: What the Verdict Decides
September 3, 2026
The White House stands beside fenced construction sites, cranes and partially built concrete structures in daylight.
Supreme Court Lets White House Ballroom Work Continue Without Deciding Its Legality
September 3, 2026
Pedestrians walk near the entrance of a modern federal courthouse complex in daylight.
Music Publishers Sue Anthropic Over Alleged Use of Thousands of Compositions
September 3, 2026
Pedestrians pass a large stone courthouse with tall windows and mature trees along an urban street.
FTC and 22 States Sue Amazon Over Sponsored Ads Pricing
September 1, 2026

You Might Also Like

Are Death Benefits Taxable? Federal Rules for Beneficiaries

9 Min Read
Federal appellate judges reviewing briefs and a district court record in chambers
Appeals

Appellate Jurisdiction: Federal Review Authority Explained

8 Min Read
New York resident reviewing blank state and city tax records beside a calculator
Federal Law

New York Income Tax: State, NYC, Residency, and Filing Basics

11 Min Read

How Much Tax Do I Pay on a 401(k) Withdrawal?

11 Min Read

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!
The First File The First File

Our goal is to provide simple explanations of federal and state laws without the confusing jargon

Latest News

  • Federal Law
  • State Law
  • Legal Terms Glossary

Resouce

  • Business Contact Page
  • Corrections Policy
  • Editoral Policy
  • About
  • Sitemap

Legal Notice

The information on this website is for educational purposes only and does not constitute legal advice.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?