Rental Real Estate in an S-Corp: Why It's a Tax Trap
Holding rentals in an S-corp triggers IRC §311(b) gain on exit, eliminates your step-up in basis at death, and traps losses. Learn the better structure.
Jump to section
- #How the S-corp rental trap gets set
- #The §311(b) exit trap — getting property out triggers a taxable event
- #The death-basis trap — losing your step-up
- #Basis limits and suspended losses
- #Why LLC or direct ownership works better for rentals
- #Already in the trap? Here’s how to exit
- #Common questions
- #Ready to talk through your specific situation?
TLDR
Putting rental real estate inside an S-corp creates several serious tax traps that most investors don’t discover until it’s too late.
Under IRC §311(b), the S-corp must recognize gain as if the property were sold at fair market value the moment you distribute it to yourself
— even if you’re just transferring the deed to your own name. You also lose the step-up in basis at death (IRC §1014 steps up the stock, not the assets inside the corporation), passive losses get squeezed by shareholder-level basis limits under IRC §1366(d), and 1031 exchanges become structurally constrained. Holding rentals personally, in a sole-member LLC, or in a multi-member LLC taxed as a partnership is almost always the better structure.
The cost of the S-corp rental trap can run $50,000 to $200,000 or more in unnecessary federal tax
over the life of a single investment.
In this guide, you’ll learn:
- Understand exactly why IRC §311(b) turns “getting property out of an S-corp” into a taxable event that can cost $50,000 to $200,000 in federal tax
- See how the S-corp step-up-at-death trap works and what it costs your heirs versus holding the property personally or in an LLC
- Calculate the basis limitation math that keeps rental losses trapped inside the S-corp while the same losses flow freely through a partnership
- Know when an S-corp is the right choice for active business income and when it is the wrong choice for passive rental income
- Build the exit plan if you already hold rentals in an S-corp and need to restructure without triggering unnecessary tax
#How the S-corp rental trap gets set
Real estate investors end up with rental property in an S-corp for one of three reasons. Understanding the path in helps you design the path out.
#The “one entity for everything” mistake
The most common scenario: you formed an S-corp for your operating business, it works great for reducing self-employment tax on your active income, and at some point you decided to park a rental property inside it. It seemed simple. One entity, one set of books, one tax return.
The problem is that S-corps are designed for active business income, not passive rental income. The benefits that make an S-corp powerful for operating businesses (payroll salary split, QBI deduction, liability shield) either disappear or backfire when you mix in rental real estate. The cost savings you were chasing aren’t there. The structural traps are.
#The “same LLC we already had” mistake
Some investors elect S-corp status on an existing LLC that holds rental property, thinking they’ll pick up self-employment tax savings. But rental income from real estate is not subject to self-employment tax in the first place. You’re paying payroll compliance costs, adding complexity, and setting up every trap described in this article, without getting the core benefit the S-corp election is supposed to deliver.
#The “advisor didn’t flag it” problem
Plenty of investors land in this situation because a prior advisor set up the structure without walking through the long-term consequences. Forming an entity is the easy part. The expensive surprises show up when you try to sell, distribute, transfer, or die while owning the property inside the S-corp. Those scenarios are where the tax bills appear.
#The §311(b) exit trap — getting property out triggers a taxable event
This is the trap that most investors discover too late. You’ve held a rental property inside your S-corp for years, the property has appreciated, and now you want to move it into a holding LLC, into your own name, or into a new structure with a partner. Here’s what happens.
#How IRC §311(b) works
Under IRC §311(b), when a corporation distributes property to a shareholder and the property’s fair market value exceeds its adjusted basis in the hands of the corporation, the corporation must recognize gain equal to that difference, as if it had sold the property at fair market value.
That gain flows through to you as the S-corp shareholder on your Schedule K-1. You pay income tax on it. And you haven’t sold the property to anyone. You’ve just moved it from your S-corp to yourself, and you owe the IRS for the privilege.
By contrast, IRC §731 governs partnership and LLC distributions. Under that rule, distributing appreciated property from a partnership to a partner generally does not trigger gain recognition until the partner actually sells the property. The tax is deferred to the real economic event (a sale), not the administrative transfer. This single difference in the code is one of the most consequential structural distinctions between an S-corp and a partnership for real estate investors.
#The dollar math on a typical distribution
Here’s a realistic scenario.
You bought a rental property in 2019 for $300,000. Your S-corp has taken $75,000 of depreciation over the years. Adjusted basis inside the S-corp: $225,000. Today the property is worth $550,000.
You want to distribute the property to yourself so you can refinance personally, roll it into a 1031 exchange, or place it in a new multi-member LLC with a business partner.
The S-corp distribution triggers §311(b):
- Total gain recognized: $325,000 ($550,000 FMV minus $225,000 adjusted basis)
- Depreciation recapture under unrecaptured §1250: $75,000, taxed at up to 25% federal
- Long-term capital gain: $250,000, taxed at 15% to 23.8% depending on your income level
- Approximate federal tax bill (at 23.8% LTCG + 25% recapture rate): roughly $78,250
-
$325K
§311(b) gain triggered
FMV $550K minus adjusted basis $225K
-
$78K+
Federal tax to move the property
25% recapture + 23.8% LTCG rate
-
$0
Tax to distribute from an LLC
IRC §731 defers gain to actual sale
Source: IRC §311(b) and IRC §731. Assumes 23.8% LTCG rate (20% + 3.8% NIIT) and 25% unrecaptured §1250 recapture. Individual circumstances vary.
You haven’t sold anything. You haven’t received cash. You’ve just moved the deed. And you owe roughly $78,000 in federal tax on that transaction. That is the S-corp rental exit trap in plain numbers.
#Why 1031 exchanges get constrained inside an S-corp
If you want to sell the rental and execute a 1031 like-kind exchange, the exchange must be completed in the name of the entity that holds the property. The S-corp itself must be the exchanger, and the replacement property must go back into the S-corp. You can’t personally do a 1031 on property your S-corp holds. And you can’t pull the property out first to do a personal exchange without triggering the §311(b) gain described above. The 1031 strategy works, but it keeps you locked inside the S-corp structure indefinitely.
#What “appreciated property” means in practice
For rental real estate, “appreciated” doesn’t just mean the market value went up. It also includes situations where the adjusted basis has been driven down by years of depreciation deductions. Even if the property’s value is roughly flat, significant depreciation can create a large gap between adjusted basis and FMV — and that gap is the §311(b) gain. Depreciation is one of the best tax tools in real estate, but inside an S-corp, that same depreciation eventually becomes a tax bill on the way out.
#The death-basis trap — losing your step-up
This one is arguably worse than the exit trap, because you don’t discover it until it’s too late to reverse.
#How IRC §1014 works for directly held property
IRC §1014 gives your heirs a step-up in the tax basis of inherited property to its fair market value at your date of death. For real estate held personally or in a single-member LLC (which is disregarded for tax purposes), this means your heirs can sell the property immediately after inheriting it and owe zero capital gains tax.
This is one of the most powerful wealth transfer tools in the tax code. It wipes out decades of embedded gain and depreciation recapture in a single event. A property you bought for $200,000 that is now worth $900,000 with a $50,000 depreciated basis passes to your heirs at a $900,000 stepped-up basis. They sell for $900,000. The IRS sees zero gain.
#What happens when the property is inside an S-corp
When your S-corp shares pass to your heirs at death, the stock gets a step-up in basis under §1014. Your heirs inherit the shares with a basis equal to the stock’s fair market value at your date of death.
The property inside the S-corp does not get a step-up. The S-corp’s adjusted basis in the real estate (reduced by years of depreciation) stays exactly where it was. Your heirs now hold stock worth $800,000, but if the S-corp sells the property or distributes it, the S-corp must use the original inside basis to compute gain.
Tax professionals commonly call this the “S-corp death trap.” The step-up happens at the stock level but not at the asset level inside the corporation. The embedded gain in the appreciated property still exists and will be triggered on any future sale or distribution.
#The comparison in real numbers
Say you bought a property in your S-corp for $200,000. The S-corp has taken $40,000 of depreciation. Adjusted inside basis: $160,000. At your death, the property is worth $800,000.
- Option A (held personally or in a disregarded LLC): Your heirs inherit with a stepped-up basis of $800,000. They sell for $800,000. Capital gains tax owed: $0.
- Option B (held in your S-corp): Your heirs inherit the stock with a stepped-up stock basis of $800,000. But the inside basis of the property remains $160,000. They sell the property (inside the S-corp) for $800,000. Taxable gain: $640,000. At roughly 23.8% combined rate plus 25% on the $40,000 of recapture, that’s $144,000 to $158,000 in additional federal tax your heirs pay that they would not have paid under Option A.
Partnerships have a mechanism called an IRC §754 election that allows a step-up in inside basis when ownership changes or a partner dies. This effectively solves the death-trap problem at the partnership level. S-corps have no equivalent provision. No §754-like election exists for S-corps. This is one of the most frequently cited structural disadvantages of using an S-corp for appreciating real estate, and it compounds with every year the property appreciates inside the S-corp.
#Basis limits and suspended losses
Even during the years you hold the property, the S-corp structure creates friction that does not exist with direct ownership or a partnership.
#The S-corp basis limitation rule (IRC §1366)
Under IRC §1366(d), you can only deduct your share of S-corp losses up to your combined stock basis plus the amount of any direct loans you have personally made to the corporation. If your S-corp generates rental losses in a year — which is common, especially with depreciation, interest expense, and repairs — those losses may be suspended and carried forward rather than deducted currently.
Tracking this correctly requires careful attention to your S-corp shareholder basis year over year. Errors in basis tracking can mean you deduct losses in the wrong year, or miss losses entirely when you exit the S-corp.
#No benefit from nonrecourse mortgage debt at the shareholder level
Real estate investors frequently finance properties with nonrecourse debt (mortgages where the lender’s only recourse is the property). In a partnership or LLC taxed as a partnership, a partner’s share of nonrecourse debt increases their tax basis, which expands the losses they can deduct currently.
Inside an S-corp, the mortgage sits at the entity level and does not flow through to increase your stock basis. If the S-corp generates an $80,000 rental loss (after depreciation and mortgage interest) and your stock basis is only $20,000, you can only deduct $20,000 this year. The remaining $60,000 is suspended and carried forward. It won’t disappear permanently, but it’s unavailable when you need it most, typically the years with the largest depreciation from a new acquisition.
#Cost segregation and bonus depreciation complications
Running a cost segregation study on a rental property inside an S-corp to accelerate depreciation into year one sounds appealing. But a $150,000 bonus depreciation deduction in year one does you no good this year if your stock basis is only $30,000. The excess loss is suspended inside the S-corp. You can read more about how cost segregation studies work fundamentally, but the core issue here is structure: the entity must allow those losses to flow through before you capture the benefit.
For an investor who holds the same property personally or in a partnership, the identical depreciation shows up directly on Schedule E and (subject to passive activity rules and real estate professional status) can offset income in the same year.
#Why LLC or direct ownership works better for rentals
Let me lay out the comparison directly, because this is where the structural difference becomes concrete.
#Direct ownership (Schedule E, personal name)
Holding rental property in your own name or a disregarded single-member LLC is the simplest structure. Tax reporting goes directly on Schedule E. Benefits:
- Full step-up in basis at death under IRC §1014 — eliminates all embedded gain for heirs
- No §311(b) gain when transferring the property — no corporation involved, no triggered gain
- 1031 exchanges completed personally — no entity coordination required
- Cost segregation and bonus depreciation flow directly to your individual return
- No additional compliance cost — no S-corp return, no payroll, no annual corporate formalities
Downsides: No liability separation at the personal-name level (a single-member LLC fixes this while remaining disregarded for tax). No SE tax savings, though rental income was never subject to SE tax anyway.
#Multi-member LLC taxed as a partnership
For investors with partners or those who want to bring in family members over time, a multi-member LLC taxed as a partnership provides:
- IRC §731 tax-free property distributions in most circumstances — pull the property out without triggering gain
- IRC §754 election to step up inside basis when ownership changes or a partner dies
- Partners can increase basis via their share of entity-level debt, including nonrecourse mortgages
- Flexible allocations of income, loss, and cash distributions via the operating agreement
- Pass-through tax treatment similar to an S-corp for income and losses, without the structural traps
The tax math between an LLC and an S-corp looks different for real estate than it does for active businesses. The flexibility and tax efficiency of the partnership structure for real estate are well-established and consistent with how most sophisticated real estate investors hold property.
#When an S-corp is appropriate alongside rental property
Just so you know: an S-corp is often the right structure for your active business income. If you run a service business, a trade, or a consulting practice that generates earned income, an S-corp frequently makes excellent sense for SE tax savings.
The recommendation here is not to avoid S-corps entirely. It is to keep the S-corp for active business activity and hold rental real estate in a separate entity. The two serve different functions and are optimized by different structures. One entity for everything is almost never the right answer when real estate and active business income are both in the picture.
#Already in the trap? Here’s how to exit
If you’re reading this and you already hold rentals inside an S-corp, you have options. But each option carries costs you need to model before acting.
#Option 1 — Sell the property inside the S-corp and don’t reinvest inside the S-corp
If you were planning to sell anyway, sell it from the S-corp. The gain is what it is. The key is: after the sale, don’t replace the property with another rental inside the same S-corp.
The sale proceeds (after tax) can be distributed to you as cash. Cash distributions from an S-corp don’t trigger §311(b) — that rule only applies to property distributions. You take the cash, pay yourself, and reinvest personally or in an LLC.
If you’re planning a cash distribution, check your accumulated adjustments account (AAA) and stock basis to make sure the distribution doesn’t create a taxable event under the S-corp distribution ordering rules. This is one of the planning steps we walk through before any distribution.
#Option 2 — Contribute the S-corp into a partnership structure
In some cases, the S-corp can contribute its assets into an LLC taxed as a partnership (where the S-corp becomes a partner), allowing the partnership’s more favorable rules to govern future distributions. This can be done without triggering §311(b) in certain circumstances because the contribution is from the S-corp to a partnership, not a distribution to a shareholder. But the details matter significantly. The S-corp must receive a partnership interest in exchange (not cash), the transaction must qualify under IRC §721, and the resulting structure may have its own complications. This is not a generic “just do this” recommendation. It requires careful planning specific to your numbers and entity structure.
#Option 3 — Hold and plan around it
If the current tax cost of exiting is prohibitive, the other option is to hold, keep maximizing depreciation and cost segregation, and use the time to plan around the estate tax exposure. With proper estate planning, there may be ways to use valuation discounts on S-corp stock, life insurance to cover the estate tax, or other techniques to reduce the generational tax cost even if the inside basis step-up is not available. This is not a “do it yourself” area of planning. It requires coordinated work between a CPA and an estate planning attorney who understands both the income tax and estate tax sides of the problem.
#Common questions
Can my S-corp do a 1031 exchange on the rental property? Yes, an S-corp can execute a 1031 like-kind exchange. But the exchange must be completed entirely within the S-corp. The S-corp sells the relinquished property, the qualified intermediary holds proceeds, and the S-corp acquires the replacement property. The property stays inside the S-corp. This defers the gain inside the entity but does not solve the §311(b) exit trap, the step-up problem, or the basis limitation issues. You defer the gain, but the structural problems remain.
What if I transfer the property to myself for no consideration — does that avoid §311(b) gain? No. IRC §311(b) applies regardless of the consideration paid. Gain is measured as the difference between fair market value and adjusted basis at the time of the distribution. The S-corp recognizes gain whether you pay yourself fair value, a nominal amount, or nothing at all. The IRS looks at the FMV of the property on the date of distribution, not the transaction price.
Does depreciation recapture add on top of the regular capital gain? Yes. When a property has been depreciated, the §311(b) gain includes both the unrecaptured §1250 depreciation (taxed at a maximum federal rate of 25%) and any remaining long-term capital gain (taxed at 0%, 15%, or 20% depending on your income). Both components are triggered on the distribution, the same as they would be on a sale to an outside buyer. The total tax bill can be surprisingly large even on a property that has not appreciated much in market value, because depreciation deductions drive the adjusted basis down.
What about the passive activity rules — can’t I just group the rental with my S-corp’s business activity? Rental activities are generally passive under IRC §469 regardless of how they are held. You can make a grouping election to combine rental and business activities if they meet the grouping tests under Treas. Reg. 1.469-4, but this is more restrictive and complex with an S-corp than with direct ownership, and it does not solve the §311(b), step-up-at-death, or basis limitation problems. Grouping helps with the passive activity classification question. It does not eliminate the structural traps.
If I’m a real estate professional for tax purposes, does that change the calculus? It changes the passive activity loss treatment (your rental losses become non-passive and can offset active income), but it does not change how §311(b) applies on distributions, it does not restore the step-up at the asset level, and it does not expand your shareholder-level basis under §1366(d). Being a real estate professional is a powerful tax status, but it does not cure the structural problems of holding rentals inside an S-corp.
What if the rental property has declined in value — is there still a problem with distributing it? If the property’s fair market value is below its adjusted basis, §311(b) gain does not apply. But you also cannot recognize a loss on the distribution under IRC §311(a) — distributions of depreciated property produce neither gain nor loss at the corporate level. The loss is disallowed at distribution and only recognized if the property is later sold to an unrelated third party. So even in a loss situation, the distribution is not tax-free in the sense that you can’t use the loss.
I’ve heard I can contribute property to an S-corp tax-free under IRC §351. Does that work on the way out? IRC §351 allows tax-free contributions of property to a corporation in exchange for stock, provided the contributing shareholders end up with at least 80% control immediately after. So the way in can be tax-free. But §351 has no equivalent on the way out. The exit from a corporation is governed by §311(b) for property distributions. There is no non-recognition provision for corporate-to-shareholder property transfers other than complete liquidations (which have their own rules and complications worth analyzing separately).
Are there state tax consequences on top of the federal tax? Yes. Most states with income taxes follow the federal treatment and recognize gain on S-corp property distributions under their equivalent of §311(b). California, New York, and other states with high individual income tax rates add state tax on top of the federal bill, and some states have their own S-corp-specific rules. The total tax cost of exiting the S-corp rental trap is frequently higher than the federal-only calculation suggests. Modeling both federal and state tax before any distribution is a basic requirement of the analysis.
#Ready to talk through your specific situation?
Look, if you’re already in this situation, the answer depends entirely on the numbers: what you paid for the property, what it’s worth today, how much depreciation you’ve taken, what your other income looks like, and what your long-term plan for the property is. There is no generic answer.
We work with real estate investors and S-corp owners who need a clear picture of the actual cost of their current structure and the realistic options for fixing it. Learn more about how we work with real estate investors, or see what our tax planning advisory process looks like.
Book a 15-minute Tax Discovery — Google Meet, no pitch, free advice either way.