Real estate sits at the intersection of nearly every complex area of tax law - capital gains, depreciation recapture, passive activity limitations, dealer classification, self-employment tax, and the net investment income tax. The rate structure alone is confusing: a rental property sale can generate gain taxed at four different rates simultaneously. Understanding the mechanics is essential for anyone who owns, advises on, or prepares returns involving investment real estate.
Real property used in a trade or business (rental properties, commercial buildings, land held for investment) is §1231 property. The §1231 netting rules provide unusually favorable treatment: net §1231 gains are taxed as long-term capital gains, but net §1231 losses are treated as ordinary losses - fully deductible without the $3,000 annual capital loss limitation.
All §1231 gains and losses from all properties are netted together at year-end. If the result is a net gain, all items are treated as long-term capital gain (subject to recapture rules discussed below). If the result is a net loss, all items are treated as ordinary loss - which can offset W-2 income, business income, and other ordinary income without limitation.
The §1231 lookback rule: If a taxpayer has taken net §1231 losses in any of the prior 5 years, current-year net §1231 gain is recharacterized as ordinary income to the extent of those unrecaptured prior losses. This prevents taxpayers from getting an ordinary loss deduction one year and capital gain treatment the next on the same underlying property.
When a depreciated property is sold for more than its adjusted tax basis, the gain attributable to prior depreciation deductions is "recaptured" - taxed at higher rates than pure capital appreciation. The recapture rules exist to prevent taxpayers from taking ordinary deductions (depreciation) and then converting that benefit into capital gain on sale.
Gain on the sale of §1245 property (tangible personal property - equipment, machinery, furniture, improvements with a recovery period of 20 years or less) is recaptured as ordinary income to the extent of all prior depreciation taken, including bonus depreciation. If a piece of equipment was purchased for $100,000, fully expensed via bonus depreciation, and later sold for $60,000, the entire $60,000 gain is §1245 ordinary income. No portion escapes recapture simply because the property appreciated.
Real property (buildings, structural components) uses a different recapture rule. Under current law, real property placed in service after 1986 must be depreciated using straight-line MACRS - meaning there is no "additional" depreciation above straight-line to recapture. However, the §1250 unrecaptured gain (the portion of §1231 gain attributable to straight-line depreciation taken on real property) is taxed at a maximum rate of 25% rather than the 20% preferential capital gains rate.
The distinction between a real estate dealer (holds property primarily for sale to customers in the ordinary course of a trade or business) and a real estate investor (holds property for investment - rental income or long-term appreciation) determines whether gain is capital or ordinary. Dealer gain is ordinary income subject to self-employment tax. Investor gain is §1231 gain eligible for capital rates.
| Factor | Suggests Dealer | Suggests Investor |
|---|---|---|
| Frequency of sales | Frequent, regular sales | Infrequent, isolated sales |
| Holding period | Short holds, quick flips | Long-term holds |
| Purpose of acquisition | Acquired for resale | Acquired for rental income or appreciation |
| Development activity | Subdivides, develops, improves for sale | Minimal improvements; holds in current state |
| Advertising and marketing | Actively markets properties for sale | No active marketing; uses brokers passively |
| Business activity | Real estate is primary business | Real estate is investment alongside other income |
Rental real estate is generally treated as a passive activity under IRC §469, regardless of how much time the owner spends managing it. Passive losses can only offset passive income - they cannot offset wages, business income, or portfolio income. Unused passive losses are suspended and carried forward until either (a) the taxpayer generates passive income to absorb them, or (b) the property is sold in a fully taxable disposition.
An exception allows individual taxpayers who "actively participate" in rental real estate to deduct up to $25,000 of rental losses against non-passive income annually. Active participation is a lower standard than material participation - it requires only that the taxpayer makes management decisions (approving tenants, setting rent, authorizing repairs). The $25,000 allowance phases out at a rate of $0.50 per dollar of AGI above $100,000, eliminating completely at $150,000 AGI.
A taxpayer who qualifies as a real estate professional is not subject to the passive activity characterization for rental activities. All rental losses are deductible against any type of income - including W-2 wages - without limitation. To qualify:
Rental activity with average guest stay of 7 days or less is not treated as a rental activity for passive activity purposes under Treas. Reg. §1.469-1T(e)(3). It is instead treated as a business activity - which means material participation rules (not the rental real estate rules) determine whether it is passive or active. A taxpayer who materially participates in a short-term rental (Airbnb, VRBO) treats losses as non-passive, deductible against all income. A taxpayer who does not materially participate treats it as a passive activity.
A cost segregation study is an engineering analysis that breaks a building's cost into components and reclassifies personal property and land improvements from 39-year real property to shorter recovery periods (5, 7, or 15 years). Components eligible for reclassification include specialty electrical systems, plumbing fixtures, flooring, cabinetry, specialized HVAC, parking lots, landscaping, and exterior lighting.
With 100% bonus depreciation restored permanently by OBBBA, 5, 7, and 15-year property identified in a cost segregation study can be fully expensed in year one. On a $5 million commercial building, a cost segregation study might reclassify $750,000 to 5/7-year property - generating $750,000 of year-one deductions instead of $19,231 per year over 39 years. For a taxpayer in the 37% bracket, the present value of that acceleration is substantial.