Cost Recovery in Real Estate: MACRS, Cost Segregation, and Recapture

Real estate depreciation rules let you deduct the cost of an income-producing building over a fixed period set by the tax code: 27.5 years for residential rental property and 39 years for commercial buildings.1Office of the Law Revision Counsel. 26 U.S. Code 168 – Accelerated Cost Recovery System Each year, a slice of the building’s cost comes off your taxable income without any new cash leaving your pocket. Done right from the start, and paired with the acceleration tools Congress has left in place, depreciation is often the single largest tax benefit of owning rental real estate.

Setting the Depreciable Basis

Every calculation starts with cost basis. For property you purchase, that means the price paid plus acquisition costs such as legal fees, surveys, title insurance, and transfer taxes. That total is the capital the tax code allows you to recover over time.

Before anything gets depreciated, land has to be carved out. Land itself never depreciates, because the tax code treats it as an asset with no determinable useful life.2Internal Revenue Service. Topic No. 704 Depreciation Only the portion of the price allocated to the structure and other improvements is depreciable. Most investors use the county assessor’s ratio between land and improvements, or they commission an independent appraisal. Adopting the seller’s allocation with no documentation of your own is the shortcut that most often draws an IRS challenge.

Basis is not static. It decreases each year by the depreciation you claim on Form 4562, and it increases whenever you make a capitalized improvement such as a full roof replacement or an addition.3Internal Revenue Service. About Form 4562, Depreciation and Amortization Adjusted basis is what determines your gain or loss when you eventually sell, so keeping accurate records matters as much at year 20 as at year one.

Inherited Property

If you inherit real estate instead of buying it, the basis resets to the property’s fair market value on the date of the decedent’s death.4Office of the Law Revision Counsel. 26 U.S. Code 1014 – Basis of Property Acquired From a Decedent All of the prior owner’s unrealized appreciation and accumulated depreciation disappear. When an heir places the property into rental service, the stepped-up value minus land becomes the new depreciable basis, and a fresh 27.5- or 39-year schedule begins.

How MACRS Works for Buildings

Nearly all income-producing real estate placed in service after 1986 is depreciated under the Modified Accelerated Cost Recovery System, or MACRS.5Internal Revenue Service. Publication 946 – How To Depreciate Property For buildings, MACRS is straight-line: the same amount every full year across the recovery period. Which period applies depends on how the property is used.

A building qualifies as residential rental property, and gets the 27.5-year schedule, when 80% or more of its gross rental income comes from dwelling units. Everything else (offices, retail, warehouses, mixed-use buildings that fail the 80% test) is nonresidential real property depreciated over 39 years.1Office of the Law Revision Counsel. 26 U.S. Code 168 – Accelerated Cost Recovery System These periods are fixed by statute; the actual physical condition of the building does not shorten them.

The first and last years use the mid-month convention. Whatever month you place the property in service, the IRS treats you as starting at that month’s midpoint. Close on a residential rental in March, and you get 9.5 months of depreciation the first year rather than a full 12. The same rule applies in the month you sell.

Accelerating the Deductions

Waiting 27.5 or 39 years for full cost recovery is slow, and the code offers two main tools to pull much of it forward.

Cost Segregation

A cost segregation study is an engineering-based analysis that breaks a building into its components and reclassifies items out of the long building schedule into shorter MACRS recovery periods. Specialized plumbing, dedicated electrical wiring, decorative fixtures, carpeting, and certain built-in equipment can move to 5- or 7-year property. Land improvements such as sidewalks, parking lots, fencing, and landscaping move to 15-year property.2Internal Revenue Service. Topic No. 704 Depreciation

The study itself has to be defensible: an engineer or specialized firm inspects the property, measures and prices the qualifying components, and produces a report that will hold up if the IRS asks. For a property that has already been in service, adopting the study’s results is a change in accounting method, filed on Form 3115, and the missed depreciation comes back as a one-time catch-up deduction in the year of the change rather than through amended returns.6Internal Revenue Service. Instructions for Form 3115 – Application for Change in Accounting Method

Cost segregation generally starts to pencil out for properties with a cost basis above roughly $1 million, though there is no formal threshold. The economics really turn when the reclassified components meet bonus depreciation.

Bonus Depreciation in 2026

Bonus depreciation lets you deduct a percentage of a qualifying asset’s cost in the year it is placed in service. The One Big Beautiful Bill Act, signed in July 2025, permanently restored 100% bonus depreciation for qualifying property acquired after January 19, 2025.7Internal Revenue Service. Additional First Year Depreciation Deduction (Bonus) – FAQ The 5-, 7-, and 15-year property that comes out of a cost segregation study can be fully expensed in year one.

The math is what makes the pairing so common. If a study identifies $400,000 of short-lived property inside a $1.5 million building, that $400,000 can come off in year one instead of dribbling out over decades. The resulting paper loss is often large enough to offset income from other sources, subject to the passive activity limits below.

Bonus depreciation applies automatically. You do not elect in; you elect out, class by class, if you would rather use standard MACRS for a particular asset class. You cannot pick and choose within a class.

Section 179 for Real Property Components

