When Is a Whole House Generator Tax Deductible?

A whole house generator is not tax deductible as an everyday personal expense. The IRS treats a permanently installed generator as a capital improvement, similar to a new roof or an addition, so the cost is added to your home’s tax basis rather than written off in the year you pay for it. A few specific situations change that answer: medical necessity, business use of the home, rental property installation, and financing through a home equity loan can each turn part or all of the cost into a deduction.

The Default Rule: It Raises Your Basis

A whole house generator adds value and extends the usefulness of your home, so its cost qualifies as a capital improvement. You cannot deduct it the year you install it. What you can do is add the full cost of the generator and its professional installation to your home’s adjusted basis, which starts with what you originally paid and grows with every qualifying improvement.

A higher basis lowers your taxable gain when you sell. Capital gains tax applies only to the difference between your sale price and your adjusted basis, so a $15,000 generator reduces a future gain by $15,000. Most homeowners never pay capital gains on their primary residence anyway. Federal law lets you exclude up to $250,000 of gain, or $500,000 on a joint return, as long as you owned and lived in the home for at least two of the five years before selling.1Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence The basis increase matters most for owners of higher-value properties whose gains would exceed those thresholds, or for owners who do not meet the ownership-and-use test.

When a Generator Counts as a Medical Expense

A generator can qualify as a deductible medical expense if it is medically necessary for someone in your household. The typical situation involves a family member who depends on electrically powered life-support equipment such as a ventilator, oxygen concentrator, or home dialysis machine. You need a physician’s written statement that uninterrupted power is essential for the patient’s health and safety.

Even with that documentation, the full cost is rarely deductible. IRS Publication 502 requires you to subtract the amount the improvement added to your home’s fair market value; only the remainder counts as a medical expense.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses If you spent $15,000 and a post-installation appraisal shows the home’s value went up by $12,000, only $3,000 is a medical expense. The other $12,000 goes to basis. If the generator adds no value to the home, the entire cost can be treated as a medical expense.

After that calculation, the ordinary medical-expense rules still apply. Only total medical costs exceeding 7.5% of your adjusted gross income are deductible, and you must itemize on Schedule A.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses The generator cost counts toward that threshold, but this route generally pays off only for households already carrying substantial medical bills.

Keep the physician’s letter, the installation invoice, and a professional appraisal showing the home’s value before and after the work. The appraisal is what supports the fair-market-value calculation the IRS expects.

Business Use of the Home

If you run a legitimate business from your home, a portion of the generator’s cost becomes a business expense. The deductible share matches the percentage of your home used exclusively and regularly for business. A 200-square-foot office in a 2,000-square-foot house means 10% of the generator cost is attributable to the business.

The business share is normally recovered through depreciation over several years under the Modified Accelerated Cost Recovery System. Two faster alternatives exist. Section 179 lets you deduct the full business portion in the year you place the generator in service, subject to an annual dollar cap that is adjusted for inflation.4Office of the Law Revision Counsel. 26 USC 179 – Election to Expense Certain Depreciable Business Assets Bonus depreciation is another first-year option; recent legislation restored 100% first-year bonus depreciation for qualified property, reversing the phase-down that had been in effect since 2023.5Internal Revenue Service. Treasury, IRS Issue Guidance on the Additional First Year Depreciation Deduction Amended as Part of the One Big Beautiful Bill Either way, the deduction is limited to the business-use percentage of the cost, and Section 179 cannot exceed your business income.

One trap: if you use the simplified home office method, which allows $5 per square foot up to 300 square feet, you cannot claim depreciation on the generator at all. The simplified method bundles everything into a flat deduction and specifically excludes separate depreciation claims.6Internal Revenue Service. Simplified Option for Home Office Deduction For a significant expense like a generator, the regular method almost always produces a larger deduction.

Generators on Rental Property

A generator installed on a property you rent to tenants receives much more favorable treatment. Because the whole property is used in a business activity, the entire cost qualifies as a depreciable asset instead of a percentage. You recover it through annual depreciation deductions reported on Schedule E alongside other rental expenses.

Section 179 and bonus depreciation are also available for rental property generators in many situations, allowing a full first-year deduction rather than a multi-year recovery. The same rules about qualified property and placed-in-service dates apply. If you own several rentals and are weighing generator installations, this is where the tax math works most clearly in your favor.

What Does Not Qualify

No Federal Clean Energy Credit

A conventional whole house generator running on natural gas, propane, or diesel does not qualify for any federal energy tax credit. The Residential Clean Energy Credit covers solar panels, wind turbines, geothermal heat pumps, fuel cells, and battery storage, not fossil-fuel generators.7Internal Revenue Service. Residential Clean Energy Credit The Energy Efficient Home Improvement Credit covers insulation, heat pumps, and energy audits, with no provision for backup generators.8Internal Revenue Service. Home Energy Tax Credits

If your generator is paired with a qualifying solar-plus-battery system, the solar and battery components may qualify for the clean energy credit on their own. The generator itself still gets nothing federally. Some states and utilities offer separate rebates for backup power equipment, so check locally.

No Casualty Loss for Prevention

Installing a generator to prevent future storm damage does not create a casualty loss deduction. The tax code allows casualty loss deductions only for property already damaged or destroyed, not for preventive measures. If you already own a generator and it is damaged or destroyed in a federally declared disaster, you can deduct the loss on Form 4684.9Internal Revenue Service. Instructions for Form 4684 Personal casualty losses from a federally declared disaster are reduced by $100 per event, and the total must exceed 10% of your AGI before any deduction applies. Qualified disaster losses drop the 10% AGI floor but raise the per-event reduction to $500.10Internal Revenue Service. Form 4684 – Casualties and Thefts

Interest on a Loan Used to Pay for It

If you finance the installation with a home equity loan or HELOC, the interest may be deductible. Under current rules, interest on home equity debt is deductible only when the funds are used to buy, build, or substantially improve the home that secures the loan.11Internal Revenue Service. Real Estate (Taxes, Mortgage Interest, Points, Other Property Expenses) A permanently installed whole house generator fits that definition as a capital improvement.

The deduction covers interest only, not principal, and your total home acquisition debt (original mortgage plus HELOC) cannot exceed $750,000, or $375,000 if married filing separately, for debt incurred after December 15, 2017.12Internal Revenue Service. Publication 936 (2025), Home Mortgage Interest Deduction You also have to itemize to claim it. Homeowners who already carry a large mortgage balance may find a personal loan more practical than a HELOC, since the interest ceiling could already be reached.

The Recapture Trap If You Depreciate

Claiming depreciation through a home office or rental property has a back-end cost. Selling the property triggers depreciation recapture: the IRS requires you to reduce your home’s basis by the total depreciation you took, or should have taken, which increases your taxable gain.13Internal Revenue Service. Depreciation and Recapture Recaptured depreciation on real property is taxed at a maximum rate of 25%, higher than the long-term capital gains rate most homeowners pay.

You save on the front end and pay some of it back when you sell. The net benefit is usually still positive because you got the deduction in earlier years and the recapture rate is capped, but it is worth factoring in if you plan to sell within a few years of installing the generator.

Records to Keep

Whether you claim a deduction now or add the cost to basis for a future sale, keep the same paperwork: the purchase contract, receipts for the generator and installation, cancelled checks or credit card statements, and any building permits. For a medical expense deduction, add the physician’s letter and the property appraisal. For a business deduction, keep records showing the square footage calculation and the generator’s role in your operations.

Hold onto everything for as long as you own the home, plus at least three years after filing the return for the year you sell. The IRS can audit within three years of filing, and basis disputes on home sales can surface long after the improvement was made.