There is no special federal tax that appears on the third anniversary of a rental. The real issues are a moving five-year lookback, taxable depreciation-related gain and the economics of what you do next.
A homeowner moved on from a former U.S. residence and began questioning whether keeping it as a rental was worth the work. Repairs and management were already frustrating. Then the owner heard that selling after more than three years of renting could mean paying capital-gains tax that might have been avoided by selling sooner.
The online discussion offered several confident answers: move back for two years, exchange the property under Section 1031, never sell and leave it to heirs, or sell now and buy dividend-paying ETFs. It also claimed that residential depreciation lasts only ten years and must all be “paid back” at sale.
Those suggestions mix several different federal tax rules—and some are wrong.
Quick answer: Renting a former primary residence for three years does not trigger a new federal tax. The familiar “three-year” point comes from Internal Revenue Code Section 121: to qualify for the home-sale exclusion, an owner generally must have owned and used the property as a principal residence for at least two years during the five-year period ending on the sale date. If the owner lived there for exactly two years and then moved out, roughly three years of continuous rental use can consume the rest of that lookback window. Even a timely sale may still recognize gain associated with rental depreciation. Moving back later may restore the use test, but it does not necessarily erase earlier nonqualified use. Before deciding to sell, renew a lease or invest the proceeds, calculate the dates, adjusted basis, depreciation and after-tax alternatives with a qualified tax professional.
Editorial note: The opening is an anonymized summary of user-provided community material. The property, dates, tax returns, rental results and proposed investments were not independently verified. This article provides general information, not tax, legal, estate-planning or investment advice. State and local taxes may materially change the result.
The “Three-Year Rule” Is a Moving Clock, Not a New Tax
IRC Section 121 generally allows an individual to exclude up to $250,000 of gain from the sale of a principal residence. A qualifying married couple filing jointly may exclude up to $500,000, but the larger amount has additional spousal requirements.
The basic individual tests look backward from the sale date. During that five-year period, the seller generally must have:
- owned the home for at least two years;
- used it as a principal residence for at least two years; and
- not used the Section 121 exclusion on another home sale during the prior two years.
The ownership and use periods do not always have to be continuous or identical. The $250,000 and $500,000 figures are limits on gain, not the sale price, mortgage balance or cash received at closing. IRS Publication 523 explains the eligibility and gain calculations.
For the full $500,000 joint-return limit, at least one spouse generally must satisfy the ownership test, both spouses must satisfy the use test and neither spouse can be disqualified by using the exclusion on another sale during the prior two years.
Why three years appears in the common timeline
Suppose an owner lives in a home for at least two years, moves out on August 31, 2023, rents it continuously and plans to sell.
| Event | What happens to the Section 121 record? |
|---|---|
| Owner moves out | The completed residence days remain inside the five-year lookback for now |
| Home is rented for one or two years | The seller may still have at least two years of residence use inside the window |
| Rental period approaches three years | The earliest residence days begin reaching the edge of the five-year window |
| Closing moves past the relevant date | Old residence days fall outside the window one day at a time; the seller may drop below the required use period |
The IRS confirms that a former residence may be rented for up to roughly three years before sale and still satisfy the two-out-of-five test, depending on exact dates. It also says the seller must account for rental depreciation. IRS Property FAQ: Former home used as rental property
This is why “three years plus one month” can matter in a simple fact pattern. It is not because a landlord tax suddenly begins. It is because the lookback window keeps moving.
Do not use an anniversary estimate as a closing deadline. Count exact ownership and principal-residence days and leave room for listing, escrow and closing delays. Reduced-exclusion rules for certain work, health or unforeseen circumstances—and special rules for some military, Foreign Service, intelligence-community and other qualifying service—can also change the result.
Passing the Two-Out-of-Five Test Is Only the First Gate
Three separate questions determine how much gain may remain taxable:
| Tax question | What it decides | Common mistake |
|---|---|---|
| Did the seller pass the Section 121 ownership and use tests? | Whether the home-sale exclusion may be available | Treating “owned for five years” or “once lived there” as enough |
| Does the property have nonqualified use? | Whether part of the non-depreciation gain must be allocated outside the exclusion | Assuming moving in for two years makes every earlier rental year disappear |
| Was depreciation allowed or allowable? | The adjusted basis and the gain that Section 121 cannot exclude | Believing skipped depreciation avoids tax at sale |
These rules make the order of events important.
First Live There, Then Rent It: Often the Most Favorable Sequence
In the common sequence—principal residence first, final move-out second, rental period third—the rental time after the owner’s last use as a principal residence is generally excluded from the definition of nonqualified use.
That can produce a relatively favorable result:
- the seller still has enough residence days inside the five-year window;
- the final rental period is not proportionally allocated as nonqualified use; and
- the remaining eligible gain may fit within the Section 121 cap.
But rental depreciation remains separate. Section 121 does not exclude gain attributable to post-May 6, 1997 depreciation adjustments. IRS Publication 523 illustrates this distinction: a final rental period may avoid the nonqualified-use allocation while depreciation-related gain is still recognized.
So “live there for two years, rent it for three years and sell tax-free” is incomplete. A better version is:
A seller who first used the property as a principal residence and then rented it until a timely sale may qualify to exclude eligible non-depreciation gain, subject to the cap and all other Section 121 conditions. Rental depreciation can still leave taxable gain.
Rent First, Then Move In: The Result Is Not Symmetrical
Suppose an investor rents a property for several years, later moves in, uses it as a principal residence for two years and sells.
The use test may now be satisfied. That does not mean the entire remaining gain qualifies for exclusion. Post-2008 rental or other non-residence periods before the property’s final use as a principal residence can be nonqualified use under Section 121(b)(5).
The general allocation concept is:
nonqualified-use gain
= gain remaining after separating depreciation-related gain
× nonqualified-use period / total ownership period
That allocated portion cannot be excluded under Section 121. Publication 523 includes an example in which an owner rents first and lives in the property later; the earlier rental time produces taxable nonqualified-use gain even though the residence test is met.
What If the Owner Moves Back for Two Years?
Moving back is not a universal reset button.
If the sequence is residence → rental → residence → sale, the middle rental period occurred before the last principal-residence use. For post-2008 periods, that time can enter the nonqualified-use fraction. Historical depreciation also remains relevant.
Moving back may still be economically or personally sensible, and it may provide enough residence days to pass the use test. But the owner should model the nonqualified-use allocation before assuming the $250,000 or $500,000 exclusion will shelter every dollar of gain.
The principal-residence requirement is based on facts and circumstances. A mailing-address change or brief paper move is not a substitute for actual residence evidence.
Rental Depreciation Is Usually 27.5 Years, Not 10
For a modern residential rental under the General Depreciation System, the building and its structural components are generally depreciated:
- over 27.5 years;
- using the straight-line method; and
- under the mid-month convention.
Land is not depreciable. The owner must allocate basis between land and building. Appliances, carpeting, furniture and some improvements may have different recovery periods, so a complete schedule can contain several asset classes. IRS Publication 527 and IRC Section 168 describe the framework.
There is no general rule giving a residential rental building only ten years of depreciation. A period of personal use can stop depreciation while the property is out of income-producing service; it does not convert the building into a ten-year asset.
Skipping depreciation usually does not preserve basis
The adjusted basis generally must be reduced by depreciation that was allowed or allowable. An owner who failed to claim a deduction may still have to reduce basis by the amount that could have been claimed. Lower basis generally means more gain at sale.
Missing depreciation is not necessarily beyond repair. Depending on the years and method used, the correction may involve amended returns or an accounting-method change using Form 3115 and a Section 481(a) adjustment. IRS Publication 946 explains the correction framework.
This is a pre-sale CPA question, not an item to estimate from a friend’s tax return.
Does the Owner “Pay Back All the Depreciation” at Sale?
Not dollar for dollar.
Depreciation generally reduces adjusted basis, which can increase gain. Section 121 then prevents the depreciation-related portion of gain from being excluded. For a typical post-1986 residential building depreciated straight-line under MACRS, the common federal result is unrecaptured Section 1250 gain, subject to a maximum 25% federal rate—not necessarily a fixed 25% rate and not necessarily ordinary-income recapture of every prior deduction. IRC Section 1(h), IRS Topic 409
The taxable depreciation-related amount also cannot appear from nowhere. It is limited by actual gain. Separate personal property, accelerated depreciation, passive losses, installment sales and other facts can change the character and reporting.
High-income owners may also need to consider the 3.8% Net Investment Income Tax. States and localities may tax gains differently. “Depreciation recapture” is useful shorthand in conversation, but an actual estimate should identify the tax character instead of applying one rate to the entire property gain.
A Better Home-Sale Tax Worksheet
Start by calculating the property gain. Do not begin with the mortgage payoff.
amount realized
= sale price − qualifying selling expenses
adjusted basis
= original cost + basis-eligible capital improvements
− allowed or allowable depreciation − other basis reductions
gain
= amount realized − adjusted basis
Then separate the result:
- depreciation-related gain that Section 121 cannot exclude;
- nonqualified-use gain, if any;
- remaining gain eligible for the Section 121 exclusion;
- gain above the applicable $250,000 or $500,000 limit;
- federal tax character, NIIT, suspended losses and state or local tax.
A mortgage payoff changes net cash at closing, but paying debt generally does not reduce the taxable gain. Keep a sale-tax worksheet and a cash-proceeds worksheet side by side.
Should the Owner Sell Now, Keep Renting or Buy ETFs?
There is no asset-class answer without owner-specific inputs. Compare three strategies on the same timeline.
Option 1: Sell while Section 121 may still be available
Estimate:
- expected sale price and selling costs;
- adjusted basis and depreciation schedule;
- Section 121 eligibility on the projected closing date;
- taxable depreciation and any nonqualified-use allocation;
- federal, state and local taxes; and
- debt payoff and actual after-tax investable cash.
The relevant ETF starting balance is the cash left after transaction costs, taxes and debt—not the home’s market value.
Option 2: Continue renting
Build the operating return before adding appreciation:
net operating income
= gross rent
− vacancy and credit loss
− management
− repairs and maintenance
− property tax, insurance, HOA and owner-paid utilities
cash flow
= net operating income − debt service − capital-expenditure reserve
Then model after-tax cash flow, principal paydown, possible price change, future selling costs and future taxes. Include the owner’s time, tenant risk, regulation, emergency liquidity and concentration in one property.
Property management can reduce work. It does not transfer repair bills, vacancy risk or investment responsibility to the manager unless the contract explicitly does so.
Option 3: Sell and invest the net proceeds
Use total return, not dividend yield alone.
An ETF held in a taxable account can distribute:
- ordinary dividends;
- qualified dividends that may receive long-term capital-gain rates if the requirements are met;
- capital-gain distributions; and
- nondividend distributions that reduce basis before potentially creating gain.
Selling ETF shares creates a separate capital gain or loss. Automatic reinvestment does not make a taxable distribution disappear. REIT and REIT-ETF distributions can contain ordinary REIT dividends, Section 199A-eligible amounts, capital-gain distributions and return of capital. IRS Publication 550, Form 1099-DIV Instructions
Comparing gross rent yield with ETF dividend yield ignores property appreciation, leverage, principal paydown, vacancy, capital expenditures, fund price changes, diversification and tax classification. Use after-tax total return or cash-flow projections under the same holding period and at least three market scenarios.
Where a 1031 Exchange Fits—and Where It Does Not
IRC Section 1031 may defer gain when qualifying real property held for business or investment is exchanged for like-kind real property also intended for business or investment.
It does not mean “sell, receive the cash and decide later.” A deferred exchange generally requires:
- structuring before the old property closes;
- identifying replacement property within 45 days;
- acquiring it within 180 days or the relevant return deadline, if earlier; and
- avoiding actual or constructive receipt of the sale proceeds, commonly through a qualified intermediary.
Cash or other non-like-kind property can create currently recognized gain. The replacement property generally receives a carryover basis, so the tax is deferred rather than erased. ETFs and ordinary securities are not replacement real property.
A dwelling unit converted between rental and personal use adds holding-intent, safe-harbor, nonqualified-use and depreciation questions. A property acquired through Section 1031 also generally cannot use the Section 121 exclusion if sold within five years of acquisition. The exchange team should be in place before signing or closing, not assembled after the seller receives funds. IRS Like-Kind Exchange Guidance
Does Holding Until Death Eliminate the Problem?
IRC Section 1014 generally gives qualifying inherited property a basis equal to fair market value at death or an applicable alternative valuation. That can be a step-up when value has risen—or a step-down when value has fallen.
It is not a real-estate-only benefit; qualifying ETFs and stocks can receive the same general basis adjustment. It is also not a guarantee that no tax, debt or cost will arise. Trust structure, estate inclusion, community-property rules, income in respect of a decedent, estate or inheritance taxes, mortgages and state law can change the result.
Borrowed funds normally are not income when received because they must be repaid. That does not eliminate interest, refinancing, cash-flow, collateral, foreclosure or canceled-debt risk. “Buy, borrow, die” is a label for several rules, not a statutory safe harbor or a complete exit plan.
A Pre-Decision Document Checklist
Before extending the next lease or listing the property, assemble:
- purchase closing statement and original basis records;
- capital-improvement invoices and permits;
- exact ownership, move-in, move-out, rental and projected closing dates;
- evidence that the home was the principal residence;
- land/building allocation and every depreciation schedule;
- prior returns showing claimed depreciation and suspended passive losses;
- lease, rent ledger, management fees, repair history and capital expenditures;
- current debt payoff and estimated selling costs;
- the owner’s filing status, prior Section 121 use and state residency; and
- comparable sell-now, continue-renting and invest-net-proceeds projections.
If depreciation was missed, discuss the correction before sale. If a 1031 exchange is under consideration, obtain advice before closing documents and money movement are locked in.
How Pine Can Help Prepare the Decision File
Open Pine to organize the purchase statement, improvement receipts, leases, move-in and move-out dates, depreciation schedules, tax notices, management statements and sale estimates into one dated record.
Pine can help an owner:
- build the five-year residence-and-rental timeline;
- identify missing basis and depreciation documents;
- separate sale proceeds from taxable-gain inputs;
- prepare a fact sheet and question list for a CPA, EA, attorney or investment adviser; and
- compare the assumptions used in sell-now, continue-renting and invest-net-proceeds scenarios.
Pine does not determine tax eligibility, calculate a filing position, recommend an ETF, act as a qualified intermediary or replace licensed professional advice.
Frequently Asked Questions
Is there a federal capital-gains tax that starts after renting a home for three years?
No. The common three-year marker comes from Section 121’s five-year lookback and two-year residence requirement. After a final move-out, old residence days eventually leave the window. A later sale may fail the use test, but no separate federal tax is triggered merely because the rental reaches its third anniversary.
Can I rent my former primary residence for three years and still use the $250,000 or $500,000 exclusion?
Possibly. In a simple residence-first, rental-second timeline, a sale within roughly three years may preserve two years of residence use inside the five-year lookback. Exact dates and all other eligibility conditions matter. Depreciation-related gain cannot be excluded even when the remaining gain qualifies.
If I move back in for two years, does the house become fully tax-free again?
Not necessarily. Moving back may satisfy the residence-use test, but earlier post-2008 rental periods before the last principal-residence use can create nonqualified-use gain. Rental depreciation also remains relevant.
Is residential rental property depreciated over ten years?
Generally no. The residential rental building is commonly depreciated over 27.5 years under GDS. Land is not depreciable, and appliances, furniture or improvements may use different recovery periods.
What if my tax preparer did not claim depreciation?
Allowed-or-allowable depreciation may still reduce basis even when it was not claimed. Depending on the history, correction may involve amended returns or Form 3115. Have a qualified professional reconstruct the schedule before sale rather than assuming the missed amount is lost or irrelevant.
Is all depreciation taxed at 25% when I sell?
No. A typical residential building may produce unrecaptured Section 1250 gain subject to a maximum 25% federal rate, but the actual amount and rate depend on total gain, taxable income, prior depreciation and other tax items. Other assets and depreciation methods can produce different treatment.
Can I use a 1031 exchange to sell the rental and buy an ETF?
No. Section 1031 is limited to qualifying real property held for business or investment and like-kind replacement real property. ETFs and other securities are not eligible replacement property.
Are ETF dividends always taxed at lower capital-gains rates?
No. Qualified dividends may receive preferential rates if the requirements are met. Ordinary dividends, short-term fund income, REIT distributions, capital-gain distributions and return of capital are classified differently. The Form 1099-DIV and account type matter.
Is keeping the property until death automatically the best tax strategy?
No. Qualifying inherited property may receive a fair-market-value basis adjustment, but the rule can apply to real estate or securities and has exceptions. Debt, operating risk, estate planning, liquidity and future law still matter.
The Decision Should Be Made Before the Clock Runs Out
The original concern was directionally useful: waiting can change a former home’s tax outcome. The correction is that there is no special landlord tax that begins after three years.
The repeatable method is:
- calculate the exact Section 121 timeline;
- rebuild adjusted basis and depreciation;
- separate eligibility, nonqualified use and depreciation-related gain;
- model sell-now, continue-renting and invest-net-proceeds on the same after-tax timeline; and
- obtain professional advice before the next lease, listing or exchange closing makes an option unavailable.
The most expensive mistake is not always choosing the wrong asset. It can be waiting until after the closing date—or after the five-year window has moved—to discover which options were lost.
Official Sources
- 26 U.S.C. §121 — Exclusion of gain from sale of principal residence
- 26 C.F.R. §1.121-1 — Principal-residence exclusion
- IRS Publication 523 — Selling Your Home
- IRS FAQ — Former home converted to rental property
- 26 U.S.C. §168 — Depreciation system
- IRS Publication 527 — Residential Rental Property
- IRS Publication 946 — How To Depreciate Property
- IRS Form 3115 and instructions
- IRS Topic 409 — Capital Gains and Losses
- 26 U.S.C. §1031 — Like-kind exchanges
- IRS Like-Kind Exchanges: Real Estate Tax Tips
- 26 U.S.C. §1014 — Basis of inherited property
- IRS Publication 550 — Investment Income and Expenses
- IRS Form 1099-DIV instructions
- IRS NIIT Questions and Answers
- IRS Publication 925 — Passive Activity and At-Risk Rules
This article provides general information, not tax, legal, estate-planning or investment advice. Federal and state tax results depend on the dates, use, basis, depreciation, income, filing status, entity and transaction structure. Consult qualified professionals before acting.






