Skip to main content

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
  1. How the S-corp rental trap gets set
  2. The §311(b) exit trap: getting property out triggers a taxable event
  3. The death-basis trap: losing your step-up
  4. Basis limits and suspended losses
  5. Why LLC or direct ownership works better for rentals
  6. Already in the trap? Here’s how to exit
  7. 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. The cost can run from tens of thousands of dollars to more. It depends on your gain, the depreciation you took, and your tax rates.
  • 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. A partner’s share of the mortgage debt can raise basis and allow more of the loss to be used. Partnership losses are also limited by outside basis (§704(d)), at-risk (§465), and passive rules (§469).
  • 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 how you got in helps you design the way 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. 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. This happens 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. Say the company used to be a C-corp. Then too much rent income can cause an extra tax and can end the S election. But rental income from real estate is not subject to self-employment tax in the first place. You end up paying payroll compliance costs and adding complexity. You set 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 show up.

#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. 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), say a corporation distributes property to a shareholder, and the property’s fair market value exceeds its adjusted basis. The corporation must then recognize gain equal to that difference. It’s treated as if the corporation 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 doesn’t 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. Maybe you want to 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: roughly $78,250 ($250,000 × 23.8% = $59,500 plus $75,000 × 25% = $18,750). Say the 3.8% Net Investment Income Tax applies. Then it applies to the whole gain, including the depreciation part. That brings the federal bill to about $81,100.
  • $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’s the S-corp rental exit trap in plain numbers.

#Why 1031 exchanges get constrained inside an S-corp

Say 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. 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. Say you hold real estate personally, or in a single-member LLC (which the IRS ignores for tax purposes). Then your heirs can sell the property right after inheriting it. They 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’s 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 say the S-corp sells the property or distributes it. Then 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, 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): The inside basis of the property stays at $160,000. Your heirs get a stepped-up basis in the stock, but not in the building. Say the company sells the property for $800,000. The gain flows through to them, raising their stock basis but not avoiding the tax on the sale. At 23.8% on the $600,000 of gain, plus 25% on the $40,000 of depreciation recapture, that’s about $152,800 of extra federal tax. This is before any offsetting loss when they later wind down the company. Run the numbers before relying on either outcome.

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. 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 doesn’t 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 stock basis plus your debt basis. Debt basis is the amount of any direct loans you’ve personally made to the corporation. Say your S-corp generates rental losses in a year. This 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. That expands the losses they can deduct currently.

Inside an S-corp, the mortgage sits at the entity level and doesn’t flow through to increase your stock basis. Say the S-corp generates an $80,000 rental loss (after depreciation and mortgage interest) and your stock basis is only $20,000. Then you can only deduct $20,000 this year. The remaining $60,000 is suspended and carried forward. The loss carries forward while you still own the stock. It’s lost if you sell the stock or die before basis is restored. It won’t disappear permanently while you still hold the stock. 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. 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. It can offset income in the same year, subject to passive activity rules and real estate professional status.

#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: a partnership can often distribute property to a partner without tax at that time. There are exceptions, such as property that was put in by another partner in the last 7 years. Your tax pro should check before any distribution.
  • 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. It’s 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. Say 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 isn’t to avoid S-corps entirely. It’s 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.

Say you’re planning a cash distribution. Check your accumulated adjustments account (AAA) and stock basis. 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, you can move the property into a partnership owned partly by the S-corp. That doesn’t get the property out of the S-corp. It can help if you want to add a partner later. It doesn’t remove the exit tax or give your heirs a step-up on the property. The S-corp can contribute its assets into an LLC taxed as a partnership (where the S-corp becomes a partner). This lets the partnership’s more favorable rules govern future distributions in some respects. This can be done without triggering §311(b) in certain circumstances. That’s 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 needs 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. For most families, estate tax isn’t the issue. The federal estate tax exclusion is $15,000,000 per person in 2026. The real cost to your heirs is income tax on the gain inside the company. With proper estate planning, there may be ways to use valuation discounts on S-corp stock, life insurance, or other techniques. These can reduce the generational tax cost, even without the inside basis step-up available. This is not a “do it yourself” area of planning. It needs coordinated work between a CPA and an estate planning attorney. Both the income tax and estate tax sides of the problem matter here.

#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 doesn’t 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 no matter what consideration was paid. Gain is measured as the difference between fair market value and adjusted basis at the time of the distribution. Say you buy the property from your own S-corp. Then the gain on the building and other depreciable parts can be taxed as ordinary income. That can cost more than a plain distribution. Model both before you move the deed. 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. Once a property has been depreciated, the §311(b) gain includes two parts. One is the unrecaptured §1250 depreciation, taxed at a maximum federal rate of 25%. The other is any remaining long-term capital gain, taxed at 0%, 15%, or 20% depending on your income. Both parts get triggered on the distribution, the same as they would on a sale to an outside buyer. The total tax bill can be surprisingly large even on a property that hasn’t appreciated much in market value. That’s 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, no matter how they’re 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. It doesn’t solve the §311(b), step-up-at-death, or basis limitation problems. Grouping helps with the passive activity classification question. It doesn’t 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 real estate professional status alone isn’t enough. You must also materially participate in your rentals, which usually means meeting an hours test each year. Many owners elect to treat all rentals as one activity. The IRS checks these claims closely, so keep a time log. You still need basis to deduct the losses. None of this changes how §311(b) applies on distributions. It doesn’t restore the step-up at the asset level, and it doesn’t expand your shareholder-level basis under §1366(d). Being a real estate professional is a powerful tax status, but it doesn’t 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? Say the property’s fair market value is below its adjusted basis. Then §311(b) gain doesn’t apply. But you also can’t 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 gone for good. You can’t use it later. If the property is worth less than its basis, it’s usually better to sell to an outside buyer and take the loss. Don’t distribute it. So even in a loss situation, the distribution isn’t 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. The contributing shareholders need to end up with at least 80% control right 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’s no non-recognition provision for corporate-to-shareholder property transfers other than complete liquidations. A complete liquidation of the S-corp is also taxable. The gain on the property still counts. (Complete liquidations 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. Some states also 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. What your long-term plan for the property is. There’s 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. We also help you see 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 20-minute Tax Discovery: Google Meet, no pitch, free advice either way.

Search the whole site.

Articles, services, segment pages, tech stack. Start typing, or jump to a topic.

Tip: ↑ ↓ to navigate · Enter to open · Esc to close