TANDY CONSULTING | HOME SALE TAX GUIDE

Selling Your Home? Know What You Could Owe in Capital Gains Taxes. 

You may qualify to exclude up to $250,000—or $500,000 if married filing jointly—of your home sale profit. Learn how to calculate your adjusted basis and estimate your taxable gain.

Explore the Free Calculator ↓
Tandy Consulting infographic explaining the $250,000 single and $500,000 married home sale capital gains tax exclusions. Features a residential home, adjusted cost basis calculator, tax-saving strategies, and a free home sale tax guide.

How Much of Your Home Sale Profit Is Tax-Free?

Under Internal Revenue Code Section 121, qualifying homeowners may exclude some or all of their gain from the sale of a primary residence.

Single Filers

$250,000

Potential home sale gain exclusion for qualifying homeowners.

Married Filing Jointly

$500,000

Potential exclusion when the couple meets the applicable requirements.

Generally, a homeowner must have owned and used the home as a main residence for at least two years during the five years before the sale. Additional rules apply to married couples, prior exclusions, and special circumstances.

For the full $500,000 married filing jointly exclusion, only one spouse generally needs to meet the ownership test, but both must meet the residence and prior-exclusion requirements.

Remember: The exclusion applies to gain, not the home's selling price. California generally follows the federal exclusion.

Interactive Home Sale Capital Gains Calculator

Enter your estimated home sale details. All dollar fields start at $0, and amounts automatically format with commas as you type. Select "What goes here?" under any field for guidance.

What goes here?

Select the exclusion you believe you qualify for under Section 121.

$250,000: Commonly applies to qualifying single taxpayers and certain other eligible filers.

$500,000: May apply to qualifying married couples filing jointly. One spouse generally must satisfy the ownership test and both must satisfy the residence and prior-exclusion tests.

Leave the selection unchanged if eligibility is uncertain. The calculator will assume no exclusion until you select one.

Review eligibility requirements ↓

What goes here?

Enter the total contract selling price for the home, before commissions, selling expenses, and mortgage payoff.

Find this on the purchase agreement or your final seller's Closing Disclosure or settlement statement.

Example: If you sell for $950,000, enter $950,000 even if your mortgage balance is $300,000.

What goes here?

For an ordinary purchase, enter the original purchase price, including amounts financed by a mortgage.

Find this on your purchase closing statement, purchase agreement, or settlement records.

Special situations: Inherited homes, gifts, divorce transfers, and prior 1031 exchanges may require a different starting basis.

Do not enter the current market value simply because the home has appreciated.

Review special basis rules ↓

What goes here?

Enter qualifying costs you paid when purchasing the home that are properly added to tax basis.

Examples may include owner's title insurance, certain legal fees, recording fees, survey fees, and certain transfer taxes.

Look at the original purchase Closing Disclosure, HUD-1, or ALTA settlement statement.

Do not include: Mortgage points, loan origination fees, prepaid interest, ordinary property taxes, or mortgage insurance premiums as purchase basis costs.

What goes here?

Enter the total cost of qualifying permanent improvements made during ownership that are still reflected in the home.

Examples include kitchen and bathroom remodels, additions, qualifying roof replacements, new HVAC, major plumbing or electrical upgrades, windows, decks, and permanent landscaping.

Review invoices, permits, contractor records, payment statements, and photographs.

Routine cleaning, ordinary repairs, and maintenance usually do not qualify unless part of a larger improvement project.

Learn how to reconstruct improvements ↓

What goes here?

Enter other qualifying basis increases not already included in your purchase price, closing costs, or improvements.

Examples may include certain special assessments for permanent local improvements, eligible costs paid on behalf of the seller at purchase, and other applicable tax basis adjustments.

These items are less common and should be supported by records.

Do not enter an inherited property's full stepped-up basis as an additional increase if you already used that amount in Starting Basis.

Automatically adjusts basis and nonexcludable gain.
What goes here?

Enter depreciation allowed or allowable from prior rental or business use of the property.

Find the amount on your depreciation schedules, prior Schedule E records, Form 4562, or other business tax records.

Depreciation generally reduces basis even if you failed to claim a deduction you were entitled to take.

Important: This calculator assumes the amount entered relates to depreciation after May 6, 1997. It automatically treats the corresponding portion of gain as ineligible for Section 121 exclusion, limited to the total realized gain.

