How to Set Up QuickBooks for a Real Estate Portfolio
April 28, 2026
Florida
Florida Real Estate Investing: Tax Issues to Be Aware Of
May 5, 2026

April 30, 2026
Last Updated : April 24, 2026

§1231: The Best Deal in the Code that Nobody Plans Around

Key Takeaways

  • §1231 property allows real estate investors to have gains taxed at lower long-term capital gains rates instead of higher ordinary income rates.
  • If losses occur, they are treated as ordinary losses, which can fully offset other income and provide stronger tax benefits.
  • Depreciation recapture and the 5-year lookback rule can reduce these benefits, making tax planning essential before selling.

Let’s start with a story. A real estate investor gets an excellent deal on a property. The investor knew this was an excellent deal. Great price, great market, great everything. So they made the investment, made the improvements, and rented it out to help pay the mortgage, knowing the appreciation would come.

Then, after holding for two years, they decide the market has hit a peak they want to take advantage of. So, after buying for $500,000, they sell for $750,000. And they have a line of buyers out the door.

What if I told you, while that appreciation is fantastic, the gain is ALSO taxed fantastically?

Whenever you sell property that is held for business, the gain becomes Sec. 1231 character of gain, which means it’s taxed at the MAX 23.8% rate. That’s it. Not ordinary income.

Therefore, in this example, their tax bill is $60,000, versus $92,000.

That’s a $32,000 tax savings just by being a 1231 property. How can you get all your property to be considered Sec 1231 type property then?

What is § 1231 Property?

First, we have to define what is Sec 1231? What kinds of property fall underneath it?

1231 property is any kind of property used in a trade or business that is held for longer than a year. What is a trade or business for the tax code?

Think of it like this way: you are in the business of making cash flow and getting appreciation. So, purchasing residential homes, commercial buildings, land, equipment, vehicles, all of those items, if sold, wind up becoming Sec 1231 property.

What is NOT § 1231 Property?

1231 property is NOT inventory, property held for sale (like a flip), or property developed and then sold. It is property that is held for depreciation and is also held for a year.

Essentially, it’s the definition of ‘inventory’ that is pretty important. If you hold properties and then immediately sell, then you’ve got ‘dealer taint’, and it will be difficult to prove that your gains from the sale of these properties are Sec 1231 in nature versus properties that are just developed and then sold.

The Hotpot: How the Netting Actually Works

Basically, in a tax year, you sell a property and then incur losses on sale for other types of property. Let’s say you sold a business vehicle, but then you also purchased real estate in the same tax year.

You lost money in the vehicle; now it goes into this pot. But you made a profit on the actual sale of the house! $250,000 of non-tax gain!

We look at two different outcomes:

Do you have a net gain? This calculation is done with Form 4797. You’ll see it play out there. If it is a net gain, like mentioned before, if you’re subject to capital gains rates at 20% plus 3.8% in investment income tax depending on your tax status, that’s pretty great, right?

Normally, when you sell real estate, you have to get taxed on it at ordinary income rates. Not the same thing for 1231; you can show that you’re holding a property for a year or longer during your period of time.

You would’ve gotten an ordinary deduction on it. Now you’re getting these capital gains. Now we’ll talk about how the government can still achieve peace, but if we don’t do that, we’ll look at the net loss scenario.

Basically, look at this; this is where the sweet icing on the cake comes into play, and that’s because you get a loss, not a capital loss. This results in an ordinary business loss that you can use to offset against your ordinary income.

The reason this is allowed is because you have actual economic loss where you’ve lost cash or equity in the deal, but effectively, it gives you the ability to have your cake and eat it too. For a gain, lower tax rate; have a loss, get to deduct at the higher tax rate, right?

It’s a really awesome tax-planning opportunity.

The 5-Year Lookback: §1231(c)

While 1231 gains are advantageous, there is one catch.

If you take a 1231 loss, which is ordinary, and then sell a property, which would normally be capital gain, you’re stuck in a ‘hotpot’.

Over a five-year period, the lookback forces any 1231 gains to be flipped into ordinary income versus capital gain. Why is this?

Basically, the government doesn’t want you to get your cake and eat it too. This means that if you sold a property and had a real estate loss, your tax bill might be higher than you originally thought.

The planning angle nobody talks about: if you know you’re going to sell at a gain, you need to know your lookback balance BEFORE you sign closing docs.

Recapture Runs First: The Ordering That Trips People Up

But, before §1231 even touches the gain, depreciation recapture carves out its piece.

Think of 1231 gains as the umbrella for 1245 and 1250 recapture. Technically, they are the same, but if you’ve done bonus or depreciation on these assets, they ‘reclass’ the umbrella to 1245 or 1250.

  • §1245 property (personal property, equipment, 5/7/15-year cost seg components):
    • ALL prior depreciation recaptured is ‘bucketed’ to ordinary income.
    • Remember, your ‘ordinary’ depreciation deductions are helping you save at ordinary rates, but you get taxed on sale back at the ordinary rates.
  • §1250 property (the building itself):
    • Only excess depreciation over straight-line is recaptured as ordinary (rare post-1986 since SL is mandatory).
    • The rest hits the 25% unrecaptured §1250 gain rate. §1231 only governs what’s LEFT after recapture

The real estate math (expand from your existing post):

  • $500K sale, $300K adjusted basis, $200K gain
  • $120K of depreciation taken over the hold
  • $120K taxed at 25% (unrecaptured §1250)
  • $80K taxed at 20% (§1231 LTCG)
  • vs. if it were all ordinary: $200K × 40.8% = $81,600 vs. $46,000. That’s a $35K+ swing.
  • If you did a cost seg: some of those reclassified components are §1245 property. That depreciation comes back at full ordinary rates on sale, not the 25% §1250 rate. This is the cost seg recapture trade-off — accelerate the deduction now, pay ordinary rates later. Model it before you pull the trigger.

Planning Moves: What to Actually Do With This

So, what should you actually do about this?

Before any sale, have your tax pro run the §1231 netting projection.

Have them give the ultimate tax effect so you can factor that all in!

If you ran a cost segregation study, you must assuredly model the §1245 recapture before you sell. The acceleration was worth it if you held long enough and had the passive activity position to use it. But know the number.

1031 exchange as an escape valve: §1031 defers the entire gain, including the §1250 recapture and the §1231 gain. If you’re not ready to eat the recapture, exchange it into replacement property. But remember: you’re kicking the can. The basis carries over.

K-1 tracking: If you’re in multiple partnerships, track your aggregate §1231 position at the individual level. The netting happens on YOUR return, not the fund’s. This is really important and should be.

Document the character: When you sell, make sure the allocation between land, building, and personal property is defensible. The IRS will look at this. The character of the gain depends on it. This is important as well because the price that is allocated to land will likely be entirely 1231 gain, and will limit your depreciation recapture exposure. Why is this? Say someone is purchasing a building, but the land is far more valuable than the building for its location by chance. This is one of the times that a new appraisal can be immensely valuable, and even having the other party agree on terms for this

Important Notes

Property acquisitions and liquidations always require your bench, your tax professional, and your attorney; they all should be brought into the loop on this.

The reason why is that the tax modeling and characterization of property is key to finding out your overall tax cost.

This lets you know what you’ll ultimately walk away with. And, you should make sure you are optimizing everything you possibly can in a transaction like this!

Going through property sales? Give us a call!

 Get a Free Consultation

Recent Articles