Capital Gains Exclusion Explained: Section 121 for Homeowners

Capital Gains Exclusion Explained: Section 121 for Homeowners

Reviewed by: Brandon Brown

 

When you sell your home for more than you originally paid, the profit you earn is called a capital gain. Watching your investment grow over time is one of the best parts of owning real estate. But when tax season rolls around, many homeowners are surprised to learn that these gains might be subject to capital gains tax. Fortunately, the IRS offers a major break for homeowners through the Section 121 exclusion, often referred to as the capital gains exclusion for a primary residence. This rule can allow you to exclude a large portion, or even all, of your gain from being taxed, helping you keep more of the money you’ve earned from your home sale. In this guide, we’ll break down how the Section 121 exclusion works, who qualifies, and how selling to a cash buyer like FlipSplit can make calculating your gains and filing your taxes easier than ever.

What Is the Capital Gains Exclusion?

The capital gains exclusion is a tax rule that lets homeowners keep more of their profit when selling a primary residence. It’s designed to ease the tax burden on ordinary homeowners who’ve built equity over time, allowing them to exclude a portion of their gains instead of paying full capital gains tax on the sale.

How It Works for a Primary Residence

Under IRS Section 121, homeowners can exclude up to $250,000 in capital gains (or $500,000 for married couples filing jointly) when selling their primary residence.1 To qualify, the taxpayer must have owned and lived in the home as their principal residence for at least two of the last five years before the date of sale. These don’t have to be consecutive years. Any two years within that five-year window will do. Let’s say you bought your house for $300,000 and sold it for $600,000 after several years. That’s a gain of $300,000. If you’re a single filer, you can exclude $250,000 of that gain and pay capital gains tax only on the remaining $50,000. If you’re married and filing jointly, you could exclude the full $300,000. This exclusion is a powerful way to reduce or even eliminate taxes on a profitable home sale, one of the best financial benefits available to U.S. homeowners.

Why It Matters When Selling

Without the capital gains exclusion, any profit from your sale would be taxed just like other investment income, often at rates of 15% or 20%, depending on your income level. Understanding whether you qualify for the Section 121 exclusion helps you plan ahead. This way, you can sell your home, calculate your adjusted basis (your original purchase price plus improvements), and determine exactly how much gain is taxable. If you’ve also made improvements or claimed depreciation (for example, if part of your home was used as a rental), you’ll need to adjust your basis before calculating your gain. Our guide on “What is depreciation recapture?” explains how depreciation can affect your taxable income after a sale.  

Who said selling your house has to be hard? Definitely not us. Get your offer today!

Who Qualifies for the Section 121 Exclusion

The Section 121 exclusion is intended to benefit homeowners who’ve truly lived in their homes, rather than investors flipping properties. To be eligible, you’ll need to meet specific ownership and residence requirements set by the IRS. Here’s a breakdown of the main rules:

  • Ownership Test: You must have owned the property for at least two years before selling.
  • Residence Test: You must have lived in it as your primary residence for at least two of the past five years.
  • Frequency Rule: You can claim the exclusion only once every two years.

Special Situations and Exceptions

Some homeowners may still qualify for the exclusion even if they don’t meet all the requirements. The IRS provides exceptions for special cases, such as:

  • Divorce or separation: If ownership was transferred between spouses, either can count the time the home was owned or occupied by the other.
  • Military service or government work: Time spent away on active duty or official assignment can often count toward the two-year rule.
  • Inherited or jointly owned properties: Special calculations may apply if the home was shared with a spouse or inherited after a family member’s death.

Knowing whether you qualify and which rules apply to your case can make a big difference in how much of your gain you can exclude from capital gains tax. If you’re selling a property in California, note that county assessors in areas like Los Angeles or Orange County may reassess your home’s value after the sale, affecting property taxes for the next owner. You can learn more about this in our post on property tax when selling a house.

Partial Exclusions and Special Circumstances

Life doesn’t always fit neatly into a five-year timeline, and the IRS understands that. If you’re forced to sell your home before meeting the full two-year rule, you may still qualify for a partial exclusion under certain circumstances. Common qualifying reasons include:

  • Job relocation: If your new job requires you to move more than 50 miles away from your previous home.
  • Health issues: Selling due to medical conditions or to obtain better access to healthcare.
  • Unforeseen circumstances: Events like natural disasters, loss of employment, divorce, or multiple births (twins, triplets, etc.) can make you eligible for a partial gain exclusion.

These exceptions are designed to offer relief for homeowners facing sudden life changes, ensuring you don’t lose your entire tax benefit just because you sold earlier than expected. If your short ownership period was tied to financial strain or a potential short sale, it’s also worth reviewing our guide: Are Short Sales Taxable? It explains how forgiven mortgage debt can impact your income tax return and how to avoid unnecessary tax liabilities.

Selling to a Cash Buyer and the Tax Implications

One common question homeowners ask is whether selling to a cash buyer changes how the Section 121 exclusion works. The short answer is no—the IRS applies the same rules for all qualifying home sales, regardless of how the property is sold. However, working with a cash buyer like FlipSplit can make the process smoother and more transparent. Instead of waiting weeks or even months for inspections, financing approvals, or buyer contingencies, you can sell your home quickly and focus on understanding your capital gains before tax season arrives.

Why a Cash Sale Can Simplify the Process

Here’s how selling to a cash buyer can make handling your taxes easier:

  • No delays or uncertainty. Traditional home sales often involve long escrow periods and last-minute loan issues. A cash sale provides a firm date of sale, making it easier to calculate your gain and determine your exclusion.
  • Clear profit calculation. With no realtor fees or repair costs, you’ll know exactly what your net proceeds are. This is helpful when determining your adjusted basis and excluded gain.
  • Faster access to funds. Since there’s no waiting on financing, you can use your profit sooner for your next move or investment.

This simplicity is especially valuable for homeowners in high-demand markets like Los Angeles or Orange County, where timing and cash flow can make a big difference in planning your next purchase.

Final Thoughts: Make the Most of Your Home Sale

Selling your home is an opportunity to maximize your investment. Understanding the capital gains exclusion for a primary residence under Section 121 empowers you to plan wisely, avoid overpaying on taxes, and keep more of your profit. If you’re considering selling and want a fast, transparent process, FlipSplit can help. We buy homes as-is, offer fair cash prices, and share profits after resale. It gives you confidence that you’re getting a fair deal every time.  

 

Reviewed by: Brandon Brown

As a long-time Asset Manager, Investor, Real Estate Agent, and Broker/Owner of BayBrook Realty in Orange County, Brandon Brown is one of FlipSplit’s lead Real Estate experts. Having worked on over 2,000+ real estate transactions, Brandon brings a depth of knowledge that ensures clients are appropriately treated with honesty and integrity. His insights and advice have been published in numerous blogs beyond FlipSplit, and he keeps a close eye on market trends and statistics, which are updated weekly on his social media pages. Outside work, you can find him participating and serving at church, cycling, mountain biking, surfing around Orange County and beyond, and enjoying time with his wife and two daughters.

Sources:

  1. Internal Revenue Service. Section 121.—Exclusion of gain from sale of principal residence. https://www.irs.gov/pub/irs-drop/rr-14-02.pdf

Ready to Flip Your Home?