Do not include this depreciation again in the Other Basis Reductions or Other Gain Not Eligible fields.

Separate rental units, mixed-use properties, and earlier depreciation may require a different calculation.

Exclude depreciation entered above.
What goes here?

Enter required basis reductions other than the depreciation already entered.

Examples may include certain casualty-loss deductions, insurance recoveries, energy credits or subsidies related to improvements, easement payments, and applicable prior deferred gain adjustments.

Most homeowners who used the property only as a principal residence may enter $0, depending on their tax history.

Do not include depreciation here. It has its own field so it can be reflected automatically without double-counting.

Not sure? Let Tandy Consulting calculate your basis.

What goes here?

Enter qualifying costs directly associated with selling your home.

Examples include seller-paid real estate commissions, qualifying escrow and title fees, transfer taxes, and certain legal or advertising expenses.

Use your final seller Closing Disclosure, ALTA settlement statement, or escrow closing statement.

Do not include mortgage payoff, ordinary property taxes, or moving expenses simply because they appear on your closing statement.

See where to find selling expenses ↓

Do not re-enter depreciation-related gain.
What goes here?

Enter separately calculated gain that cannot qualify for Section 121, other than depreciation-related gain already handled above.

An example is gain allocated to certain periods of nonqualified use after 2008.

This is not the same as ordinary taxable gain above the $250,000 or $500,000 exclusion. The calculator determines that separately.

In mixed-use or rental-property situations, professional allocation may be necessary. Leave $0 unless the nonexcludable amount has been calculated.

Calculated automatically -- do not enter separately.
What goes here?

This field totals Depreciation Allowed or Allowable and Other Required Basis Reductions.

It is displayed so you can see exactly how much is subtracted from starting basis and qualifying additions.

You do not need to type anything here. This design avoids entering the same depreciation or adjustment twice.

Important for homeowners with rental or business use: Depreciation-related gain is automatically identified as nonexcludable in this simplified calculation. The amount is not added a second time to taxable gain. Separate units, nonqualified use, depreciation recapture classifications, and other special rules may require professional review.

Your Estimated Home Sale Results

Adjusted Cost Basis $0
Net Amount Realized $0
Total Realized Gain $0
Nonexcludable Depreciation-Related Gain $0
Other Nonexcludable Gain $0
Estimated Section 121 Exclusion $0
Potentially Taxable Gain $0

Your Capital Gain Breakdown

Excluded: $0 Potentially Taxable: $0

Preliminary gain estimate only. This does not calculate federal or California tax owed, determine eligibility, or apply special gain allocations for separate rental or business units. It assumes any selected exclusion is available. Personal-use home losses generally are not deductible.

Not sure? Let Tandy Consulting calculate your basis.

Adjusted Cost Basis: What Can You Include?

Your adjusted basis generally starts with your original acquisition basis, adds qualifying acquisition costs and improvements, and subtracts required basis reductions.

Inherited homes, gifted homes, and properties transferred between spouses may have a different starting basis.

Potential Basis Increases

✓ Original purchase price
✓ Qualifying title and recording fees
✓ Owner's title insurance at purchase
✓ Certain acquisition legal and settlement fees
✓ Room additions and expansions
✓ Kitchen remodels
✓ Bathroom remodels
✓ Qualifying roof replacements
✓ New HVAC systems
✓ Electrical upgrades
✓ Plumbing system upgrades
✓ New windows and doors
✓ Permanent flooring improvements
✓ Structural renovations
✓ ADUs and building additions
✓ Permanent patios and decks
✓ Retaining walls and fencing
✓ Driveway and walkway improvements
✓ In-ground swimming pools
✓ Qualifying landscaping improvements
✓ Solar installations, subject to adjustments
✓ Certain special assessments for improvements
Tip: Improvements generally add value, prolong useful life, or adapt the home to new uses. Ordinary repairs and maintenance generally do not increase basis unless part of a larger qualifying improvement.

Expenses That Generally Do NOT Increase Basis

✕ Mortgage interest
✕ Homeowners insurance
✕ Ordinary property taxes
✕ Monthly HOA dues
✕ Utilities and routine maintenance
✕ Regular house cleaning
✕ Ordinary painting and minor repairs
✕ Mortgage principal payments
✕ Loan origination charges
✕ Removable furniture and appliances

