The IRS rules on repairs and maintenance expenses turn on a single question: does the work keep your property in its current operating condition, or does it make the property better, longer-lived, or suited to a new use? Costs in the first bucket are deductible in the year you pay them. Costs in the second must be capitalized and recovered through depreciation. The classification drives your current-year tax bill, and the tangible property regulations lay out specific tests, definitions, and safe harbors that decide which bucket a given invoice lands in.
What Counts as a Deductible Repair
A repair keeps property in its ordinarily efficient operating condition. It doesn’t add meaningful value, extend the property’s useful life, or change what the property is used for. Repainting walls, patching a section of roof, fixing a broken window, and swapping a worn part for a comparable replacement are all repairs, deductible as ordinary business expenses in the year paid.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses
A capital improvement is different. The tax code bars an immediate deduction for permanent improvements or betterments that increase a property’s value, and for amounts spent restoring property.2Office of the Law Revision Counsel. 26 USC 263 – Capital Expenditures Instead, you add the cost to the property’s depreciable basis and recover it through annual depreciation.
The line looks simple stated abstractly. In practice, it’s one of the most frequently disputed issues on audit. Replacing a single compressor in a rooftop HVAC unit is almost certainly a repair. Replacing the whole HVAC system is almost certainly an improvement. The gray zone in between is where the IRS’s formal tests do their work.
Start With the Unit of Property
Before you can classify the work, you have to decide what you’re comparing it against. The IRS calls this the “unit of property.” The same invoice can be a deductible repair against one unit and a capitalized improvement against another, so getting this step right controls everything that follows.
For most tangible property, the unit of property is the entire functional asset. A delivery truck is one unit. A piece of manufacturing equipment is one unit.
Buildings are the exception, and it’s a big one. Under the tangible property regulations, a building splits into the building structure plus eight separate building systems, and each system is its own unit of property:3Internal Revenue Service. Tangible Property Final Regulations
- HVAC
- Plumbing
- Electrical
- Elevator
- Escalator
- Fire protection and alarm
- Gas distribution
- Security
You apply the improvement tests at the system level, not the whole-building level. Replacing every component of the fire alarm is a restoration of that system even though it’s a small fraction of the building’s total cost. That’s where owners who assume anything cheap relative to the building must be a repair get caught.
The Three Tests That Force Capitalization
The IRS uses three tests to decide when a cost must be capitalized. Triggering any one of them is enough. Apply each test to the relevant unit of property, or, for buildings, to the structure or the specific system affected.3Internal Revenue Service. Tangible Property Final Regulations
Betterment
A cost is a betterment if it fixes a defect that existed before you acquired the property, adds something materially new, or meaningfully increases the property’s capacity, productivity, efficiency, or strength. Replacing a standard water heater with a high-efficiency tankless unit is a betterment on efficiency grounds. Swapping a failing 15-year roof for a premium 40-year roof is a betterment on longevity grounds.
The pre-existing condition prong surprises people. If you buy a building knowing the plumbing is corroded and later replace it, that replacement is a betterment even if the new plumbing is ordinary. You were fixing a defect you acquired, not maintaining something that broke on your watch.
Adaptation
A cost must be capitalized if it adapts the property to a use that’s fundamentally different from what you were doing when you first placed it in service. Converting apartments into offices, turning a warehouse into a retail store, or retrofitting a factory for a different manufacturing process all trigger this test. Routine changes within the same general use don’t. Reworking a restaurant dining room to seat more customers is still restaurant use.
Restoration
The restoration test catches three situations: rebuilding property that has deteriorated to the point of non-functionality, restoring property after a casualty like a fire or flood, and, most commonly, replacing a major component or substantial structural part of the unit of property.
The major-component rule is where the test does most of its work. Replacing an entire HVAC system is replacing a major component of that building system and must be capitalized. Replacing a single condenser inside the system is typically a repair. If the replaced component represents a large percentage of the system’s total value or function, the IRS is more likely to treat the work as a restoration.
Safe Harbors That Let You Expense More
The tangible property regulations include three safe harbors that let you deduct costs that might otherwise fail the tests above. Each requires an affirmative election and has its own eligibility rules.
De Minimis Safe Harbor
This election lets you expense tangible property below a per-item or per-invoice dollar threshold regardless of whether it would technically be an improvement. If you have an applicable financial statement (an audited financial statement prepared by a CPA, for example), the threshold is $5,000 per item or invoice. If you don’t, the limit is $2,500.3Internal Revenue Service. Tangible Property Final Regulations4Internal Revenue Service. Notice 2015-82 – Increase in De Minimis Safe Harbor Limit for Taxpayers Without an Applicable Financial Statement
Two requirements trip owners up. First, you need a written accounting policy in place at the beginning of the tax year that says you expense items below the threshold. You can’t adopt it retroactively in March to cover a January purchase. Second, you must actually treat those amounts as expenses on your books, not just on the tax return.
To make the election, attach a statement titled “Section 1.263(a)-1(f) de minimis safe harbor election” to your timely filed return (including extensions), showing your name, address, taxpayer identification number, and a declaration that you’re making the election. It’s annual, so you repeat it every year you want the safe harbor.3Internal Revenue Service. Tangible Property Final Regulations
Routine Maintenance Safe Harbor
Recurring activities that keep property in working order qualify here, even if they involve replacing worn parts with comparable commercial replacements. For equipment and other non-building property, the activity just needs to be something you reasonably expect to perform more than once during the asset’s useful life. For buildings and building systems, the bar is tighter: you must reasonably expect to perform the maintenance more than once during the first ten years after the building or system is placed in service.5eCFR. 26 CFR 1.263(a)-3 – Amounts Paid to Improve Tangible Property
Inspecting, cleaning, and testing systems all qualify, along with replacing parts that wear out on a predictable cycle. The test looks at your expectations at the time the property was placed in service, informed by manufacturer recommendations, industry practice, and your own experience. If your original expectation was reasonable, the safe harbor still applies even if the work didn’t actually recur.
Small Taxpayer Safe Harbor
This is the broadest shortcut, and it can shelter amounts that would clearly be improvements under the betterment, adaptation, and restoration tests. To qualify, your average annual gross receipts over the three preceding tax years must be $10 million or less, and the building must have an unadjusted basis of $1 million or less.5eCFR. 26 CFR 1.263(a)-3 – Amounts Paid to Improve Tangible Property
If you meet both thresholds, you can deduct all repairs, maintenance, and improvements on that building as long as total spending during the year stays at or below the lesser of $10,000 or 2% of the building’s unadjusted basis. The limit is applied building by building, so a landlord with three eligible properties gets three separate buckets.5eCFR. 26 CFR 1.263(a)-3 – Amounts Paid to Improve Tangible Property
Watch the cliff. If total spending on a building exceeds the limit, you lose the safe harbor for that building entirely. You don’t just capitalize the excess. Every dollar reverts to normal treatment and runs through the full improvement analysis. For a building with a $400,000 basis, the 2% cap is $8,000, lower than the $10,000 alternative. Spending $8,001 blows the election for that property.
How Capitalized Costs Get Recovered
When a cost must be capitalized, you add it to the property’s depreciable basis and recover it under the Modified Accelerated Cost Recovery System (MACRS). Residential rental property depreciates over 27.5 years. Nonresidential real property, such as offices, retail buildings, and warehouses, depreciates over 39 years.6Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System Depreciation is reported on Form 4562.7Internal Revenue Service. About Form 4562, Depreciation and Amortization
Those are the default timelines. Two accelerated options can compress the recovery period significantly.
Qualified Improvement Property
Interior improvements to nonresidential buildings placed in service after the building itself was placed in service are classified as qualified improvement property (QIP) and assigned a 15-year recovery period rather than 39. Eligible work includes new interior walls, lighting, flooring, ceilings, and interior plumbing or electrical upgrades. Three categories are excluded: anything that enlarges the building’s footprint, elevators and escalators, and modifications to the building’s internal structural framework.6Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System
QIP applies only to commercial buildings. Improvements to apartment buildings and other residential rental property don’t qualify.
Bonus Depreciation and Section 179
Property with a MACRS recovery period of 20 years or less qualifies for bonus depreciation, which lets you deduct the full cost in the year the property is placed in service. Under current law, as amended by the One Big Beautiful Bill Act, 100% bonus depreciation applies to qualifying property acquired and placed in service after January 19, 2025.6Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System Because QIP is 15-year property, it qualifies. An interior office renovation that must be capitalized can still be fully deducted in the year placed in service.
Section 179 offers another path to an immediate write-off for many capitalized costs, including QIP. For 2026, the maximum Section 179 deduction is $2,560,000, with a phase-out that begins when total qualifying property placed in service exceeds $4,090,000. Section 179 is limited to your taxable income from active business operations, so it can’t create or increase a net loss. Bonus depreciation has no such income limit. For most small property owners whose improvement costs fall well within the Section 179 ceiling, either route produces a full first-year deduction.
Writing Off the Component You Replaced
When you replace a component of an asset and capitalize the new component, the old component still has undepreciated basis sitting on your books. Without action, that leftover basis keeps depreciating on its original schedule, even though the physical part is gone.
The partial asset disposition election lets you recognize the remaining basis of the replaced component as a loss in the year of replacement. No special statement is required. You record the disposition on your depreciation schedule and claim the loss on a timely filed return (including extensions) for the year the replacement occurs.
This matters most for building components. Replace a 15-year-old roof on a commercial building that depreciates over 39 years, and the old roof still has roughly 24 years of basis left. Without the election, that basis is stranded. With it, you deduct the remaining value immediately. It’s one of the most commonly missed deductions in commercial real estate.
Fixing Prior-Year Misclassifications
If you’ve been capitalizing costs that should have been expensed, or expensing costs that should have been capitalized, you don’t have to amend each affected prior-year return. Instead, you file Form 3115, Application for Change in Accounting Method, with the return for the year you want to make the correction.8Internal Revenue Service. Instructions for Form 3115 – Application for Change in Accounting Method
The IRS handles the correction through a Section 481(a) adjustment, which calculates the cumulative difference between what you actually deducted and what you should have deducted under the correct method. A negative adjustment (missed deductions in prior years) produces a full catch-up deduction in the year of change. A positive adjustment (excess deductions in prior years) is generally spread over four years.8Internal Revenue Service. Instructions for Form 3115 – Application for Change in Accounting Method
The most common scenario is a landlord who capitalized and depreciated costs that were actually deductible repairs. Form 3115 recaptures all the lost deductions in a single year. For properties held long enough to have accumulated multiple misclassifications, the catch-up deduction can be large. Many of these changes qualify for automatic consent, meaning no advance IRS approval and no user fee; the Form 3115 instructions list eligible automatic changes.
What Happens if You Get the Classification Wrong
Misclassifying a capital improvement as a current-year repair reduces taxable income by the full amount of the expense and creates an underpayment. The IRS can assess a 20% accuracy-related penalty on the resulting underpayment if it finds negligence or a substantial understatement of income.9Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments That penalty applies on top of the additional tax, and interest accrues on the underpayment from the original due date of the return.10Internal Revenue Service. Interest Rates Remain the Same for the First Quarter of 2026
The accuracy-related penalty doesn’t apply if you can show reasonable cause and good faith. In practice, that means documenting your reasoning at the time you made the classification: which of the three tests you considered, why you concluded the work was a repair, and which safe harbor election, if any, you relied on. Contemporaneous documentation is what separates a defensible position from a penalty exposure.
The opposite mistake, capitalizing a cost that should have been expensed, doesn’t trigger penalties. It just defers a deduction you were entitled to take now, and Form 3115 is the tool to recover it.