Should I sell my rental house and invest in index funds instead?

Been going back and forth on this for months. I have a rental I bought years ago, fully paid off, rents for decent money but the management headaches are getting old. A CPA friend offhandedly mentioned depreciation recapture and I went down a rabbit hole that scared me. I pulled my original purchase price, looked at what I've claimed in depreciation every year on Schedule E, and the gap between my adjusted basis and what I could sell for now is pretty significant. My question is basically: should I sell my rental house and invest in index funds, and if so, how bad is the tax hit actually going to be? I'm single, been holding the property for about 11 years, and I've taken full depreciation each year. Trying to figure out if the after-tax proceeds even make sense to redeploy into a broad market ETF or whether I should just hold and keep collecting rent.

35 comments

Form 4797 is the first place to look. When you sell a rental property you've depreciated, the accumulated depreciation on a residential rental taken straight-line isn't recaptured as ordinary income under Section 1250 — instead it becomes unrecaptured Section 1250 gain, which flows to Schedule D and gets taxed at a maximum rate of 25%. The rest of the gain above that is long-term capital gain. It's genuinely a bigger number than most people expect when they first run it.

Elena N.

Author

Form 4797 is what I kept seeing referenced but couldn't follow the flow into Schedule D. So the depreciation piece is ordinary-rate capped, not regular capital gains rate — that's the part that hurt to read. How does that interact with my overall income for the year?

Schedule D line 19 is where the unrecaptured Section 1250 gain feeds the Schedule D Tax Worksheet (not the qualified dividends and capital gain tax worksheet). It doesn't get stacked on top of ordinary income at your bracket — it has its own maximum rate ceiling. But yes, it does interact with your total income picture, which is why running the actual numbers matters before you decide.

Honestly the index fund side of this is worth modeling too. If you sell, pay the taxes, and put what's left into a low-cost total market fund, you're starting from a smaller base but you've shed the concentration risk and the landlord burden entirely. The question isn't just what the tax hit is — it's whether the net after-tax return in the market beats what the rental actually earns on its current market value.

Elena N.

Author

Net after-tax return comparison is exactly the frame I needed. I've been thinking about gross rent yield, not what the property actually returns on its current FMV. When I do that math the rental looks a lot less impressive than I thought.

Opportunity cost on locked-up equity is real and people ignore it constantly. The property might "feel" like it's producing income but if the implied cap rate on current value is low, you're essentially holding a low-yield bond with repair risk and tenant risk attached.

I had Taxr (taxr.ai) read through my Schedule E history and my depreciation schedules side by side. It flagged the exact years where my accumulated depreciation had grown past what I'd mentally tracked and showed me how the Form 4797 Part III calculation would flow before I ever talked to my CPA. Saved me a lot of confusion in that meeting. On your actual question — the 1031 exchange is worth at least pricing out before you decide to exit entirely. You can defer the gain by rolling into another investment property, though you trade the landlord problem for a different landlord problem.

Elena N.

Author

1031 exchange is on my radar but I specifically want out of active property management. Unless a DST counts — I've seen those mentioned as a passive 1031 option. Do those actually work?

Delaware Statutory Trust interests are accepted as like-kind property for 1031 purposes. You'd be a passive investor in a larger commercial property pool. The tradeoff is liquidity — you can't just sell out easily. Worth a real conversation with a qualified intermediary and probably a tax attorney before going that route given the complexity.

Cost basis calculation is where people get surprised. Your adjusted basis is purchase price plus capital improvements minus total accumulated depreciation claimed (or allowable, whichever is higher). If you've been on Schedule E for 11 years and claimed depreciation each year, that adjusted basis can be significantly lower than you think, which means the taxable gain is bigger.

Elena N.

Author

Allowable vs. allowed — I've seen that phrase and it confused me. So even if I somehow missed claiming depreciation in a year, the IRS still treats it as if I took it?

Depreciation allowed or allowable is the rule under Publication 551 and the Form 4797 instructions. If you missed claiming it, your basis is still reduced by what you should have claimed. You can go back and correct missed depreciation with a Form 3115 (change in accounting method) — an enrolled agent or CPA can walk you through that before you sell.

The selling costs matter too — real estate commission, closing costs, transfer taxes. Those reduce your amount realized and therefore reduce the gain. Make sure whoever is running your numbers is using net proceeds, not gross sale price.

Something I wish someone had told me: state taxes on this can be significant depending on where the property is located. The property is sourced to the state it sits in, so even if you live somewhere with no income tax, you may owe tax to the state where the rental is. That's a separate calculation on top of federal.

Elena N.

Author

State sourcing is something I had not thought about at all. The property is in a different state than where I live now. So I'd be filing a nonresident return in that state just for the sale?

Nonresident return in the property's state is very likely yes. Some states also have their own depreciation recapture rules that differ from federal. A CPA licensed in that state is worth talking to, not just a generalist.