Items That May Reduce Basis

• Depreciation allowed or allowable
• Certain casualty-loss deductions
• Certain insurance reimbursements
• Certain energy credits and subsidies
• Certain easement payments
• Other required basis adjustments

Documents Worth Gathering

Purchase closing statements, contractor invoices, building permits, payment records, remodeling contracts, photographs, depreciation schedules, insurance settlements, and the final sale closing statement can help document an accurate adjusted basis.

Not sure? Let Tandy Consulting calculate your basis.

Selling Expenses That Can Reduce Your Gain

Qualifying selling expenses generally reduce the amount realized and can lower taxable gain.

Real Estate Commissions

Seller-paid brokerage commissions and eligible agent compensation.

Escrow and Title Costs

Qualifying settlement, title, and transfer expenses.

Legal and Transfer Fees

Eligible legal fees and transfer taxes directly associated with the sale.

See where to find selling expenses on your closing statement ↓

Mortgage payoffs reduce cash at closing but generally do not reduce taxable gain. Ordinary property taxes, moving expenses, and routine repairs generally are not selling expenses that reduce the amount realized.

How Is Taxable Home Sale Gain Taxed?

After the available exclusion, remaining taxable gain is considered alongside your other income when determining federal and California income taxes.

Why Your Other Income Matters

Other Taxable IncomeWages, business income, retirement income, etc.
+ Taxable Home Sale GainThe portion not excluded under Section 121
= Overall Taxable IncomeUsed to determine applicable federal capital gains brackets

Here's what matters: Federal long-term capital gains generally receive preferential 0%, 15%, or 20% rates, but the applicable brackets depend on overall taxable income. The gain can cross more than one bracket rather than being taxed at one fixed rate in isolation.

California generally taxes capital gains at ordinary state income tax rates. Higher-income taxpayers may owe the federal 3.8% Net Investment Income Tax. Depreciation-related gain may receive special treatment.

Federal and California Tax Treatment

Tax CategoryGeneral Treatment
Federal Long-Term Capital GainsGenerally 0%, 15%, or 20%, depending on taxable income
Net Investment Income TaxPotential additional 3.8% for certain taxpayers
California Income TaxGenerally taxed at ordinary California rates
Depreciation-Related GainSpecial rules; certain gain may be subject to a federal rate up to 25%
Short-Term GainsGenerally taxed at ordinary federal income tax rates

Actual taxes depend on filing status, deductions, other income, capital losses, and additional tax rules. This illustration is not a complete tax calculation.

Other Ways to Potentially Reduce Home Sale Taxes

Planning ahead and maintaining accurate records may help reduce your potential tax liability.

1. Confirm Eligibility

Understand ownership, residence, and prior-exclusion rules, including possible reduced exclusions.

Check the eligibility rules ↓

2. Reconstruct Your Basis

Review home improvements and qualifying acquisition costs throughout your ownership period.

See how to reconstruct your basis ↓

Or hire us to calculate it ↓

3. Document Selling Expenses

Review commissions, eligible escrow costs, title charges, and transfer expenses.

Find expenses on closing documents ↓

4. Consider Tax Timing

The year of sale may affect capital gains brackets, overall income, and additional taxes.

Learn how sale timing affects taxes ↓

5. Review Capital Losses

Eligible investment capital losses may offset taxable gains, subject to tax rules.

Learn how capital losses work ↓

6. Evaluate Special Basis Rules

Inheritance, divorce, gifts, community property, multiple marriages, prior exchanges, and rental use can change basis.

Explore special basis FAQs ↓

Important: Purchasing another personal residence does not automatically defer capital gains. Section 1031 exchanges generally apply to qualifying investment or business real estate rather than personal-use homes.

Frequently Asked Questions

Practical answers about eligibility, basis records, selling expenses, tax strategies, and special property ownership situations.

HOME SALE EXCLUSION AND DOCUMENTATION
1. How do I know if I qualify for the $250,000 or $500,000 home sale exclusion?

Three main tests generally apply: ownership, residence, and prior use of the exclusion.

  • Ownership: Generally, at least 24 months of ownership during the five years before the sale.
  • Residence: Generally, at least 24 months of use as your main home during that period.
  • Prior exclusion: Generally, you must not have excluded gain on another home sale during the preceding two years.

