What Are Capital Improvements? IRS Test, Examples, and Basis

A capital improvement is a permanent change to real property that adds value, extends its useful life, or adapts it to a new use. Under federal tax rules, capital improvements are not deducted in the year you pay for them. Instead, their cost is added to your property’s tax basis, which lowers your taxable gain when you sell. For a homeowner with significant appreciation, or a landlord depreciating a building, that distinction can be worth thousands.

The Three-Part Test the IRS Uses

Treasury regulations sort qualifying work into three buckets. If an expenditure fits any one of them, it gets capitalized rather than deducted as a current expense.

Betterments

A betterment fixes a pre-existing defect, physically enlarges the property, or meaningfully increases its capacity, efficiency, or quality. Adding a second story is a betterment. So is upgrading a 100-amp electrical panel to a 200-amp system, because the new panel handles more load than the original ever could. The test is whether the property is measurably better than before, not merely restored to working order.

Restorations

A restoration replaces a major component or brings property back to a functional state after deterioration or damage. Replacing an entire roof qualifies. Rebuilding a foundation after storm damage qualifies. Patching a few shingles after a wind event is a repair; replacing the whole roof deck and covering is a restoration.

Adaptations

An adaptation changes property to a use inconsistent with its original purpose. Converting a residential garage into commercial retail space qualifies. So does finishing a raw basement into a rental apartment with its own kitchen and entrance. The question is whether the space now serves a fundamentally different function than it did when you acquired the property.

Repair or Improvement? Where Homeowners Get Tripped Up

This is where the most money is at stake, and where the line gets blurry. A repair keeps property in its current condition. An improvement makes it better, restores a major component, or changes its use.

The IRS evaluates each expenditure against the specific building system it affects, not the building as a whole. The regulations identify nine such systems, each analyzed separately: the structure itself, plumbing, electrical, HVAC, elevators, escalators, fire protection and alarm, gas distribution, and security. Replacing one component within a system might be a repair; replacing the entire system is almost certainly an improvement.

Replacing a single section of corroded copper pipe under a bathroom sink is a repair to the plumbing system. Replacing all the galvanized supply lines throughout the house with PEX is a restoration of the plumbing system and gets capitalized. The regulation draws the line at whether you replaced a “major component or substantial structural part” of the relevant system.

When you are unsure, three factors help. How much of the system did you replace, a fraction or most of it? Did the work make the system function better than its original design, or just keep it running? Is this a recurring activity you would expect to perform periodically, or a once-in-the-life-of-the-building event? Recurring upkeep leans repair. A one-time overhaul leans improvement.

One more wrinkle: an individual repair can become part of an improvement when it is bundled into a larger project. Replacing a broken windowpane by itself is a repair. Replacing that same window as part of a project to replace every window in the house counts as an improvement to the building envelope.

Common Examples of Capital Improvements

IRS Publication 523 groups qualifying improvements for homeowners into several categories:

  • Additions: new bedrooms, bathrooms, decks, garages, porches, and patios.
  • Lawn and grounds: landscaping, driveways, walkways, fences, retaining walls, and swimming pools.
  • Building systems: heating systems, central air conditioning, ductwork, plumbing, wiring, security systems, and lawn sprinkler systems.
  • Exterior: new roofing, siding, storm windows and doors, satellite dishes, and insulation.
  • Interior: kitchen modernization, built-in appliances, flooring, wall-to-wall carpeting, and fireplaces.

Routine maintenance sits on the other side of the line. Repainting rooms, fixing a leaky faucet, or replacing a broken door handle keeps the property running but does not qualify.

How Capital Improvements Raise Your Basis

Your property’s adjusted basis starts with what you paid for it, including qualifying closing costs like title insurance, transfer taxes, and legal fees. Each capital improvement you complete gets added to that number. When you sell, your taxable gain is the sale price minus your adjusted basis and selling expenses like real estate commissions.

A worked example. You buy a home for $350,000, paying $6,000 in qualifying closing costs, for an initial basis of $356,000. Over the years you spend $40,000 on a kitchen renovation, $15,000 on a new roof, and $8,000 on a central air system. Your adjusted basis is now $419,000. If you sell for $600,000 and pay $36,000 in commissions, your gain is $600,000 minus $419,000 minus $36,000, or $145,000.

Inflating basis with non-qualifying expenses is risky. Understating gain that way can trigger an accuracy-related penalty of 20% of the underpayment.

The Home Sale Exclusion and Why Basis Still Matters