Net Investment Income Tax is another layer to check. If your modified adjusted gross income clears the threshold for your filing status, the net gain from the sale can be subject to the 3.8% NIIT on top of the capital gains rate. I uploaded my prior year return to Taxr and had it estimate where the rental sale gain would land relative to that threshold given my other income — it laid out the income stacking clearly so I could see which dollars were affected before I pulled the trigger.

Elena N.

Author

NIIT threshold — I need to look that up for single filers. So it's layered on the capital gain portion, not the recapture portion?

NIIT can apply to both the long-term capital gain piece and the unrecaptured Section 1250 gain — it's based on net investment income broadly, not just one type. The instructions for Form 8960 have the full breakdown of what counts. Your MAGI is the key number.

Held it 11 years so long-term treatment is locked in — that part is straightforward. The holding period starts the day after you acquired it and the sale date counts as the disposition date per Publication 550.

Index fund investing after a large liquidity event is also a real decision. Lump sum vs. dollar cost averaging into the market, asset location between taxable and tax-advantaged accounts, whether to hold the bond portion or go all-equity — none of that is the tax question but it's part of the same decision. Some people find a fee-only financial planner useful for that piece.

Fee-only planner with a fiduciary standard is worth emphasizing. Someone who charges for advice rather than earning commissions on what they put you in.

Form 8949 and Schedule D are where the ultimate long-term capital gain lands after Form 4797 does its job. The Section 1231 gain that flows out of Form 4797 Part I doesn't go on Form 8949 at all — it goes straight to Schedule D line 11 as long-term gain if the property has been held more than a year. Getting the flow of those forms right is what determines whether your software is calculating it correctly.

Elena N.

Author

Form 4797 straight to Schedule D, skipping Form 8949 — I finally see the flow now. I'd been trying to read each form in isolation which is why it wasn't clicking.

Installment sale is an option people overlook. If the buyer finances part of the purchase directly from you, you can spread the gain recognition over the years payments come in using Form 6252. That can soften the tax hit in the sale year. The tradeoff is you become the lender and carry credit risk on the buyer.

Elena N.

Author

Installment sale is interesting but I want a clean exit, not a new credit relationship. Good to know the option exists though.

Form 6252 installment treatment doesn't apply to ordinary-income depreciation recapture under Sections 1245 or 1250 — that portion is still recognized in the year of sale even if the rest is spread out, though unrecaptured Section 1250 gain from straight-line depreciation on a rental can be spread. Worth knowing before you assume how much of the gain is deferrable.

I ran my depreciation schedules and my projected sale numbers through Taxr before meeting with my EA. It put together a worksheet showing how the Form 4797 gain would split between the recapture piece and the Section 1231 piece, and what each portion would look like on Schedule D. I went into that meeting with a clear picture instead of blank stares. On your broader question — the right answer really does depend on your other income for the year of sale, your state situation, and whether you have any capital loss carryforwards that could offset part of the gain.

Elena N.

Author

Capital loss carryforwards — I do have a small one from a bad stock trade a few years back. That can actually offset some of this gain on Schedule D?

Schedule D is where carryforward losses net against current-year gains. Long-term losses offset long-term gains first, then can cross to short-term. The Capital Loss Carryover Worksheet in the Schedule D instructions shows exactly how to apply it. Even a modest carryforward reduces the taxable gain dollar for dollar.

Qualified Opportunity Zone investment is another deferral route if the property is in or near a QOZ. You'd recognize the gain, then roll it into a Qualified Opportunity Fund within 180 days. Gain deferral with potential exclusion on the QOF's own appreciation if held long enough. It's complex and illiquid but worth knowing the option exists.

The index fund question is almost separate from the tax question. Even after a meaningful tax hit, an 11-year-old rental that you actively manage carries real ongoing costs: vacancy risk, maintenance reserves, property tax increases, insurance. If you're at a stage where the management burden is high, the psychological cost has value too. Plenty of people come out ahead in total return terms after the tax hit because they stop deferring repairs and start compounding consistently.

Compounding consistently in a low-cost index fund with no management overhead is genuinely hard to beat over long horizons. The tax drag on the sale is real but it's a one-time event; the ongoing frictions of landlording are recurring.

To bring this back to the concrete steps: get your adjusted basis right (purchase price plus improvements minus accumulated depreciation), get a realistic sale price estimate, run the Form 4797 calculation to see how gain splits between recapture and Section 1231, check your MAGI for NIIT exposure, check for any capital loss carryforwards, and get a quote on state taxes in the property's state. That full picture is what lets you compare the after-tax proceeds to what you'd actually invest. Topic no. 409 on irs.gov covers the limit on deducting capital losses and carrying them over, which is a useful starting point for the carryforward step.

Elena N.

Author

This is the checklist I needed. Adjusted basis → Form 4797 split → MAGI/NIIT → state taxes → carryforward offset → net investable proceeds. Going to work through each one before I make any decision. Really appreciate everyone's input here.