The IRS rules on repairs and maintenance expense turn on a single question: did the work keep your property in its existing condition, or did it make the property meaningfully better, longer-lived, or different? Costs that maintain what you already have are deductible in the year you pay them. Costs that improve the property must be capitalized and recovered through depreciation. The timing difference can swing a current-year tax bill by thousands of dollars.
What Counts as a Repair and What Counts as an Improvement
A deductible repair keeps property in its ordinarily efficient operating condition without adding meaningful value, extending its life, or changing what it’s used for. Repainting walls, patching a section of roof, fixing a broken window, and swapping a worn part for a comparable replacement are repairs you can write off in the year of payment.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses
A capital improvement makes the property more valuable, more productive, or suited for a different purpose. 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 You add the cost to the property’s depreciable basis and recover it through annual depreciation deductions.
Replacing a single compressor on a rooftop HVAC unit is almost certainly a deductible repair. Replacing the whole HVAC system is almost certainly an improvement. The gray zone between those extremes is enormous, and that’s where the formal IRS tests do the work.
Know Your Unit of Property First
Before you can call something a repair or an improvement, you have to know what you’re comparing it against. The IRS calls this the unit of property, and the same expenditure can be a repair when measured against one unit and a capitalizable improvement when measured against another.
For most tangible property, the unit of property is the entire functional asset. A delivery truck or a piece of manufacturing equipment is one unit.
Buildings are the exception. Under the tangible property regulations, a building is split into the building structure plus eight separate building systems:3Internal Revenue Service. Tangible Property Final Regulations
- HVAC
- Plumbing
- Electrical
- Elevator
- Escalator
- Fire protection and alarm
- Gas distribution
- Security
Each system is its own unit of property. You apply the improvement tests at the system level, not the whole-building level. Replacing every component of the fire alarm system is a restoration of that system, even though it’s a small fraction of the building’s total value. That system-level framing is where the IRS catches owners who assume anything small relative to the building must be a repair.
The Three Tests That Force Capitalization
The IRS uses three tests to decide whether a cost must be capitalized. If an expenditure triggers any one of them, it’s an improvement regardless of the other two. You apply each test to the relevant unit of property, or for buildings, to the structure or the specific building system affected.3Internal Revenue Service. Tangible Property Final Regulations
Betterment
A cost is a betterment if it fixes a condition that existed before you acquired the property, adds something materially new, or increases the property’s capacity, productivity, efficiency, or strength in a meaningful way. Swapping a standard water heater for a high-efficiency tankless system is a betterment. Replacing a failing 15-year roof with a premium 40-year roof is a betterment because of the dramatic upgrade in longevity.
The pre-existing condition prong catches people off guard. If you buy a building knowing the plumbing is corroded and then replace it, that replacement is a betterment even if the new plumbing is perfectly ordinary. You fixed a defect you acquired rather than maintained something that broke on your watch.
Adaptation
A cost must be capitalized if it adapts the property to a use fundamentally different from what you were doing when you first placed it in service. Converting an apartment building into office space, turning a warehouse into a retail store, or retrofitting a factory floor for a different manufacturing process all qualify. Routine changes within the same general use don’t count; renovating 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 no longer being functional, restoring property after a casualty like a fire or flood, and replacing a major component or substantial structural part of the unit of property.
The major-component rule does most of the work here. Replacing an entire HVAC system is a restoration of that building system. Replacing a single condenser or compressor within it is typically a repair. If the component you’re replacing represents a large percentage of the system’s value or function, the IRS is more likely to treat the work as a restoration.
Safe Harbors That Let You Expense More
Three safe harbors in the tangible property regulations let you deduct costs that might otherwise fail the formal tests. Each requires an affirmative election, and each 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 the item 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. Without one, 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 people 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 the policy retroactively in March to cover a January purchase. Second, you must treat those amounts as expenses on your books and records, not only on your 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) for each year you want to use it. The statement needs your name, address, taxpayer identification number, and a declaration that you’re making the election. It’s an annual election, so you repeat it every year.3Internal Revenue Service. Tangible Property Final Regulations
Routine Maintenance Safe Harbor
Recurring work that keeps property in operating condition qualifies here, even when it means replacing worn parts with comparable commercial replacements. For equipment and other non-building property, you must reasonably expect to perform the activity 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 building systems fall here, along with replacing parts that wear on a predictable cycle. The test looks at your expectations when the property was placed in service, factoring in manufacturer recommendations, industry practice, and your own experience with similar property. If your expectation was reasonable at the time, the safe harbor still applies even if circumstances later changed and the work didn’t recur.
Small Taxpayer Safe Harbor
This is the broadest shortcut and 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 the total you spend during the year doesn’t exceed the lesser of $10,000 or 2% of the building’s unadjusted basis. The limit applies 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, not just the excess. Every dollar reverts to normal treatment and must run through the full improvement analysis. For a building with a $400,000 basis, the 2% cap is $8,000, which is lower than the $10,000 cap. Spending $8,001 blows the election for that property.
When You Must Capitalize: How the Cost Comes Back
Capitalized improvements get added to the property’s depreciable basis and are recovered through depreciation under the Modified Accelerated Cost Recovery System (MACRS). Residential rental property depreciates over 27.5 years. Nonresidential real property (offices, retail buildings, warehouses) depreciates over 39 years.6Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System You report depreciation on Form 4562.7Internal Revenue Service. About Form 4562, Depreciation and Amortization
Those are the defaults. Two accelerated options can compress the recovery period dramatically.
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 instead of 39 years. Eligible work includes new interior walls, lighting, flooring, ceiling systems, 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 only applies to commercial buildings; improvements to apartment buildings and other residential rental property don’t qualify.
100% Bonus Depreciation
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 it’s placed in service, rather than spread over 39 years. You can elect out of bonus depreciation for an entire class of property in a given year if spreading the deduction serves you better.
Section 179 Expensing
Section 179 offers another path to an immediate write-off for certain capitalized costs, including many building improvements that qualify as 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. Unlike bonus depreciation, Section 179 is capped at your taxable income from active business operations, so it can’t create or increase a net loss. For most small property owners whose improvement costs fall well within the ceiling, the practical result is the same either way: a full deduction in year one.
Writing Off the Component You Replaced
One of the most underused provisions in the tangible property regulations is the partial asset disposition election. When you replace a component of an asset and capitalize the new one, the old component still has undepreciated basis on your books. Without action, that leftover basis keeps depreciating on its original schedule even though the physical component is gone.
The partial disposition election lets you recognize the remaining basis of the old component as a loss in the year you replace it. No special statement is required; you record the disposition on your depreciation schedule and claim the loss. The election must be made 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 depreciating over 39 years, and the old roof has roughly 24 years of basis left. Without the election, that basis is stranded. With it, you write the remaining value off immediately. Forgetting this step is one of the most common missed deductions in commercial real estate.
Fixing Past Misclassifications With Form 3115
If you’ve been capitalizing costs that should have been expensed, or expensing costs that should have been capitalized, you don’t amend every affected prior-year return. 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 deducted and what the correct method would have produced. If the correction gives you a missed deduction (a negative adjustment, meaning you underclaimed), you take the full catch-up in the year of change. If the correction creates additional income (a positive adjustment, meaning you overclaimed), the adjustment is generally spread over four years.8Internal Revenue Service. Instructions for Form 3115 – Application for Change in Accounting Method
The common scenario is a landlord who capitalized and depreciated costs that were actually deductible repairs. Form 3115 lets you recapture all the lost deductions in a single year. For properties held a long time with repeated misclassifications, the catch-up can be substantial. Many of these changes qualify for automatic consent procedures, which means no advance IRS approval and no user fee. The Form 3115 instructions list the eligible automatic changes.
Penalties for Getting the Classification Wrong
Treating a capital improvement as a current-year repair reduces taxable income by the full amount and creates an underpayment of tax. The IRS can assess a 20% accuracy-related penalty on the 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 sits on top of the additional tax owed. Interest also accrues from the original due date of the return. For the first quarter of 2026, the IRS charges 7% interest on individual underpayments, compounded daily.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 of the classification: which test you considered, why you concluded the work was a repair, and which safe harbor election you relied on. Taxpayers who apply the tangible property regulations consistently and keep contemporaneous records are in a much stronger position than those who expense everything and hope for the best.
The opposite mistake, capitalizing a cost that should have been expensed, carries no penalty. It still costs you money, because you defer a deduction you were entitled to take now. That’s exactly where Form 3115 comes in to recover the lost benefit.