When Do You Capitalize Repairs and Maintenance? The Three IRS Tests
Short answer: Capitalize repairs and maintenance that better, restore, or adapt property to a new use. Deduct routine upkeep in the current year. Sort repair invoices by building and machine, and ask Cooper Norman’s Idaho and Utah tax team to review them before you file.
The roof that leaked last spring turns up at tax time as an invoice in a folder. The tax answer depends on the work that invoice describes. A patch over the leak is upkeep, deducted on that year’s return. If the roofer replaced the whole roof, decking and all, that cost is generally capitalized, and the invoice moves out of the repairs folder and onto the building’s depreciation schedule.
Can repairs be capitalized?
Yes, and some must be. A repair that only keeps property in working order is deducted in the current year. Work that betters, restores, or adapts the property has to be capitalized under IRS rules. Getting the split right keeps your return in line with those rules and sets the year each deduction lands.
What does it mean to capitalize a repair?
Capitalizing a repair means adding its cost to the asset’s basis, the tax cost you recover through depreciation. You deduct it a piece at a time over the asset’s recovery period, in place of one deduction this year.
What are the three IRS tests?
The IRS tangible property regulations (TPR) sort work on buildings and equipment into repair expenses you deduct and improvements you capitalize. The work is an improvement if it meets any one of three tests:
- Betterments
Work that makes the asset better than it was, such as more capacity, efficiency, or strength.
Example: Reinforcing a building’s foundation to carry more weight. - Restorations
Work that restores an asset after major damage or wear, or returns it to working order after it was out of service.
Example: Replacing the entire roof of a commercial building after storm damage. - Adaptations
Work that changes the asset to a new or different use.
Example: Converting a retail space into an office building.
When can you deduct a repair?
You deduct a repair in the current year when the work:
- Keeps the asset in its ordinary working condition without improving it.
- Is routine upkeep the asset needs to keep running.
Examples of deductible repairs:
- Patching a leaky roof.
- Fixing a broken window.
- Painting to address normal wear and tear.
What is the small taxpayer safe harbor?
A safe harbor is a rule the IRS accepts if you meet its conditions. This one lets a smaller business deduct all repair, maintenance, and improvement costs on one building in the current year. To qualify:
- Your average annual gross receipts over the last three years must not exceed $10 million.
- The building must have an unadjusted basis of $1 million or less.
- Your total spending that year on repairs, maintenance, improvements, and similar work on the building is capped. The cap is the lesser of $10,000 or 2% of its unadjusted basis. Amounts deducted under the other safe harbors count toward that total.
You elect it each year, building by building, on your timely filed return.
Which IRS safe harbor lets you deduct the cost?
The IRS tangible property regulations offer three safe harbors, a materials and supplies rule, and one election that works the other way. Each has its own limit and its own paperwork.
| Rule | What it covers | Limit | How you use it |
|---|---|---|---|
| De minimis safe harbor | Items or invoice lines you expense on your books | $2,500 per item or invoice. $5,000 if you have an applicable financial statement. | Elect each year with a statement on your timely filed return |
| Routine maintenance safe harbor | Recurring upkeep that keeps property in normal operating condition, including some part replacements | Buildings: you expect to do it more than once in the 10 years after the building structure or system is placed in service. Other property: more than once during its class life. Never covers betterments. | No yearly election. It is an accounting method; switching to it uses Form 3115. |
| Small taxpayer safe harbor | All repairs, maintenance, and improvements on one building | Average gross receipts of $10 million or less, building basis of $1 million or less, and yearly repair, maintenance, and improvement spending on the building no more than the lesser of 2% of basis or $10,000 | Elect each year, building by building, with a statement on your timely filed return |
| Materials and supplies | Spare parts bought to repair or maintain property, fuel and similar items, and items that cost $200 or less or last 12 months or less | $200 per item for the cost test | Deduct when used or consumed (incidental supplies when paid) |
| Election to capitalize repairs | Repair costs you already capitalize on your books | Must cover all such costs for the year | Elect each year with a statement on your timely filed return |
What must the election statements say?
Each annual election is a statement attached to your timely filed original federal return, including extensions, for the year you pay the costs. The regulations set the title:
- Section 1.263(a)-1(f) de minimis safe harbor election
- Section 1.263(a)-3(h) Safe Harbor Election for Small Taxpayers, with a description of each building it covers
- Section 1.263(a)-3(n) Election, to capitalize repair and maintenance costs
An S corporation or partnership makes these elections itself, on its own return. They are not accounting method changes, so you do not file Form 3115 to make or stop them. You cannot make any of these three elections on an amended return unless the IRS first consents to a late election.
Which limits trip owners up?
- The small taxpayer cap counts all building work. Amounts you deduct under the de minimis and routine maintenance safe harbors still count toward the $10,000 or 2% cap for that building.
- Going over the cap ends the safe harbor for that building for the year. You then apply the normal improvement rules, including the routine maintenance safe harbor.
- An audit can raise your de minimis limit. CPA-audited financial statements used for a loan, for owners, or another substantial non-tax purpose count as an applicable financial statement. That allows the $5,000 limit. Your expensing procedures must then be written.
- Without audited statements, you still need procedures. At the start of the year, you must have accounting procedures that expense items under a set dollar amount. You must also expense them on your books.
Why does the choice matter?
Capitalizing or expensing a repair changes your taxes in three ways:
- Timing: a repair expense is deducted in full in the current year. A capitalized cost is deducted over several years or longer.
- Exam risk: treating an improvement as a repair can lead to an IRS adjustment, with interest and possibly penalties.
- Matching your books: some businesses prefer to capitalize repairs the way their books do, which is what the election to capitalize repairs allows.
What should you ask about each job?
Ask three questions about each job:
- Purpose: does the work keep the asset running, or make it better than it was?
- Scale: small fixes are usually deductible. Replacing a major component or overhauling the asset usually means capitalizing.
- Unit of property: for a building, test the work against the system it touches, such as the roof or the HVAC system (examples below).
- Machinery Maintenance:
- Deductible Repair: Replacing a few worn-out belts in a conveyor system.
- Capitalized Improvement: Upgrading the system with new automation that increases output.
- Building Repairs:
- Deductible Repair: Replacing cracked tiles on a floor.
- Capitalized Improvement: Replacing the floor with a heavier one built to carry more weight.
Is it a repair or an improvement? Examples from the IRS rules
For a building, the IRS does not test the whole building at once. It tests the building structure and each building system on its own. Building systems include plumbing, electrical, HVAC, fire protection and alarm, gas distribution, and security. Work that betters or restores one system is capitalized even if the building as a whole looks the same.
| Work | Treatment | Why | Where it comes from |
|---|---|---|---|
| Replace the entire roof, including the decking | Capitalize | The roof is a major component and a substantial structural part of the building structure, so this is a restoration | Treas. Reg. 1.263(a)-3(k)(7), Example 14 |
| Replace a worn roof membrane with a comparable one | Not a restoration | The membrane alone is not a significant portion of the roof | Example 15 |
| Replace one of three furnaces in a medical office | Not a restoration | One furnace is not a significant portion of the system’s heating component | Example 16 |
| Replace the building’s only chiller | Capitalize | The chiller is a major component of the HVAC system | Example 17 |
| Replace 3 of 10 rooftop heating and cooling units | Not a restoration | Three units are not a significant portion of that major component | Example 18 |
| Add expansion bolts that anchor the frame to the foundation | Capitalize | A betterment: it increases the strength of the building structure | IRS tangible property regulations FAQ |
| Paint walls and refinish floors to get a building ready to sell | Not an adaptation | Preparing to sell is not a new or different use | IRS tangible property regulations FAQ |
Replacing a part you capitalize? A partial disposition election lets you deduct the remaining basis of the old part, such as the old roof. You take that deduction on the return for the year you dispose of it (Treas. Reg. 1.168(i)-8(d)). If you deduct a loss on the old part, the cost of its replacement must be capitalized.
Buying equipment instead of fixing it? See Section 179 vs. bonus depreciation, and for a building you own, cost segregation.
Key terms
- Capitalize: add a cost to the asset’s basis and recover it through depreciation over time.
- Unit of property: what the improvement rules test. For a building, that is the building structure and each building system, tested on its own. For other property, it is all components that are functionally interdependent.
- Betterment: work that fixes a defect that existed before you acquired the property, or adds to or enlarges it. It also covers work that materially increases its capacity, productivity, efficiency, strength, quality, or output.
- Restoration: work that replaces a major component or substantial structural part, or a part you sold or deducted a loss on. It also covers rebuilding to like-new condition after the class life, returning broken-down property to working order, and repairing casualty damage after a basis adjustment.
- Adaptation: work that converts property to a use that does not match its ordinary use when you placed it in service.
- Applicable financial statement (AFS): a statement filed with the SEC. A CPA-certified audited statement used for credit, owner reporting, or another substantial non-tax purpose also counts. So does a statement required by a federal or state agency other than the SEC or IRS.
- Class life: the recovery period under the alternative depreciation system in section 168(g). IRS Publication 946, Appendix B, lists class lives.
Frequently asked questions
When do I have to capitalize a repair instead of expensing it?
Under the IRS tangible property regulations, you must capitalize an expenditure that materially improves the property. The three triggers are a betterment that enhances the property, a restoration that returns a worn asset to new condition, or an adaptation to a new use. Routine repairs that keep property in its original working condition stay as current-year expenses on your return.
What is the safe-harbor threshold for small businesses?
The de minimis safe harbor lets a business deduct items costing up to $2,500 per invoice line or per item without capitalizing them. You need accounting procedures in place at the start of the tax year that expense those items on your books. Businesses with an applicable financial statement, such as CPA-audited statements used for a loan, can use a $5,000 threshold, and their procedures must be written. The election is made annually on your return.
Does painting a rental property have to be capitalized?
Usually not. Routine interior or exterior painting of a rental property is generally a currently deductible repair. During a larger renovation, you capitalize painting only if it directly benefits or is incurred because of the capital work. Patching and repainting walls opened up for an electrical upgrade is one example. Painting that does not benefit the improvement can still be deducted, even if it happens at the same time (Treas. Reg. 1.263(a)-3(g)(1)).
How are HVAC repairs treated for tax purposes?
For a building, the IRS tests HVAC work against the whole HVAC system. In the IRS examples, replacing one of three furnaces, or 3 of 10 rooftop units, is not a restoration. Replacing the building’s only chiller is a restoration, because the chiller is a major component of the system, so that cost is capitalized. Work that betters the system, such as a material efficiency gain, is also capitalized.
Can I use Section 179 or bonus depreciation on capitalized improvements?
Yes for qualifying property. Section 179 covers tangible personal property and certain improvements to nonresidential real property, with an annual expensing limit. Bonus depreciation can apply to new or used property with a recovery period of 20 years or less. Which one fits depends on your facts, so compare both before you file.
Is there an election to capitalize repair and maintenance costs?
Yes. Under Treas. Reg. 1.263(a)-3(n), you can elect to treat repair and maintenance costs as improvements and depreciate them, if you capitalize those costs on your books. The election is annual, covers every such cost you capitalize on your books that year, and is made with a statement titled Section 1.263(a)-3(n) Election on your timely filed return.
What is the routine maintenance safe harbor?
It treats recurring upkeep as not improving the property, so you can deduct it. For buildings, you must expect to do the work more than once in the 10 years after the building structure or system is placed in service. For other property, more than once during its class life. It can cover replacing a major component, but never a betterment.
Do I need a written policy to use the $2,500 de minimis safe harbor?
Not a written one, if you have no applicable financial statement. You need accounting procedures in place at the start of the year that expense items under a set dollar amount, and you must expense them on your books. Written procedures are required for the $5,000 limit, which is only for businesses with an applicable financial statement, such as CPA-audited statements used for a loan.
Does the small taxpayer safe harbor’s $10,000 limit include other repairs?
Yes. The cap counts all repairs, maintenance, and improvements on that building for the year, including amounts deducted under the de minimis and routine maintenance safe harbors. If the total goes over the lesser of $10,000 or 2% of the building’s unadjusted basis, the safe harbor is not available for that building that year.
Can I write off the old roof when I capitalize a new one?
Often, yes. A partial disposition election under Treas. Reg. 1.168(i)-8(d) lets you deduct the remaining basis of the replaced part on the return for the year you dispose of it. Make it by that return’s due date, including extensions. Once you deduct a loss on the old part, its replacement must be capitalized.
How much can a business expense under Section 179 in 2026?
For tax years beginning in 2026, the Section 179 limit is $2,560,000. It drops dollar for dollar once the cost of Section 179 property placed in service that year passes $4,090,000 (IRS Rev. Proc. 2025-32). Separately, bonus depreciation is a permanent 100% for qualified property acquired and placed in service after January 19, 2025 (IRS Notice 2026-11).
Do I file Form 3115 to use these safe harbors?
Not for the annual elections. The de minimis, small taxpayer, and capitalize-repairs elections are not accounting method changes, so no Form 3115 is needed. Changing how you treat repairs in general, such as moving to the routine maintenance safe harbor, is a method change and uses Form 3115 with a section 481(a) adjustment.
Sources checked November 5, 2026:
- IRS, Tangible Property Final Regulations FAQ (page last reviewed 04-Aug-2026)
- Treas. Reg. 1.263(a)-1 (eCFR)
- Treas. Reg. 1.263(a)-3 (eCFR)
- Treas. Reg. 1.162-3 (eCFR)
- Treas. Reg. 1.168(i)-8 (eCFR)
- IRS Notice 2015-82 (de minimis safe harbor threshold)
- IRS Publication 946, Appendix B (class lives)
- IRS Rev. Proc. 2025-32 (2026 inflation adjustments)
- IRS Notice 2026-11 (section 168(k) interim guidance)
Not sure whether a repair should be capitalized or expensed? Cooper Norman’s tax planning team in Idaho and Utah can go through this year’s repair and improvement invoices with you before you file. The safe harbor elections are made on that return. Send us your question, and someone from our tax team will call or write back.
This article is general information, not tax, legal, or accounting advice for your situation.