Back to Blog
    July 24, 2026

    The Section 121 Capital Gains Exclusion When Selling Your Miami Home (2026)

    Share

    Last updated: July 2026

    When you sell your Miami primary residence, the Section 121 capital gains exclusion lets you exclude up to $250,000 of gain from federal income tax if you file single, or up to $500,000 if you are married filing jointly [1]. To qualify, you generally need to pass two tests: you must have owned the home for at least 24 months out of the five years before the sale, and used it as your principal residence for at least 24 months out of that same five-year window [1]. Those two-year periods do not have to line up, and the months of use do not need to be consecutive [2].

    A few things worth setting straight up front. The exclusion applies to gain, not to your sale price, so a large closing check does not automatically mean a large tax bill. Florida has no state income tax, which removes one layer, but the federal rules still apply above the exclusion. And you can only use this exclusion once in any two-year period [1]. This article is general information, not tax advice. Run your specific numbers with a CPA before you file.

    How the exclusion actually works

    Think of it the way an underwriter would: the tax is assessed on your gain, and the exclusion is a deduction against that gain. So the first job is to calculate the gain correctly, and the second is to confirm you clear the tests.

    The exclusion caps are fixed: $250,000 of gain for single filers and $500,000 for married couples filing jointly [1]. For the full $500,000, both spouses generally must meet the use test and neither can have used the exclusion in the prior two years, while at least one spouse meets the ownership test [2]. If your gain lands under your cap and you pass the tests, the excluded portion is simply left off your federal return.

    Calculating your gain

    Gain is not sale price. The IRS builds it in two steps [2]:

    • Amount realized is your sale price minus selling expenses such as the brokerage commission and certain closing costs.
    • Adjusted basis is generally what you paid for the home, plus capital improvements, minus items like depreciation previously claimed.

    Your gain is the amount realized minus the adjusted basis. This is where Miami owners often leave money on the table. Capital improvements raise your basis, which lowers your taxable gain [2]. A new roof, impact windows, a kitchen renovation, an HVAC system, a room addition, or a seawall all count as improvements that increase basis. Routine repairs and maintenance that simply keep the home in good condition do not [2]. If you have held a Miami property through a decade of upgrades, pulling those receipts together can meaningfully change the math.

    A quick illustration. Say you bought for $600,000, put $150,000 into a documented renovation, and sold for $1,050,000 with $70,000 in selling costs. Amount realized is $980,000, adjusted basis is $750,000, and gain is $230,000. A single filer who passes both tests could exclude that entire gain under the $250,000 cap [1].

    The ownership test and the use test

    These are two separate requirements, and both look at the five years ending on your sale date [1].

    • Ownership test: you owned the home for at least 24 months of those five years.
    • Use test: you lived in it as your principal residence for at least 24 months of those five years.

    The 24 months of use can be scattered across the window rather than a single unbroken stretch [2]. Short absences, like a vacation, still count as time lived in the home. Because ownership and use are tested independently, situations like renting before buying, or holding title while living elsewhere for a period, are worth walking through with a professional.

    The once-every-two-years limit

    You cannot claim the exclusion if you already excluded gain from another home sale during the two-year period before this sale [1]. In practice, the exclusion is available at most once every two years. For owners who move between properties on a shorter cycle, this limit is the one that most often disqualifies an otherwise clean sale, so check your prior filing before you count on it.

    Partial exclusion for work, health, or unforeseen events

    If you do not meet the full two-year tests, you may still qualify for a reduced exclusion when the primary reason for selling is a qualifying circumstance [2]:

    • A work-related move, generally where a new job location is at least 50 miles farther from the home than your prior workplace.
    • A health-related move, such as relocating to obtain or provide medical care.
    • An unforeseeable event, which can include items like divorce, certain job losses, or other events described by the IRS.

    The partial exclusion is prorated. In broad terms, you take the shortest qualifying period, measured in months or days, divide it by 24 months (or 730 days), and multiply by your cap [2]. So a single filer who lived in a home for 12 of the required 24 months for a qualifying reason could exclude up to roughly $125,000 of gain rather than the full $250,000. The exact calculation belongs with your CPA.

    Homes that were previously a rental

    Miami has a lot of owners who lived in a property, rented it out, and later sold. Two rules matter here.

    First, depreciation recapture is not excludable. If you claimed depreciation for business or rental use after May 6, 1997, you cannot exclude the portion of gain equal to that depreciation [2]. That amount is treated as unrecaptured Section 1250 gain and is taxed at its own federal rate, separate from the exclusion.

    Second, the nonqualified use rule. Time after 2008 when the home was not your principal residence can count as nonqualified use, and the gain allocated to those periods generally cannot be excluded [2]. The exclusion is prorated between qualified and nonqualified use. If your Miami property has a mixed history as both a home and a rental, this is a conversation to have before listing, not after closing.

    The Florida angle

    Florida imposes no state personal income tax, so there is no separate state capital gains tax on your home sale. That is a real advantage relative to high-tax states, but it does not remove the federal picture.

    Gain above your exclusion is federal capital gain. For most sellers, the long-term capital gains rate is no higher than 15%, though it can reach 20% at higher income levels [3]. On top of that, the 3.8% Net Investment Income Tax can apply to net investment income once modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married filing jointly [4]. In a strong Miami market, a large gain that exceeds the exclusion can push a seller into both, so it is worth modeling before you sign a contract.

    If you are weighing a sale, it helps to know your basis and likely gain before you set a price. You can start with a listing valuation and read more about the process on the sell your Miami home page.

    Frequently asked questions

    Does Florida tax the gain on my home sale?

    No. Florida has no state personal income tax, so there is no state-level capital gains tax on a home sale. Federal rules, including the Section 121 exclusion and any tax on gain above it, still apply.

    Do I pay tax if my gain is under the exclusion?

    Generally no, if you pass the ownership and use tests and have not used the exclusion in the prior two years. A single filer can exclude up to $250,000 of gain and a married couple filing jointly up to $500,000 [1].

    Can I use the exclusion on a second home or investment property?

    The exclusion is for your principal residence. A pure second home or investment property does not qualify, though a property you genuinely lived in as your main home for part of the period may qualify in part, subject to the nonqualified use and depreciation rules [2].

    How do capital improvements affect my taxes?

    Capital improvements increase your adjusted basis, which lowers your taxable gain [2]. Keep documentation for renovations, additions, and major systems. Routine repairs do not increase basis.

    Should I get professional advice?

    Yes. Depreciation recapture, nonqualified use, partial exclusions, and the Net Investment Income Tax all turn on facts specific to your situation. A CPA can confirm your numbers before you file. You can also review our general FAQ.

    Gabriel

    Sources

    ---

    Gabriel A. Moyers, PA. eXp Realty. Florida License #3407280. Equal Housing Opportunity. This article is general information as of July 2026 and is not legal, tax, or financial advice. Verify current figures against authoritative sources before acting.

    Thinking of selling your luxury property in Miami? Find out what your home is worth.

    Get Your Home Valuation
    or