The ownership and residence periods do not necessarily need to overlap or be continuous.

What if we are married?

For the full $500,000 exclusion on a joint return, one spouse generally must meet the ownership test and both must meet the residence and prior-exclusion tests.

What if I don't meet the full two-year requirement?

Certain qualifying employment changes, health circumstances, and unforeseen events may permit a reduced exclusion. Special rules also exist for some surviving spouses, divorced spouses, and service members.

Eligibility tip: Gather your purchase date, anticipated closing date, residence history, marital status, and records of prior home sales.

Request a professional exclusion review ↓

2. How can I reconstruct my adjusted cost basis if I don't have all my receipts?

Start with the original purchase documents. Then identify major improvements and basis adjustments over the entire ownership period.

Where to look

  • Title or escrow company: Original settlement statements
  • County recorder: Recorded deeds and ownership documents
  • Building department: Permits for remodels and additions
  • Contractors: Duplicate invoices, contracts, and project records
  • Bank and credit cards: Payments to contractors and suppliers
  • Email and photographs: Supporting evidence of completed improvements
  • Prior tax returns: Depreciation and other basis adjustments

Example: A homeowner purchased a home for $350,000 and later completed a qualifying $45,000 kitchen remodel, $30,000 roof, and $25,000 HVAC installation. Those improvements may add $100,000 to basis before other adjustments.

Costs must be supported by credible evidence. Photographs and permits may establish that work occurred but do not necessarily prove its cost.

Prefer professional help? Tandy Consulting offers a one-time fixed-fee adjusted-basis calculation using available records and applicable tax rules.

Learn about our adjusted-basis service ↓

3. Where can I find the selling expenses that reduce my gain?

Start with the final seller's closing statement. It may be called a Closing Disclosure, ALTA Settlement Statement, escrow statement, or seller's settlement statement.

Your title company, escrow officer, closing attorney, or real estate agent may be able to supply a copy.

Look for these items

  • Seller-paid real estate commissions
  • Qualifying escrow or settlement fees
  • Eligible seller-paid title expenses
  • City or county transfer taxes
  • Certain recording and legal fees directly associated with the sale
  • Eligible advertising and marketing costs
  • Certain seller-paid buyer financing charges, depending on treatment

Example

  • Selling price: $1,000,000
  • Qualifying commissions: $50,000
  • Other eligible closing expenses: $8,000
  • Net amount realized: $942,000

Do not include mortgage payoffs, ordinary property tax prorations, moving expenses, or refundable escrow balances merely because they appear on the settlement statement.

Seller concessions and certain repair arrangements may require individual review.

Helpful tip: Do not automatically use the total of all seller charges. Identify the qualifying items individually.
Do I have to buy another home to qualify?

No. Section 121 generally does not require buying another residence or reinvesting the proceeds.

Does paying off my mortgage reduce my taxable gain?

No. Mortgage payoff generally changes the cash you receive at closing, not the gain calculation.

What if I lived in the home for less than two years?

Certain qualifying employment changes, health circumstances, or unforeseen events may allow a reduced exclusion.

TAX PLANNING STRATEGIES
4. Can selling my home in a different tax year reduce my taxes?

Potentially, yes. The closing year can affect federal capital gains brackets, California income taxes, and possible Net Investment Income Tax.

Example: You expect $150,000 of taxable long-term capital gain after the exclusion.

  • Year A: You have unusually high wages, bonuses, or business income.
  • Year B: Your other income is much lower because you retire or reduce work.

Closing in Year B may produce a lower tax bill, depending on the complete tax situation. Timing alone does not guarantee savings.

Planning opportunity: Review projected income, deductions, capital gains, and estimated tax payments before choosing the closing year.
5. Can investment capital losses reduce taxes on my home sale?

Yes, potentially. Eligible investment losses may offset recognized taxable capital gains.

Simplified example:

  • Taxable home sale gain: $100,000
  • Eligible investment capital loss: $30,000
  • Net gain before other adjustments: $70,000

Federal short-term and long-term capital gains and losses are subject to netting rules. Prior-year capital loss carryforwards may also be available.

  • Excluded home sale gain generally does not need to be offset.
  • Losses on personal-use homes generally are not deductible.
  • Investment losses must be recognized for tax purposes.
  • Wash-sale and other limitations may apply.
  • California treatment can differ from federal treatment.