Most homeowners selling a primary residence can exclude up to $250,000 of gain from income, or $500,000 for married couples filing jointly. To qualify, you must have owned and used the home as your main residence for at least two of the five years before the sale.

If your gain fits within those limits, basis has no immediate tax consequence, because the whole gain is excluded anyway. But in high-appreciation markets the gain can easily exceed the exclusion. A couple who bought for $300,000 in 2005 and sells for $900,000 has a $600,000 gain before adjustments. Without documented improvements, they would owe tax on $100,000. If they can show $80,000 in qualifying improvements over those years, adjusted basis rises to $380,000, gain drops to $520,000, and the taxable amount is only $20,000.

Even homeowners who assume the exclusion will cover everything should track improvements. Values change, plans change, and not everyone meets the two-out-of-five-year use requirement when they sell. Keeping records costs nothing; reconstructing them years later is painful and sometimes impossible.

Rental and Investment Property: Different Rules

If the property is a rental, the safe harbors and personal-residence math above do not carry over cleanly. Improvements to rental property must be depreciated, and depreciation reduces your basis over time.

Depreciation and Recapture

Residential rental improvements are depreciated over 27.5 years. Each year’s deduction lowers your adjusted basis. When you sell, the total depreciation you claimed (or were allowed to claim, even if you forgot to take it) gets recaptured and taxed at a rate of up to 25%. Recapture applies on top of whatever long-term capital gains rate covers the remaining profit.

Skipping depreciation deductions does not avoid recapture. The IRS calculates it based on the depreciation you were entitled to take, whether or not you actually claimed it. There is no upside to leaving depreciation on the table.

Safe Harbors for Business and Rental Property

The tangible property regulations offer three safe harbors that simplify the repair-versus-improvement call for taxpayers using property in a trade or business:

  • De minimis safe harbor. Without audited financial statements, you can expense items costing $2,500 or less per invoice. With audited statements, the limit is $5,000. Elected annually on your return.
  • Routine maintenance safe harbor. Recurring activities you reasonably expect to perform more than once during a 10-year period for buildings can be deducted as repairs. The activity must keep the property in its ordinary operating condition, not upgrade it.
  • Small taxpayer safe harbor. If your building has an unadjusted basis of $1 million or less and your total annual repair and improvement costs do not exceed the lesser of $10,000 or 2% of the building’s unadjusted basis, you can deduct everything rather than sorting expenses into repair and improvement buckets.

These elections are not available for personal-use property, including your primary home. They apply to rental property, business property, and property held for the production of income.

Energy Credits Reduce Your Basis

Installing solar panels, geothermal heat pumps, battery storage, or other qualifying clean energy systems can earn the residential clean energy credit under Section 25D, at 30% of the cost of qualifying property.

The catch: claiming the credit reduces your basis by the credit amount. Spend $30,000 on solar and claim a $9,000 credit, and only $21,000 gets added to your home’s basis. That is still a net win, since $9,000 in credit is worth far more than the eventual tax savings from a higher basis, but you have to account for it when calculating adjusted basis at sale.

Medical-Related Improvements

Some capital improvements serve a medical purpose: a wheelchair ramp, widened doorways, grab bars, accessible bathroom fixtures. These can potentially be deducted as medical expenses on Schedule A, but the deductible amount is limited to the cost of the improvement minus any increase in property value.

If a $10,000 wheelchair ramp adds $4,000 to your home’s market value, only $6,000 qualifies as a medical expense (subject to the 7.5% AGI floor). The remaining $4,000 gets added to your basis as a capital improvement. Some modifications, like grab bars, typically do not increase property value at all, so the full cost may qualify as a medical expense. The portion you actually deduct as a medical expense does not also get added to basis.

Records to Keep

Documenting improvements is easy in the moment and miserable to reconstruct later. For each project, keep the contractor’s itemized invoice showing work performed and materials used, plus proof of payment such as canceled checks or card statements. Building permits and inspection records add another layer of verification and help establish that the work was permanent rather than cosmetic.

Organize records by project and year. The IRS requires you to keep property records until the statute of limitations expires for the tax year in which you sell or dispose of the property. Publication 523 puts this at three years after the due date of the return for the year you sold. In practice, hold records for the entire time you own the property plus roughly three to four years after you sell.

Homeowners who fail to keep records are not out of options, but the burden shifts to them to prove basis through permit records from local building departments, contractor business records, or before-and-after appraisals. None of those are as clean as an invoice you filed the week the work was done.