IRS-registered tax pros on every filing

    Rental to Primary Residence: How Section 121 Nonqualified Use Cuts Your Exclusion

    Moving back into a former rental before selling? Learn how Section 121 nonqualified use rules can shrink your home sale exclusion and what South Florida owners should do about it.

    WAYG Tax Team·Real Estate·September 2026·12 min read

    You bought a condo in Coral Gables, rented it out for a few years while property values climbed, and now you are thinking about moving back in before you sell. That plan feels like a smart way to reclaim the $250,000 or $500,000 home sale exclusion under Section 121. It often is, but the math is more complicated than most South Florida property owners expect, and the IRS has a specific rule that can permanently wipe out a chunk of your tax free gain.

    Converting a rental property back into your primary residence does not automatically restore your full exclusion. Section 121 nonqualified use rules require you to prorate your gain between the years the property served as a rental and the years it served as your home. If you have owned an investment property in Miami-Dade County and are weighing a move back in before a sale, understanding this rule now can save you tens of thousands of dollars in surprise taxes later.

    What the Section 121 Exclusion Actually Covers

    Section 121 of the Internal Revenue Code lets a homeowner exclude up to $250,000 of gain ($500,000 for married couples filing jointly) when they sell their primary residence. To qualify for the full exclusion, you generally must have owned and used the home as your principal residence for at least two of the five years before the sale.

    Get our starter pack of tax guides, free.

    One welcome email with our most-used guides, then a few genuinely useful ones a month. Unsubscribe anytime.

    That two of five year test sounds simple, but it was never designed to reward investors who convert rentals into homes right before a sale just to dodge capital gains tax. Congress addressed that loophole in 2008 by adding the nonqualified use rules, and those rules are exactly what trips up South Florida landlords converting a rental back into a primary home.

    The Nonqualified Use Rule, Explained

    Nonqualified use is any period after January 1, 2009 during which the property was not used as your principal residence, most commonly while it was rented out to tenants. Under the rule, the portion of your gain that corresponds to nonqualified use years is not eligible for the exclusion, even if you meet the two of five year ownership and use test.

    The formula looks like this:

    Taxable gain from nonqualified use = Total gain x (Nonqualified use days / Total ownership days)

    Only the gain attributable to qualified use, meaning time the home was your principal residence, is eligible for exclusion. Rental years after 2008 count against you dollar for dollar.

    Converting a Rental to Primary Residence: A Real Calculation

    Let's walk through an example that mirrors what we see regularly at our Coral Gables headquarters.

    Suppose you bought an investment condo near Coral Gables in January 2016 for $300,000. You rented it out from 2016 through 2023, eight full years. In January 2024, you moved in yourself and lived there as your primary residence through 2026, three years. You sell in early 2027 for $600,000, generating a $300,000 gain.

    Here is how the nonqualified use math plays out:

    Period Years Days (approx.) Use Type
    Jan 2016 to Dec 2023 8 years 2,920 days Nonqualified (rental)
    Jan 2024 to sale in 2027 3 years 1,095 days Qualified (primary residence)
    Total ownership 11 years 4,015 days

    Nonqualified use ratio: 2,920 / 4,015 = 72.7%

    Taxable portion of gain: $300,000 x 72.7% = $218,100

    Excludable portion of gain: $300,000 x 27.3% = $81,900

    Even though you meet the two of five year test and technically qualify for the exclusion, only $81,900 of your $300,000 gain can be excluded. The remaining $218,100 is taxed as long term capital gain, and depending on your income bracket that could mean a federal tax bill of $32,715 to $41,439 (at the 15% to 20% long term capital gains rates), plus the 3.8% Net Investment Income Tax if your modified adjusted gross income exceeds the applicable threshold, adding roughly $8,288 more.

    Compare that to a property that was always your primary residence with the same $300,000 gain. That owner would owe $0 in federal tax on the sale, assuming the gain stays under the $250,000 or $500,000 exclusion cap.

    Depreciation Recapture Adds a Second Layer

    Nonqualified use gain is not the only tax cost when converting a rental back into your primary home. Any depreciation you claimed while the property was a rental must be recaptured separately, and that recapture is never eligible for the Section 121 exclusion, regardless of how long you later lived in the home.

    If you claimed $54,545 in depreciation over those eight rental years (a common figure for a $300,000 building basis depreciated over a 27.5 year schedule, excluding land value), that entire amount is taxed at a maximum rate of 25% under the unrecaptured Section 1250 gain rules. That is an additional $13,636 in federal tax on top of the nonqualified use gain calculation above.

    Miami-area entrepreneurs who used aggressive depreciation strategies to offset rental income in earlier years often forget that the bill eventually comes due at sale, exclusion or not.

    When the Exclusion Still Makes Sense

    None of this means converting a rental back to a primary residence is a bad move. It usually still saves real money compared to selling the property outright as a rental with zero exclusion available.

    Using the same $300,000 gain example, if you had sold the condo directly as a rental without ever moving back in, the entire $300,000 gain plus the $54,545 depreciation recapture would be taxable, with no exclusion at all. Converting to a primary residence still saved you $81,900 in excluded gain, which at a 20% capital gains rate is worth $16,380 in real tax savings, plus potential state tax savings depending on where you eventually relocate.

    Step by Step: Evaluating a Rental to Primary Conversion

    1. Pull your original purchase price, closing costs, and capital improvement records to establish accurate basis.
    2. Total the depreciation claimed on every tax return since the rental began.
    3. Calculate your nonqualified use days versus qualified use days based on actual move in and rental dates.
    4. Estimate your expected sale price to project total gain.
    5. Run the nonqualified use ratio and depreciation recapture numbers before you list the property.
    6. Compare the after tax proceeds of converting versus selling as a rental outright.
    7. Time the sale around the two of five year window carefully, since moving out again before selling can eliminate your exclusion eligibility entirely.

    Special Situations That Change the Math

    A few scenarios modify the standard nonqualified use calculation, and South Florida property owners run into these more often than you might expect given the region's mix of seasonal residents, military families, and multi-property investors.

    Pre-2009 rental use does not count against you. If you rented the property before January 1, 2009 and it has been your primary residence since, that early rental period is exempt from the nonqualified use penalty. Only post-2009 nonqualified periods reduce your exclusion.

    Temporary absences of up to two years may still count as qualified use if you lived in the home first and then had to leave for specific reasons such as a change in employment location, health issues, or unforeseen circumstances defined by the IRS, and you did not use the property as a rental during that time.

    Any period after the last date you use the property as a primary residence counts as nonqualified use too. If you move out and rent the property before selling, that final rental stretch also reduces your excludable gain.

    Scenario Nonqualified Use? Impact on Exclusion
    Rented 2005 to 2008, primary residence since 2009 No (pre-2009 exempt) Full exclusion available
    Rented 2016 to 2023, primary residence 2024 to 2027 Yes Prorated exclusion only
    Lived in home, deployed with military 2020 to 2021, no rental No (qualifying absence) Full exclusion likely preserved
    Moved out, rented 2025 to 2026, then sold Yes Reduces exclusion for final rental stretch

    Why South Florida Owners Face This More Often

    Miami-Dade County's rental market has drawn a large number of accidental landlords over the past decade. Many owners bought condos or single family homes as their primary residence, relocated for work or lifestyle reasons, rented the property out during the strong South Florida rental cycle, and are now considering moving back before selling into a still competitive market.

    If that describes your situation, the nonqualified use rules deserve careful attention before you sign a listing agreement. A miscalculated exclusion can turn a clean sale into a tax bill that eats into your down payment for the next property.

    Our team works with South Florida business owners and individual investors on exactly this kind of planning through our business tax strategy services, where we model out the nonqualified use ratio, depreciation recapture, and timing scenarios before you commit to a sale date.

    Planning Moves That Can Soften the Impact

    You have some legitimate ways to manage the tax exposure from a rental to primary residence conversion.

    Consider a partial 1031 exchange if you sell before fully converting the property to personal use, which defers gain on the investment portion while you separately plan for the personal use portion. Talk with your accountant about whether a cost segregation study on the original rental years affects your depreciation recapture calculation. Review your withholding and estimated payments for the year of sale so the tax bill does not surprise you at filing time, particularly since Q4 2026 estimated payments are due January 15, 2027 and a large capital gain late in the year can trigger an underpayment penalty if you are not proactive.

    Owners working with our managed accounting team typically build the projected tax liability into their cash flow planning months before closing, rather than discovering the number on their 2026 return the following spring.

    Keep Clean Records From Day One

    The nonqualified use calculation lives and dies on your records. You need exact dates for when the property became a rental, when you moved back in, every depreciation entry from your tax returns, and documentation of any capital improvements that adjust your basis.

    If your bookkeeping has been inconsistent across the rental years, now is the time to reconcile it. Our small business bookkeeping services help property owners rebuild accurate depreciation schedules and use histories so the exclusion calculation holds up if the IRS ever asks questions.

    Frequently Asked Questions

    Q: Does moving back into a rental property automatically restore my full Section 121 exclusion? A: No. Meeting the two of five year ownership and use test qualifies you for the exclusion, but the nonqualified use rules still require you to prorate the gain based on how many days the property was rented versus used as your primary residence after 2008. You will only exclude the portion of gain attributable to qualified use years.

    Q: Does rental use before 2009 count against my exclusion? A: No. The nonqualified use rule only applies to periods after January 1, 2009. If your rental years happened entirely before that date and the home has been your primary residence since, you generally are not penalized for that earlier rental period.

    Q: Is depreciation recapture affected by converting to a primary residence? A: No. Depreciation recapture on the years the property operated as a rental is taxed separately at up to 25% under the unrecaptured Section 1250 gain rules, regardless of how the exclusion works or how long you later lived in the home as your primary residence.

    Q: How do I calculate the nonqualified use ratio for my property? A: Divide the number of days the property was used as a rental (nonqualified use) after 2008 by your total number of ownership days. Multiply that percentage by your total gain to determine the taxable portion, and the remainder is eligible for the Section 121 exclusion up to the applicable cap.

    Q: I own a rental in Miami-Dade County and want to move back in before selling. What should I do first? A: Start by gathering your full ownership timeline, depreciation records, and improvement receipts, then run the nonqualified use and recapture calculations before you set a sale date. Scheduling a review with a local accounting team familiar with South Florida real estate can help you time the sale to minimize your tax exposure.

    Q: Can a temporary absence from my primary residence avoid counting as nonqualified use? A: Yes, in limited circumstances. If you lived in the home as your primary residence first and then had a qualifying temporary absence of up to two years due to a job change, health issue, or unforeseen circumstance, and the property was not rented during that time, it typically still counts as qualified use.

    Get the Numbers Right Before You List

    Converting a rental back into your primary residence can still deliver meaningful tax savings, but only if you understand exactly how much of your gain the Section 121 nonqualified use rule will exclude. Skipping this analysis before you sell is one of the most expensive mistakes we see among South Florida property owners, and it is entirely avoidable with the right planning.

    Our Coral Gables team helps Miami-area entrepreneurs and individual investors calculate their exact exclusion, project depreciation recapture, and time their sale for the best after tax outcome. If you are weighing a rental to primary residence conversion, schedule a consultation with WAYG for a free strategy session, or request a quote to see how we can support your next move.

    Related service

    Business Tax Strategy

    Planning that happens while the year is still open, so the savings are real instead of theoretical.

    • 14 days
    • No card
    • Keep the deliverables