Tip: Review investment gains, losses, and capital loss carryforwards before selling.
SPECIAL BASIS AND OWNERSHIP QUESTIONS
6. What are special adjusted-basis rules, and why do they matter?

Not every homeowner starts with the original purchase price they personally paid.

Inheritance, gifts, divorce, death of a spouse, rental history, and prior exchanges may change tax basis or affect Section 121 eligibility.

The following situations explain why a professional basis review can be valuable.

6A. I inherited a home. Is my basis the original purchase price?

Generally, no. Inherited property usually receives a basis based on fair market value at the previous owner's death, subject to exceptions and estate valuation rules.

  • Parent's original purchase price: $200,000
  • Home value at death: $900,000
  • Later selling price: $950,000

The beneficiary's starting basis may be $900,000, resulting in approximately $50,000 of gain before selling expenses and other adjustments.

The beneficiary does not automatically qualify for a separate Section 121 exclusion.

Documents: Date-of-death appraisal, estate documents, deeds, and sale closing statement.

6B. I received the home in a divorce. Does my basis change?

Usually, the basis carries over. Qualifying transfers between spouses or former spouses incident to divorce generally do not trigger immediate taxable gain or loss.

Example: A home has a $400,000 combined adjusted basis and is worth $900,000 when one spouse receives the entire home through divorce. The basis generally remains $400,000, subject to adjustments.

Divorce agreements may also affect how residence and ownership periods count for Section 121.

Documents: Divorce decree, property settlement, original purchase documents, and improvement records.

6C. My parents gifted me a home. What is my basis?

Gifted property generally carries over the donor's adjusted basis for determining gain.

Example: A parent with a $150,000 adjusted basis gifts a home worth $750,000 to a child. The child's starting basis for gain generally remains $150,000.

Special dual-basis rules may apply when fair market value was below the donor's basis at the time of the gift. Certain gift taxes paid may affect basis.

Important: Gifting real estate during life can have different income tax consequences from transferring property at death.
6D. My spouse passed away. Does our California home's basis change?

Possibly, and the difference can be significant. Qualifying California community property generally receives a basis adjustment for both spouses' interests at the first spouse's death, provided the estate inclusion requirements are satisfied.

  • Original combined adjusted basis: $300,000
  • Fair market value at death: $1,000,000
  • Potential new community property basis: $1,000,000

For comparison, equal-interest non-community-property joint tenancy might result in a $650,000 basis if only the deceased spouse's half receives an adjustment.

A qualifying surviving spouse may also be eligible for the $500,000 home sale exclusion if the home is sold within two years of the spouse's death and other requirements are met.

How title is held does not always conclusively establish community property characterization.

Documents: Deeds, trust records, estate documents, and date-of-death appraisal.

6E. My home was acquired through a 1031 exchange. What happens?

Property acquired through a qualifying Section 1031 exchange generally carries forward a tax basis from the relinquished investment property, with adjustments.

Example: An investor exchanges a rental property with a $200,000 adjusted basis for a $700,000 replacement property. In a simplified equal-value exchange with no other basis adjustments, the replacement property's basis may remain approximately $200,000.

If the property is later converted to a primary residence, Section 121 may eventually become available. However, a five-year ownership restriction applies to property acquired through a 1031 exchange, and depreciation and nonqualified-use rules may also apply.

Documents: Form 8824, exchange settlement statements, depreciation schedules, and prior basis records.

6F. I previously rented my home or used it for business. Does this affect my gain?

Yes. Depreciation allowed or allowable generally reduces adjusted basis, even when it should have been claimed but was not.

  • Basis before depreciation: $500,000
  • Depreciation allowed or allowable: $40,000
  • Adjusted basis: $460,000

Gain attributable to depreciation adjustments after May 6, 1997, generally cannot be excluded under Section 121.

Certain periods of nonqualified use after 2008 can also limit the exclusion, although exceptions apply.

Separate rental units, home offices, and mixed-use properties may need additional allocation and tax reporting.

Documents: Rental dates, prior tax returns, depreciation records, and residence history.

6G. What if I have had multiple spouses or marriages while owning the home?

