This article covers federal tax law and real estate financial strategy for educational purposes only. It does not constitute tax, legal, or financial advice. Consult a licensed CPA or tax attorney before making decisions based on your specific situation.
Selling your rental property to pay off your primary residence can eliminate a monthly mortgage payment and reduce financial stress, but whether it makes sense depends on four factors: your rental’s net cash flow, the capital gains tax on rental property you’ll face, your primary mortgage interest rate, and your long-term financial goals. Under the Section 121 exclusion, you may exclude up to $250,000 in gains (single filers) or $500,000 (married filing jointly), but selling costs of 7% to 9% and a mandatory 25% depreciation recapture rental property tax on all prior deductions can substantially reduce your actual net proceeds.
Before you list, understand the complete tax picture. Capital gains tax on rental property ranges from 0% to 20% on appreciation gains, plus that 25% depreciation recapture rate, plus a potential 3.8% net investment income tax for higher earners. Running these numbers before you act is the single most important preparation step.
This guide covers the decision framework for selling vs. keeping your rental, the full tax consequences of a sale, strategies to reduce your tax bill (including the Section 121 exclusion and 1031 exchange rental property options), the 6-year rule misconception, a side-by-side financial scenario comparison, and five mistakes to avoid before you close.
Maximize Net Proceeds From Your Rental Sale Compare cash offers from vetted buyers — no agent commission cutting into your payoff.
No repairs, no commissions, no surprises.
Selling Rental Property
- Should You Sell Your Rental to Pay Off Your Home?
- Tax Consequences of Selling a Rental Property
- How to Avoid Capital Gains Tax When Selling Rental Property
- Is There a 6-Year Rule for Primary Residence?
- Sell vs. Keep: Comparing the Financial Tradeoffs
- Is It Better to Pay Off Primary or Investment Mortgage?
- Alternatives to Selling Your Rental Property
- 5 Mistakes to Avoid Before Selling Your Rental
- Frequently Asked Questions
Should You Sell Your Rental to Pay Off Your Home?
Selling your rental property to pay off your primary residence can reduce financial stress, but the right answer depends on four factors: your rental’s net cash flow, the capital gains tax you’ll owe, your primary mortgage interest rate, and your long-term financial goals.
4 Key Factors Before You Decide
-
Net rental cash flow. Calculate gross rent minus your rental mortgage payment, property taxes, insurance, maintenance estimates, and a vacancy allowance. This is your true annual return from the property. Strong rental income means selling forfeits a reliable income stream permanently.
-
Capital gains tax exposure. Your after-tax proceeds, not your sale price, determine how much you can actually apply toward your primary residence mortgage. Subtract agent commissions (5% to 6%), closing costs (2% to 3%), capital gains taxes, and depreciation recapture taxes before comparing scenarios.
-
Primary mortgage interest rate. The interest savings from paying down your primary mortgage are only as valuable as your rate. A 3.5% primary residence mortgage saves far less per dollar paid down than a 7.5% mortgage does.
-
Long-term financial goals. A paid-off primary home provides monthly cash flow relief and financial security. A cash-flowing rental builds wealth through rental income and long-term appreciation. Both are legitimate objectives; the math determines which to prioritize now.
When Selling the Rental Wins Financially
Selling typically makes the most sense when your rental generates weak net cash flow (under $300 to $400 per month after all expenses), your primary mortgage rate is high (above 6.5%), and the after-tax proceeds would meaningfully reduce your remaining balance. At a high primary rate, every dollar you pay down saves more in interest than a weak rental earns.
Deferred maintenance, rising vacancy, or a deteriorating local rental market all weaken the case for holding the property.
When Keeping the Rental Wins Financially
Keeping the rental usually wins when net cash flow exceeds $700 to $800 per month, your primary mortgage carries a low rate (below 4%), and you have a long remaining hold period in which the rental’s equity and income can compound.
Market conditions are a secondary factor in this decision. Understanding the benefits of selling in a downturn can help you assess whether current conditions favor listing now or holding for a better exit, but the cash flow vs. interest rate math should drive the primary decision.
Tax Consequences of Selling a Rental Property
Selling a rental triggers three potential taxes: capital gains tax on rental property, depreciation recapture rental property taxes, and (for higher earners) the net investment income tax. Understanding all three before you sell is essential to calculating actual net proceeds.
| Tax Type | Rate | Who It Applies To |
|---|---|---|
| Short-term capital gains | Up to 37% | Property held under 12 months |
| Long-term capital gains (low income) | 0% | Approx. below $48,350 single / $96,700 MFJ (2026) |
| Long-term capital gains (most filers) | 15% | Most middle-income sellers |
| Long-term capital gains (high income) | 20% | Approx. above $533,400 single / $600,050 MFJ (2026) |
| Depreciation recapture | 25% | Any depreciation previously deducted |
| Net Investment Income Tax | 3.8% | AGI above $200K single / $250K MFJ |
Based on IRS guidance and 2026 inflation adjustments. Verify exact thresholds with a CPA before transacting.
Capital Gains Tax Rates on Rental Sales
Long-term capital gains on rental property are taxed at 0%, 15%, or 20% depending on your taxable income for the year of sale. Properties held under 12 months are taxed at ordinary income rates, up to 37% federal. Holding at least 12 months before closing qualifies you for the significantly lower long-term rates.
Your taxable gain is calculated from your adjusted cost basis, not the raw sale price. Adjusted cost basis equals purchase price plus capital improvements minus cumulative depreciation taken. Example: a property bought for $200,000 with $30,000 in improvements and $40,000 in depreciation deducted has an adjusted cost basis of $190,000. Sold for $350,000, the total taxable gain is $160,000.
A capital loss from other investments, applied through a strategy called tax-loss harvesting, offsets this gain dollar-for-dollar before any tax applies. Remaining losses reduce ordinary income by up to $3,000 per year, with the remainder carried forward indefinitely.
Depreciation Recapture: The Hidden 25% Tax
Depreciation recapture rental property taxes catch most sellers by surprise. Every dollar of depreciation you’ve deducted over your ownership period is subject to the unrecaptured Section 1250 gain rate of 25%, regardless of your income bracket or any other tax strategy you pursue. Per depreciation recapture explained, this rate applies to all prior depreciation even if the Section 121 exclusion eliminates your appreciation gain entirely.
Using the example above: $40,000 in cumulative depreciation generates $10,000 in recapture tax owed at closing. That liability exists independent of any exclusion or exchange you also use. Budget for it before you list.
Report depreciation recapture on IRS Form 4797. The overall capital gain or capital loss from the sale flows through Schedule D.
Net Investment Income Tax (NIIT)
The net investment income tax adds 3.8% to your federal tax bill when your modified adjusted gross income exceeds $200,000 (single filers) or $250,000 (married filing jointly). This threshold is not indexed for inflation under current law.
NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. On a $160,000 gain, that can add over $6,000 in federal tax on top of your regular capital gains rate and depreciation recapture bill.
Because depreciation recapture applies at 25% regardless of which tax strategy you choose, your next step is understanding which strategies actually reduce your total bill, and by how much.
How to Avoid Capital Gains Tax When Selling Rental Property
Three strategies can reduce or defer capital gains tax on rental property: a Section 121 primary residence conversion, a 1031 exchange, and capital loss harvesting. Each carries strict requirements and limits that sellers frequently underestimate.
Section 121 Primary Residence Conversion
The Section 121 exclusion under Section 121 text (26 U.S.C. § 121) allows you to exclude up to $250,000 in gain (single filers) or $500,000 (married filing jointly) if you owned and used the property as your primary residence for at least 24 months within the 5-year period ending on the sale date. This is the 2-out-of-5-year rule, covered in detail in the next section.
One critical caveat: the Section 121 exclusion does NOT cover depreciation recapture. That 25% rate applies to all accumulated depreciation regardless of how long you lived in the property. Many sellers convert a rental to their primary residence expecting to eliminate all tax liability, and this surprises them at closing.
The non-qualified use rule (effective for rental periods after 2008) limits the exclusion proportionally. Example: you owned the property 8 years, rented it for 6 years post-2008, then lived in it for 2 years before selling. Only 2 of 8 years (25%) of total gain qualifies for the full exclusion; the 6-year rental portion does not. A licensed CPA should calculate this for any property with a substantial rental history.
1031 Exchange Deadlines and Rules
A 1031 exchange rental property transaction defers all capital gains taxes by reinvesting sale proceeds into a replacement like-kind exchange property. The IRS imposes firm deadlines: you must identify a replacement property within 45 days of closing and close on it within 180 days. Per 1031 exchange basics, a qualified intermediary must hold the proceeds throughout the process. If you receive the funds directly, even briefly, the exchange is permanently disqualified with no exceptions.
1031 exchanges defer taxes; they do not eliminate them. Taxes come due when the replacement property is eventually sold without another 1031. A 1031 exchange also cannot be used to pay off your primary residence mortgage, since proceeds must roll into another investment property.
Capital Loss Harvesting and Installment Sales
Tax-loss harvesting lets you use capital losses from other investments (stocks, other real estate) to offset your rental gain dollar-for-dollar. If you have no other capital gains in the year of sale, a capital loss reduces ordinary income by up to $3,000 per year, with the remainder carried forward indefinitely.
An installment sale spreads gain recognition over multiple years by collecting the purchase price in payments over time. This can prevent a large single-year gain from pushing you into a higher bracket, but it does not reduce the total taxes owed.
Even if you qualify for the Section 121 exclusion, the decision to sell ultimately comes down to whether your rental’s annual cash flow is worth more than the interest you’d save by paying off your primary mortgage. The next section calculates that comparison directly.
Is There a 6-Year Rule for Primary Residence?
There is no 6-year rule for primary residences in U.S. tax law. This is a widely repeated misconception drawn from a different country’s tax code entirely.
The “6-year rule” originates with the Australian Taxation Office (ATO). It allows Australian taxpayers to treat a former primary residence as their main residence for capital gains purposes for up to 6 years while it is rented out. This rule does not exist anywhere in the U.S. Internal Revenue Code.
The correct U.S. rule is the 2-out-of-5-year rule under the IRS primary residence exclusion (26 U.S.C. § 121, the Section 121 exclusion). To qualify, you must have owned the home AND used it as your principal residence for an aggregate of at least 24 months within the 5-year period ending on the sale date. Those 24 months do not need to be consecutive; they can accumulate across multiple periods within the window.
Exclusion amounts under the 2-out-of-5-year rule: up to $250,000 for single filers, up to $500,000 for married filing jointly. You may claim the exclusion only once every 2 years.
One important exception applies to active duty military personnel, U.S. intelligence officers, and Peace Corps volunteers. The IRS permits these individuals to suspend the 5-year test period for up to 10 years, effectively extending the window to satisfy the 24-month residency requirement.
Two limits apply regardless of how long you lived in the property:
- Depreciation recapture cannot be excluded under §121 under any circumstances.
- Non-qualified use periods (rental periods after 2008) reduce the eligible portion of the gain, as described in the Section 121 section above.
If you’ve read that the 2-out-of-5-year rule extends to 6 years under certain U.S. conditions, that information reflects Australian tax law, not U.S. law.
Sell vs. Keep: Comparing the Financial Tradeoffs
The decision is primarily financial. Two concrete scenarios below show how the same $300,000 primary mortgage balance and $150,000 in estimated after-tax sale proceeds play out under different rate conditions. Per the second home tax guide from Schwab, sellers who model the after-tax comparison before listing consistently make better decisions than those who focus on sale price alone.
| Metric | Scenario A: Keep Rental | Scenario B: Sell Rental |
|---|---|---|
| Net rental income per year | $9,600 | Not applicable |
| Annual interest saved on primary | $5,250 (at 3.5%) | $11,250 (at 7.5%) |
| Net annual impact | -$4,350 (selling loses) | +$8,850 (selling wins) |
| Key trigger | Low primary rate, strong cash flow | High primary rate, weak cash flow |
Assumes $150,000 in after-tax net proceeds applied to a $300,000 primary residence mortgage. Model your specific numbers before transacting.
When the Rental Cash Flow Beats Your Mortgage Rate
In Scenario A, the rental generates $2,500 per month gross and $800 per month net after all expenses: mortgage payment, property taxes, insurance, maintenance, and a vacancy allowance. That is $9,600 per year in net rental income.
The primary residence mortgage sits at $300,000 at 3.5%, generating approximately $10,500 in annual interest. After subtracting 8% in commissions and closing costs, capital gains tax on rental property, and depreciation recapture taxes, the estimated after-tax proceeds are $150,000. Applying those to the primary mortgage saves approximately $5,250 per year.
Net annual impact of selling: lose $9,600 in rental income, gain $5,250 in interest savings. Selling creates a net loss of $4,350 per year. Keep the rental.
When Selling the Rental Makes the Math Work
In Scenario B, the rental generates $1,800 per month gross and only $200 per month net after all expenses. That is $2,400 per year, with deferred maintenance and rising vacancy adding further downside risk to rental income.
The same $300,000 primary mortgage now carries a 7.5% rate, costing approximately $22,500 per year in interest. Applying the same $150,000 in net proceeds to that balance saves $11,250 per year.
Net annual impact of selling: lose $2,400 in rental income, gain $11,250 in interest savings. Selling generates a net benefit of $8,850 per year. Selling likely makes sense.
The scenario comparison above assumes a binary choice between selling and keeping. A third option often goes unexamined: paying off a different mortgage first.
Is It Better to Pay Off Primary or Investment Mortgage?
Investment property mortgages typically carry higher interest rates than primary mortgages, so paying off the investment property first usually saves more in total interest charges. However, your specific rates and tax situation determine the right answer.
Interest Rate Comparison: Primary vs. Investment
Per investment property rates from Bankrate, investment property mortgage rates typically run 0.25 to 0.875 percentage points above comparable primary residence rates. On a $300,000 loan, that differential produces $750 to $2,625 more in annual interest on the investment side.
Five factors to evaluate before deciding which to pay off first:
- Compare your actual nominal rates on both loans side by side.
- Adjust each rate for tax deductibility to identify the true after-tax cost.
- Weigh the investment property’s Schedule E deduction against your primary mortgage’s limited itemization benefit.
- Consider your AGI relative to the $200,000 or $250,000 net investment income tax threshold if you sell either property.
- Factor in the security of a paid-off primary home if retirement is approaching within the next 5 to 10 years.
Tax Deductibility: Which Interest Saves You More
Investment property mortgage interest is fully deductible on Schedule E against rental income as a business expense. This deduction is not subject to the standard deduction threshold and reduces taxable rental income dollar-for-dollar.
Primary residence mortgage interest is deductible only if you itemize. The 2026 standard deduction is approximately $14,600 for single filers and $29,200 for married filing jointly (verify before filing). Most homeowners cannot itemize above those thresholds following the 2017 Tax Cuts and Jobs Act, so they receive no effective deduction on primary mortgage interest.
Practical example: an investment property loan at 7.5% for a taxpayer in the 24% bracket has an effective after-deduction rate of approximately 5.7% (7.5% multiplied by (1 minus 0.24)). A primary mortgage at 7.0% with no itemized deduction remains at a full 7.0% effective cost. In this case, the primary mortgage is more expensive in after-tax terms despite its lower nominal rate, which can reverse the conventional “pay off the higher rate first” logic.
Alternatives to Selling Your Rental Property
A cash-out refinance or HELOC on your primary residence can give you funds to pay down your primary residence mortgage without triggering a capital gains tax event, without losing rental income, and without the depreciation recapture tax that comes with a rental sale.
Cash-Out Refinance Your Primary Residence
A cash-out refinance replaces your existing primary mortgage with a new, larger loan and pays you the difference in cash. Lenders typically allow up to 80% combined loan-to-value on a primary residence. Your available equity equals your home’s current value multiplied by 80%, minus your existing mortgage balance.
Per the CFPB refinance guide from the Consumer Financial Protection Bureau, the trade-off is a new mortgage at current interest rates, which may exceed your original rate. There is no capital gains tax, no depreciation recapture, and no loss of rental income. If current rates are lower than what you’d sacrifice in rental cash flow, this option often beats a sale on pure math.
If you do decide to sell the rental, selling without an agent can eliminate or reduce the 5% to 6% commission cost that otherwise reduces your net proceeds directly.
HELOC on Your Primary Home
A home equity line of credit (HELOC) gives you a revolving credit line secured by your primary home’s equity. HELOCs carry variable rates and typically include a 10-year draw period followed by a 20-year repayment period.
One common misconception: HELOC interest is potentially deductible only when the funds are used for home improvements, not when used to pay down your existing mortgage principal. Drawing from a HELOC to retire your primary mortgage balance generally produces non-deductible interest on that portion.
Apply Rental Cash Flow to Your Primary Mortgage
The simplest alternative: keep the rental, collect net rental income monthly, and direct it as extra principal payments toward your primary mortgage. On a $300,000 mortgage at 7% interest, adding $800 per month in extra principal payments can shorten a 30-year term by approximately 7 years and save substantially in total interest paid.
No tax event, no new debt, and no loss of the rental asset. The trade-off is speed; this approach takes years to produce the lump-sum paydown effect that a rental sale achieves immediately.
5 Mistakes to Avoid Before Selling Your Rental
-
Selling before reaching the 12-month ownership mark. Short-term capital gains (property held under 12 months) are taxed as ordinary income, up to 37% federal. On a $100,000 gain, that can mean up to $17,000 more in federal taxes compared to qualifying for the 15% long-term rate. Wait until you cross the 12-month threshold unless your circumstances require faster action.
-
Ignoring depreciation recapture rental property taxes. Every dollar of depreciation you’ve deducted is taxed at 25% when you sell, regardless of whether the Section 121 exclusion covers your appreciation gain. Ten years of $10,000 annual depreciation equals $100,000 in recaptured gain at 25%, generating $25,000 in tax that many sellers fail to budget for. This liability hits even when sellers expect the primary residence exclusion to cover all their exposure.
-
Attempting a 1031 exchange rental property transaction without a qualified intermediary in place before closing. If you close on the sale without a qualified intermediary holding the proceeds, the like-kind exchange is permanently disqualified and all gains become immediately taxable. There is no exception for administrative oversights or timing errors.
-
Calculating gains from sale price rather than adjusted cost basis. Omitting capital improvements (which increase basis and reduce taxable gain) or failing to subtract cumulative depreciation (which reduces basis and increases taxable gain) can misstate your gain by $30,000 to $80,000 on a property held 15 years. Report the sale correctly on IRS Form 4797 and Schedule D, or hire a CPA to prepare these forms for you.
-
Selling without confirming that net proceeds cover the payoff goal. The formula many sellers skip: sale price minus agent commissions (5% to 6%) minus closing costs (2% to 3%) minus capital gains tax on rental property minus depreciation recapture taxes minus any remaining rental mortgage balance equals actual net proceeds to apply. If that result falls short of your primary residence mortgage balance, you’ve triggered a taxable event without achieving the stated goal.
If you’ve confirmed the math works and selling is the right move, the last variable is how you sell. Working with cash buyers for rentals can eliminate the agent commission entirely and give you a predictable close date on a tenant-occupied property.
If you’ve run the scenarios and selling the rental makes financial sense, the next question is how to sell without losing another 5% to 6% to agent commissions on top of your capital gains bill. iBuyer.com connects you with multiple vetted cash buyers competing for your property. You compare offers, pick the best net proceeds, and close in as few as 7 days. No repairs required, no open houses, and no commission eroding the payoff check you’ve been calculating.
Ready to Sell the Rental and Pay Off Your Home? Get competing cash offers in 7-30 days — keep more of what the sale math promised you.
Compare offers, close on your schedule, no obligations.
Frequently Asked Questions
Whether to sell depends on your rental’s net cash flow, your capital gains exposure, and how much you value being mortgage-free. If your rental nets more per month than the interest you’d save by paying down your primary mortgage, keeping the rental typically produces better financial results over the long term. Factor in after-tax proceeds, not the sale price, when running the comparison. A CPA can model your specific numbers before you commit.
There is no 6-year rule for primary residences in U.S. tax law; the correct rule is the 2-out-of-5-year rule under IRC §121. The “6-year rule” is an Australian Tax Office concept that does not apply in the United States. Under 26 U.S.C. § 121, you can exclude up to $250,000 (or $500,000 married filing jointly) in capital gains if you owned and used the home as your primary residence for at least 24 months within the 5 years before the sale. Active duty military can suspend the 5-year window for up to 10 years.
Three strategies can defer or reduce capital gains tax: a 1031 exchange, a Section 121 primary residence conversion, or tax-loss harvesting against a capital loss. A Section 121 conversion requires living in the property as your primary home for at least 24 months before selling and can exclude up to $250,000 or $500,000 in gain, but depreciation recapture is always taxed at 25% regardless. A 1031 exchange rental property transaction defers the tax entirely if you reinvest in a like-kind exchange property within 180 days using a qualified intermediary.
Investment property mortgages typically carry higher rates than primary mortgages, so paying off the investment first usually saves more in total interest. Investment property mortgage interest is fully deductible on Schedule E against rental income, while primary mortgage interest is only deductible if you itemize. Most homeowners can no longer itemize after the 2017 TCJA raised the standard deduction, which means the primary mortgage’s effective after-tax cost may exceed what the nominal rate implies.
Long-term capital gains tax on rental property is taxed at 0%, 15%, or 20% based on your income, plus 25% on prior depreciation deductions. Sellers with AGI above $200,000 (single) or $250,000 (married filing jointly) may also owe an additional 3.8% net investment income tax. Always calculate your gain from your adjusted cost basis, not the raw sale price.
Depreciation recapture taxes you at 25% on every dollar you previously deducted for property wear and tear during your ownership period. If you deducted $10,000 per year over 10 years, you have $100,000 in unrecaptured Section 1250 gain taxed at 25%, regardless of your income bracket or whether the Section 121 exclusion applies to the rest of your gain. This tax applies even on sales that are otherwise fully excluded under the primary residence rules.
A 1031 exchange requires sale proceeds to go into another investment property, not into paying off a personal primary residence mortgage. Using exchange proceeds to pay off a personal mortgage disqualifies the exchange entirely, making all capital gains immediately taxable. If your goal is debt reduction on your primary home, a 1031 exchange is not the right tool.
IRC §121 excludes up to $250,000 ($500,000 married) in gain when you’ve met the 2-out-of-5-year residency test for your primary residence. The 24 months of use do not need to be consecutive; they can accumulate across multiple periods within the 5-year window ending on the sale date. You may claim the Section 121 exclusion only once every 2 years, and depreciation recapture is never covered by this exclusion.
You must use the property as your primary residence for at least 24 months within the 5-year period ending on the sale date. The 24 months do not need to be continuous; 18 months of residency, then 2 years rented, then 6 months of residency satisfies the requirement. However, gain attributable to non-qualified use periods (rental periods after 2008) remains ineligible for the Section 121 exclusion even if you satisfy the 2-year test.
A rental property sold at a loss generates a capital loss offsetting other gains or up to $3,000 in ordinary income per year. If no other capital gains exist in the year of sale, the loss offsets up to $3,000 of ordinary income annually, with any remainder carried forward to future years indefinitely. A loss on a property used as your primary residence (not as rental or investment property) is not deductible under current tax law.
A cash-out refinance lets you access your primary home’s equity to pay down your mortgage without selling the rental or triggering capital gains tax. Lenders typically allow up to 80% combined loan-to-value on a primary residence cash-out refinance. The trade-off is a new mortgage at current interest rates, but there is no capital gains tax, no depreciation recapture, and no loss of rental income.
Converting a rental to your primary residence can qualify you for the Section 121 exclusion of up to $250,000 or $500,000, but depreciation recapture still applies at 25% regardless. The non-qualified use rule means gain from rental periods after 2008 is not eligible for exclusion even after conversion. A tax professional is essential for this calculation on any property with a long rental history.
You report a rental property sale on IRS Form 4797 for depreciation recapture and on Schedule D for the overall capital gain or loss. Form 4797 handles the Section 1250 depreciation recapture; Schedule D captures the net gain or capital loss. If your gain is fully excluded under the Section 121 exclusion, you may not need to report the sale unless you received a Form 1099-S from the title company. Consult a CPA when both Section 121 and depreciation recapture apply to the same transaction.
Reilly Dzurick is a licensed real estate agent with over six years of experience and a member of the iBuyer.com Market Insights Team, covering national trends in home selling and the evolving iBuyer landscape. Her firsthand experience working with buyers and sellers gives her a practical perspective on how these platforms impact real homeowners. She holds a degree in Public Relations, Advertising, and Applied Communication.