Section 179 provides another route to immediate deductions and works alongside bonus depreciation rather than replacing it. It permits an election to expense qualifying property in the year placed in service, up to an annual dollar limit. For tax years beginning in 2026, the maximum deduction is $2,560,000, phasing out dollar-for-dollar once total qualifying property placed in service exceeds $4,090,000.8Office of the Law Revision Counsel. 26 U.S. Code 179 – Election to Expense Certain Depreciable Business Assets

For real estate, Section 179 reaches qualified real property: roofs, heating and air conditioning systems, fire protection and alarm systems, and security systems placed in service after the building itself was placed in service.2Internal Revenue Service. Topic No. 704 Depreciation One important limit: a Section 179 deduction cannot create or increase a net loss from the business. Anything you cannot use because of that income cap carries forward. Bonus depreciation has no such restriction, which is why bonus tends to do the heavy lifting on newly acquired properties and Section 179 fills in on later component upgrades.

Repairs Versus Improvements

Once a property is in service, every dollar you spend on it raises the same question: deduct now as a repair, or capitalize and depreciate over 27.5 or 39 years? The IRS Tangible Property Regulations set the boundary.9Internal Revenue Service. Tangible Property Regulations – Frequently Asked Questions

A repair keeps the property in its current working condition without materially adding value or extending life. Fixing a broken window, repainting a unit, or patching a section of roof falls on the repair side and gets deducted in the year paid. An improvement adds value, extends useful life, or adapts the property to a new use. A full roof replacement, a new HVAC system, or a gut renovation of a floor gets capitalized.

Two safe harbors do a lot of work in the gray zone. The de minimis safe harbor lets you expense items costing $5,000 or less per invoice if you have an applicable financial statement (usually an audited one), or $2,500 or less per invoice if you do not. Most individual landlords fall into the $2,500 category. The routine maintenance safe harbor lets you deduct costs for activities you reasonably expect to perform more than once during the property’s MACRS recovery period, such as scheduled repainting or annual HVAC servicing. Both safe harbors require an annual election on the return. Miss the election and the benefit is gone for that year, with no way to claim it retroactively.

Whether You Can Actually Use the Losses

Large depreciation deductions look powerful on paper, and the passive activity rules decide how much of that power reaches your return. Rental real estate is generally a passive activity, so rental losses can only offset other passive income, not wages, business profits, or portfolio gains.10Office of the Law Revision Counsel. 26 U.S. Code 469 – Passive Activity Losses and Credits Limited Unused losses carry forward and are released against future passive income or, in full, when you dispose of the property.

Two exceptions matter. The first is the $25,000 special allowance. If you actively participate in managing your rental (making the real decisions on tenants, repairs, and lease terms rather than handing everything to a manager), you can deduct up to $25,000 of rental losses against non-passive income each year. The allowance phases out by 50 cents on every dollar of modified adjusted gross income above $100,000, and it is gone entirely at $150,000.

The second is real estate professional status. If you spend more than 750 hours per year in real property trades or businesses, and that work accounts for more than half of your total personal services, your rentals lose their automatic passive label. You still have to materially participate in each rental activity (or group them by written election and meet the participation test for the group). Qualifying strips off the passive limitation entirely and lets rental depreciation offset any type of income. This is the pairing (cost segregation, 100% bonus, real estate professional status) that produces the six-figure first-year deductions you sometimes hear about.

Recapture and 1031 Exchanges at Sale

Every dollar of depreciation you claim reduces basis, which increases the taxable gain at sale. The IRS does not let those deductions go unrecovered. When you sell a depreciated property for more than adjusted basis, the portion of the gain attributable to depreciation taken (or allowed to be taken, whether you actually claimed it or not) is unrecaptured Section 1250 gain, taxed at a maximum federal rate of 25%.11Internal Revenue Service. Publication 544 – Sales and Other Dispositions of Assets Any additional gain above the original cost basis is taxed at long-term capital gains rates.

Accelerating depreciation through cost segregation and bonus depreciation does not change the total amount of recapture. It changes the timing: bigger deductions now, a larger recapture bill later. Skipping depreciation to avoid recapture does not work either, because recapture is computed on the depreciation you were entitled to claim, not just what appeared on your returns.

A like-kind exchange under Section 1031 defers both the capital gain and the recapture when you roll the proceeds from one investment property into another.12Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment Both properties must be held for business use or investment; personal residences and vacation homes do not qualify.13Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 “Like-kind” is read broadly for real estate: an apartment building can be exchanged for vacant land, a warehouse for an office building, a strip center for a single-family rental. Real estate in the United States cannot be exchanged for real estate outside the country.

The deadlines are strict and cannot be extended for hardship. You have 45 days from the sale of the relinquished property to identify replacements in writing, and 180 days from the sale (or your return’s due date with extensions, if earlier) to close on the replacement. Miss either date and the whole gain is taxable. Any cash or non-like-kind property you receive in the exchange, known as boot, is taxable immediately and is treated as recapture first.

A 1031 exchange defers recapture; it does not erase it. Basis carries over from the old property to the new, preserving the built-in gain. Investors who chain exchanges throughout their careers can defer indefinitely, and heirs then receive a stepped-up basis that wipes out both the deferred gain and the accumulated depreciation.4Office of the Law Revision Counsel. 26 U.S. Code 1014 – Basis of Property Acquired From a Decedent