A dollar spent on a building or business asset lands in one of two tax buckets, and the rules for repairs and maintenance versus capital improvements decide which. Repairs keep property in its current working condition and are deducted in full the year you pay for them. Capital improvements make the property better, adapt it to a new use, or restore a major component, and their cost is recovered over years through depreciation. Guess wrong in either direction and you either overstate expenses and risk penalties, or you miss deductions you were entitled to take.
What Counts as a Repair
Repairs and maintenance are the routine costs of keeping property working. Patching drywall, fixing a leaky faucet, repainting interior walls, replacing a handful of broken floor tiles, or servicing an HVAC unit all qualify. The common thread: the work brings the property back to where it was before something wore out, without making it meaningfully better, bigger, or different.
Repair costs are deductible in the year you pay them. The IRS treats materials and supplies separately, defining them as tangible items you use up in operations. Items with a useful life of 12 months or less, or that cost $200 or less, qualify and are deducted in the year you first use or consume them.1Internal Revenue Service. Tangible Property Final Regulations
One trap. A repair performed alongside a larger improvement project gets swept into the improvement and loses its immediate deduction. Exterior painting on its own is a deductible repair. Exterior painting done as part of a project that also replaces the entire roof gets capitalized with the roof.2Internal Revenue Service. Depreciation and Recapture This is why line-item detail on contractor invoices matters.
What Makes an Expense a Capital Improvement
The federal tangible property regulations use what practitioners call the BAR test. An expense must be capitalized if it results in a betterment, an adaptation, or a restoration of the property.3eCFR. 26 CFR 1.263(a)-3 – Amounts Paid to Improve Tangible Property Meeting any one is enough.
Betterment. The work fixes a defect that existed before you acquired the property, physically enlarges it, or materially increases its capacity, efficiency, or quality. Upgrading a building’s electrical panel from 200 amps to 400 amps is a textbook betterment because it measurably increases what the system can handle. You measure the change against the property’s condition right before the expenditure, or after the last improvement if one was made.
Adaptation. The work changes the property’s use to something fundamentally different. Converting a warehouse into retail space, or turning a residential garage into a commercial office, qualifies. Modernizing a space while keeping its function does not.
Restoration. The work replaces a major component or substantial structural part, returns the property to working order after it had deteriorated to the point of not being functional, or rebuilds it to like-new condition. A completely new roof, all new windows, or a new furnace are restorations because each involves a major component of the building.2Internal Revenue Service. Depreciation and Recapture
Replacing one section of roofing membrane is a repair. Replacing the entire roof is a restoration. The difference turns on how large the replaced piece is relative to the whole, which is why the regulations force you to define the property’s “unit” before running the test.
Why the Unit of Property Changes the Answer
The BAR test does not look at the entire building as one lump. For buildings, the regulations break things down into the building structure itself and a set of individually defined building systems. Each system is its own unit of property, and the analysis runs separately against each one. The recognized systems include plumbing, electrical, HVAC, elevators and escalators, fire protection, security, and gas distribution.3eCFR. 26 CFR 1.263(a)-3 – Amounts Paid to Improve Tangible Property
This distinction changes outcomes. Replacing one of four rooftop HVAC units may not be a restoration of the HVAC system as a whole. Replace the single furnace that heats the whole building, and you have replaced a major component of that system, so it capitalizes as a restoration. Same dollar amount, different bucket, depending on how the systems are configured.
How Each One Is Taxed
Repairs and maintenance are deducted in full in the tax year paid. Capital improvements must be capitalized and recovered over time through depreciation, and the recovery period depends on the type of property:
- Residential rental property depreciates over 27.5 years, straight-line, with a mid-month convention.4Internal Revenue Service. Publication 527 – Residential Rental Property
- Nonresidential real property depreciates over 39 years, straight-line.5Internal Revenue Service. Publication 946 – How to Depreciate Property
- Qualified improvement property (QIP) uses a 15-year recovery period. QIP covers interior improvements to nonresidential buildings placed in service after the building itself, such as interior walls, ceilings, flooring, and lighting. It excludes enlargements, elevators, escalators, and changes to the internal structural framework.
The 15-year QIP period matters beyond its length because it also makes those interior improvements eligible for bonus depreciation, which can collapse the recovery into a single year.
Faster Write-Offs for Improvements
Several provisions let you recover the cost of a capital improvement much faster than the standard schedule. Any of them can shorten the wait, and some eliminate it entirely.
Section 179 Expensing
Section 179 lets you deduct the full cost of qualifying property in the year it is placed in service, up to an annual dollar limit. For tax years beginning in 2026, the maximum deduction is $2,560,000, and it begins phasing out dollar-for-dollar once total qualifying property placed in service exceeds $4,090,000.6Office of the Law Revision Counsel. 26 USC 179 – Election to Expense Certain Depreciable Business Assets The deduction cannot exceed your taxable income from the active conduct of a trade or business.
Qualifying property includes equipment, machinery, furniture, computers, off-the-shelf software, and several nonresidential building improvements: roofing, HVAC systems, fire suppression, alarm and security systems, and qualified improvement property.
Bonus Depreciation
Bonus depreciation is an additional first-year deduction on qualifying assets with a recovery period of 20 years or less. The percentage depends on when the property was acquired.
- Property acquired after January 19, 2025 qualifies for 100% bonus depreciation permanently under the One, Big, Beautiful Bill Act. The full cost of qualifying property can be written off in year one.7Internal Revenue Service. Notice 2026-11 – Interim Guidance on Additional First Year Depreciation Deduction
- Property acquired before January 20, 2025 and placed in service in 2026 still follows the old phase-down, meaning only 20% bonus depreciation is available.8Internal Revenue Service. Revenue Procedure 2026-15
The acquisition date controls the outcome. A binding contract signed in December 2024 and installed in 2026 is stuck at 20%. The same contract signed in February 2025 gets 100%.
Partial Asset Dispositions
When you replace a major component like a roof or an HVAC system, the old component still has undepreciated value on your books. Without a partial asset disposition election, that leftover basis stays embedded in the building’s depreciation schedule. With the election, you recognize a loss on the disposed component and get the remaining basis off your books immediately.
You make the election by reporting the gain or loss from the disposed portion on your timely filed return for the year the replacement happens. No special form is required.9Internal Revenue Service. Examining a Taxpayer Electing a Partial Disposition of a Building The harder part is figuring out the adjusted basis of the old component. If original cost records are missing, the IRS accepts several reasonable methods, including discounting the replacement cost back to the original placed-in-service year using an appropriate price index, allocating the building’s basis proportionally based on replacement costs, or a formal cost allocation study.
The building must be a MACRS asset placed in service in 1987 or later, you need a depreciable interest in the disposed portion, and the election is not available for a full building demolition. For the routine case of replacing a roof, furnace, or windows on a rental property, the election pairs naturally with capitalization of the new component.
Cost Segregation Studies
Standard depreciation lumps a building’s cost into one long recovery period, but many components inside qualify for much shorter lives. A cost segregation study identifies them, such as specialized electrical work, cabinetry, decorative finishes, certain flooring, and site improvements, and reclassifies them into 5-year, 7-year, or 15-year property. Those shorter periods use accelerated methods that front-load deductions.
The real payoff comes when the study is combined with bonus depreciation. Under the restored 100% rules for property acquired after January 19, 2025, reclassified components with recovery periods of 20 years or less can be written off entirely in year one.7Internal Revenue Service. Notice 2026-11 – Interim Guidance on Additional First Year Depreciation Deduction Studies rarely make financial sense for properties purchased below roughly $500,000, because the reclassification savings will not justify the fee.
Safe Harbors That Skip the BAR Analysis
Three safe harbors let you deduct certain expenditures without running the full test. Each requires an affirmative election with its own conditions.
De Minimis Safe Harbor
This election lets you expense items that cost $2,500 or less per invoice or per item. If your business has an applicable financial statement, such as an audited financial report, the threshold rises to $5,000 per item.1Internal Revenue Service. Tangible Property Final Regulations You need a written accounting policy in place at the start of the tax year that treats amounts below the threshold as expenses. Make the election by attaching a statement titled “Section 1.263(a)-1(f) de minimis safe harbor election” to your timely filed return.10Internal Revenue Service. Notice 2015-82 – De Minimis Safe Harbor
Safe Harbor for Small Taxpayers
This one targets owners of smaller buildings. To qualify, your average annual gross receipts must be $10 million or less, and the building must have an unadjusted basis of $1 million or less. Meet both, and you can expense repairs, maintenance, and even improvements on that building as long as the yearly total does not exceed the lesser of $10,000 or 2% of the building’s unadjusted basis.1Internal Revenue Service. Tangible Property Final Regulations The gross receipts requirement is a genuine eligibility gate, not a formality.
Routine Maintenance Safe Harbor
Recurring maintenance to keep property in its ordinary operating condition may qualify for immediate deduction under this safe harbor. The requirement is that, at the time the property was placed in service, you reasonably expected to perform the maintenance more than once during the relevant period. For building structures and systems, that period is 10 years from the placed-in-service date. For other property, it is the asset’s class life.1Internal Revenue Service. Tangible Property Final Regulations One limit worth naming: this safe harbor does not cover betterments. Work that makes the property materially better will not qualify no matter how regularly you perform it.
Documentation You Have to Keep
Every classification decision needs paperwork. Invoices should separate labor from materials, and contractors should describe the work in enough detail to show whether it maintained existing conditions or changed them. Dated before-and-after photos are cheap insurance that can settle disputes years later.
For expenses where you applied the BAR test, keep notes on the specific unit of property analyzed, the condition before the work, and which prong of the test you concluded applied. Retain a copy of any safe harbor election statement filed with your return. For partial dispositions, document how you identified the disposed component and the method used to calculate its adjusted basis, and use that method consistently for future dispositions of the same asset.9Internal Revenue Service. Examining a Taxpayer Electing a Partial Disposition of a Building
The retention period runs well past the usual three-year audit window. The IRS requires you to keep records related to property until the statute of limitations expires for the year you dispose of it in a taxable transaction.11Internal Revenue Service. Topic No. 305 – Recordkeeping For a commercial building depreciated over 39 years, that means holding the original improvement records for four decades or more. Lose them, and calculating basis at sale becomes guesswork, which usually means paying more tax on the gain than you should.