This article is provided for educational and informational purposes only. It does not constitute legal, financial, or tax advice, and no attorney-client relationship is formed by reading it. Laws, regulations, official guidance, and related information vary by jurisdiction, change frequently, and may have changed or become outdated since the publication date. Always verify current information with authoritative sources and consult a qualified professional about your specific circumstances. The author and publisher assume no liability for actions taken based on this information.
- The basic federal gain calculation
- Starting basis usually reflects acquisition cost
- Improvements increase basis when they remain part of the home
- Basis can decrease as well as increase
- The mortgage payoff is not part of basis
- Gifted and inherited homes start differently
- Adjusted basis and the home-sale exclusion do different jobs
- Records connect each adjustment to the property
- A compact adjusted-basis example
- Sources
Key Facts
- Federal level: The adjusted basis of a home sold is generally its starting basis, usually acquisition cost, increased and decreased by adjustments required under federal tax law.
- Federal level: Gain generally equals the amount realized on the sale minus adjusted basis, so a higher properly documented basis ordinarily reduces the calculated gain.
- Federal level: Capital improvements can increase basis, while ordinary maintenance and repairs generally do not unless they are part of a larger qualifying improvement.
- Federal level: Depreciation allowed or allowable for rental or business use generally reduces basis even if the deduction was not actually claimed.
- Federal level: Paying off a mortgage at closing does not reduce the home’s basis or, by itself, reduce sale gain.
- Federal level: A principal-residence exclusion may remove qualifying gain from income, but adjusted basis is calculated before determining how much gain qualifies for exclusion.
- Federal level: Gifted and inherited homes can begin with special basis rules rather than the recipient’s purchase cost.
Adjusted basis is the federal tax measure of the owner’s investment in a home at the time of sale. It is not necessarily the purchase price, current market value, mortgage balance, or amount of cash left after closing. Instead, it begins with the basis assigned when the home was acquired and changes as legally recognized events occur.
The number matters because federal gain generally is the amount realized from the sale minus adjusted basis. An accurate basis calculation does not create a deduction for every dollar spent on a house. It identifies which acquisition costs, improvements, reimbursements, depreciation, and other adjustments belong in the federal gain calculation.
The basic federal gain calculation
Federal law starts with the amount realized. In ordinary terms, that generally includes money and the fair market value of other property received in the sale, subject to specific adjustments. IRS home-sale guidance commonly expresses the calculation as selling price minus selling expenses to reach amount realized.
Adjusted basis is then subtracted from amount realized. A positive difference is gain; a negative difference is loss. A loss on a home used as a personal residence generally is not deductible, even though the arithmetic still helps determine that the sale produced a loss.
This calculation comes before the separate question whether some or all gain can be excluded under the principal-residence rule. The broader federal tax rules for selling a primary residence explain that exclusion layer.
Starting basis usually reflects acquisition cost
For a purchased home, basis generally starts with cost. Cost includes the cash paid and debt used to acquire the property; financing the purchase does not limit basis to the down payment. This is why the unpaid mortgage balance is not a substitute for adjusted basis.
Certain settlement and closing charges connected with acquiring the property can enter basis. Examples in IRS guidance include some abstract, recording, survey, transfer-tax, title-insurance, and legal charges associated with the purchase. Costs that are currently deductible, loan-acquisition costs, fire-insurance premiums, rent for occupancy before closing, and ordinary utilities generally do not become home basis merely because they appear on a settlement statement.
The distinction also explains why which closing costs may receive tax treatment is a different question from whether a purchase cost is capitalized into basis.
Improvements increase basis when they remain part of the home
A capital improvement generally adds value, considerably prolongs useful life, or adapts the home to a new use. Common examples include an addition, a complete roof replacement, rewiring, central air conditioning, and a paved driveway. The cost generally increases basis while the improvement remains part of the property.
Ordinary repairs and maintenance generally preserve the home rather than add to basis. Painting a room, fixing a leak, or replacing a small broken component ordinarily does not qualify by itself. A repair can be included when it is an integral part of a larger remodeling or restoration project that qualifies as an improvement.
An improvement that has been removed or replaced and is no longer part of the home generally cannot remain in adjusted basis. If an old roof was already included and later replaced, retaining both complete roof costs would overstate the owner’s investment. The separate discussion of the tax treatment of home improvements explores the difference between a current deduction and basis capitalization.
Basis can decrease as well as increase
Adjusted basis is not simply purchase price plus renovations. Federal rules require reductions for certain events, including depreciation allowed or allowable for business or rental use. The phrase “allowed or allowable” means the required reduction can apply even when an available depreciation deduction was not claimed.
Other potential decreases include insurance reimbursements for casualty losses, deductible casualty losses, payments received for granting an easement or right-of-way, certain energy credits or subsidies, and gain postponed from a qualifying pre-May 7, 1997 home sale. The applicable decrease depends on the event and the law in effect when it occurred.
Mixed personal and business use can require the home and sale to be divided into components. Depreciation-related gain also may remain taxable even when another portion of gain is eligible for the principal-residence exclusion.
The mortgage payoff is not part of basis
A mortgage is financing, not a basis adjustment. Borrowing to buy the property ordinarily helps establish acquisition cost, but later principal payments do not add that cost a second time. Similarly, paying the remaining loan from sale proceeds does not reduce the amount realized merely because it reduces the seller’s cash at closing.
For example, assume a simplified sale price of $500,000, selling expenses of $30,000, adjusted basis of $320,000, and a $200,000 mortgage payoff. Amount realized would be $470,000, and preliminary gain would be $150,000. The mortgage affects net cash but does not change that simplified gain calculation.
Gifted and inherited homes start differently
Purchase cost is not the universal starting basis. Property received by gift generally carries over the donor’s adjusted basis for determining gain, subject to special rules that can create a different basis for determining loss when fair market value at the gift date is lower.
Property acquired from a decedent generally receives basis equal to fair market value at death or an applicable alternate valuation date, subject to statutory exceptions and consistency rules. These acquisition rules apply before later improvements, depreciation, and other post-acquisition adjustments are added or subtracted.
Adjusted basis and the home-sale exclusion do different jobs
Section 121 can exclude qualifying gain on a principal residence when ownership and use requirements are met. The general individual limit is $250,000, while qualifying spouses filing jointly may use a $500,000 limit when the joint-return conditions are satisfied.
The exclusion applies to gain, not gross sale proceeds. Adjusted basis therefore must be determined to calculate gain before the exclusion can be measured. Exclusion limits, prior use of the exclusion, nonqualified use, depreciation, and partial-exclusion rules can affect the taxable result without changing the underlying definition of basis.
Records connect each adjustment to the property
Useful basis records commonly include the purchase settlement statement, construction contracts, paid invoices, permits, proof of payment, insurance reimbursements, depreciation schedules, and documents showing how the property was acquired. Photographs can help identify an improvement, but they do not by themselves establish its cost.
Records also help avoid counting the same cost twice or retaining an improvement that was later removed. When one project combines repair and improvement work, detailed invoices can preserve the distinction between the portions.
A compact adjusted-basis example
Consider a simplified purchased home with a $280,000 starting basis. A qualifying addition costing $70,000 and permanent rewiring costing $12,000 raise basis to $362,000. If $18,000 of depreciation was allowable for a home-office portion, adjusted basis becomes $344,000 before any other required adjustment.
If amount realized after selling expenses is $460,000, the preliminary gain is $116,000. Whether that gain is excluded, partly taxable, or allocated between personal and business portions is a separate step. The example illustrates the sequence only; actual basis can depend on acquisition history, ownership, use, reimbursements, and prior tax treatment.
Sources
- 26 U.S.C. § 1001, computation of gain or loss
- 26 U.S.C. § 1011, adjusted basis for gain or loss
- 26 U.S.C. § 1012, cost basis
- 26 U.S.C. § 1016, adjustments to basis
- 26 U.S.C. § 121, principal-residence gain exclusion
- IRS Publication 523, Selling Your Home
- IRS FAQ on basis and amount realized in a home sale
- IRS Publication 530, Tax Information for Homeowners