Multiple marriages, divorces, and deaths of spouses can affect adjusted basis, ownership history, and exclusion eligibility.

  • Purchasing with a former spouse and receiving the home through divorce
  • Adding a new spouse to the deed after marriage
  • A spouse's death followed by remarriage
  • Living in a home with a current spouse who was not the original co-owner
  • Receiving ownership through a marital settlement

Divorce Followed by Remarriage

Suppose you bought a home with your first spouse for $300,000. After divorce, you received the home. You later remarried and the property is now worth $900,000.

The divorce generally does not reset basis to market value. If you file jointly with your new spouse, the $500,000 exclusion may be available if all applicable ownership, residence, and prior-exclusion requirements are satisfied.

Death Followed by Remarriage

If a prior spouse died while you owned qualifying community property, the basis may have been adjusted at death. Remarriage generally does not erase that adjustment.

Important: The exclusion is not multiplied by the number of marriages or prior spouses.

Documents: Marriage and divorce dates, decrees, deeds, death records, appraisals, and prior sale records.

6H. What if only one spouse is listed on title?

A married couple may still qualify for the full $500,000 exclusion. Only one spouse generally needs to meet the ownership test, while both must meet the residence and applicable prior-exclusion tests.

Example: Home Purchased Before Marriage

  • One spouse has owned the property for six years.
  • Both spouses lived there for three years.
  • Only the original owner is listed on the deed.
  • The couple files jointly and meets the other requirements.

The couple may qualify for the full $500,000 exclusion.

What if we have been married less than two years?

If the other spouse has not met the residence test, the full $500,000 exclusion may be unavailable. An exclusion up to $250,000 may still be available based on the qualifying spouse's individual circumstances.

California Community Property

Community property characterization may differ from the name on title. Acquisition dates, source of funds, deeds, and marital agreements matter.

Key takeaway: Filing jointly, appearing on title, and owning community property are distinct questions.

Documents: Deeds, marriage dates, purchase records, residence dates, and marital property agreements.

OTHER COMMON QUESTIONS
Do I need to report the home sale to the IRS?

Reporting is generally required when the sale produces taxable gain or Form 1099-S was issued, even when the gain is fully excluded. Some fully excluded sales without Form 1099-S may not require reporting.

Can unmarried co-owners each claim $250,000?

Potentially, yes. Each owner must independently meet the applicable requirements, and gain must be allocated based on ownership interests.

Need help with a complicated home sale? Tandy Consulting offers professional adjusted-basis calculations and personalized federal and California capital gains tax projections. Contact us for a fixed-fee quote before work begins.

Don't Guess What You'll Owe When You Sell Your Home.

Your home may be one of your largest financial assets. Before you sell, work with Tandy Consulting to understand your adjusted basis, available exclusions, and potential federal and state capital gains taxes.

COMPREHENSIVE TAX PLANNING

Know Your Potential Capital Gains Tax Before You Sell

We can prepare a personalized home sale tax projection to help you understand your potential tax liability and evaluate planning opportunities.

  • Review eligibility for the $250,000/$500,000 exclusion
  • Estimate federal capital gains taxes
  • Estimate California income taxes
  • Evaluate capital gains brackets and NIIT
  • Discuss potential tax-saving strategies
  • Consider estimated tax payment needs
Request a Home Sale Tax Projection
ONE-TIME FIXED-FEE SERVICE

Let Us Calculate Your Adjusted Cost Basis

Not sure which improvements, purchase expenses, or adjustments qualify? Let our team help reconstruct and document your home's adjusted cost basis.

  • Review original acquisition costs
  • Evaluate qualifying improvements
  • Review supporting documentation
  • Identify depreciation and other basis adjustments
  • Review special ownership and transfer circumstances
  • Prepare a summary for your tax records

One-time fixed fee. A quote is provided before work begins, based on your property's history and available records.

Request an Adjusted Basis Quote

Tandy Consulting Inc.
Trusted Tax & Accounting Experts.

Questions? Email ttandy@tandyconsulting.com

Tandy Consulting Inc. This resource is for educational purposes only and is not individualized tax or legal advice. Calculator results are preliminary estimates, not a tax return or tax opinion. Eligibility, depreciation, mixed-use property, ownership history, and individual circumstances may materially change the results. Fees and service scope are confirmed before work begins.