← Back to Money Center

Seller Money Guide

Capital Gains When You Sell Your Home: What You Keep and What Gets Taxed

Last educational update: October 13, 2026 at 12:32 AM PDT

References are partially verified, pending or overdue. They are not presented as current.

Sam Urban is a California REALTOR®, not a mortgage loan originator. This is education, not a quote, credit application or tax, legal or investment advice. Examples are hypothetical; confirm rates, costs, funding and eligibility with the appropriate professional.

Selling a home can create a gain, but the tax result depends on your adjusted basis, selling expenses, use of the property, filing status, and other facts. This guide is general education for California sellers—not tax, legal, investment, or lending advice.

Start with the federal home-sale exclusion

For a qualifying main home, the IRS says you may be able to exclude up to $250,000 of gain, or up to $500,000 on a joint return. Generally, you must have owned the home for at least 24 months and used it as your main home for at least 24 months during the five years before the sale. For a joint return, both spouses generally must satisfy the use test, while either spouse may satisfy the ownership test. The exclusion is not automatic: a prior home-sale exclusion within the preceding two years, rental or business use, depreciation, inherited property, divorce transfers, and other special facts can change the result. Review IRS Topic 701 and Publication 523.

Estimate the gain carefully

The IRS worksheet starts with the sale price, subtracts eligible selling expenses (such as commission and certain legal or advertising costs), and compares the result with total basis. Basis generally starts with what you paid, may include qualifying purchase closing costs, and can increase for capital improvements that remain part of the home. Ordinary repairs and maintenance generally do not increase basis. Keep settlement statements, invoices, permits, and improvement records; a tax professional can determine which items qualify. A mortgage payoff affects cash you receive, but it is not itself a reduction of the tax gain.

Hypothetical illustration—not a prediction or tax calculation: Assume a married couple files jointly, owns and occupies a Lancaster home for ten years, paid $300,000, and has $50,000 of documented qualifying improvements. Assume a $800,000 sale price and $48,000 of selling expenses. Amount realized is $752,000 ($800,000 − $48,000); estimated gain before any other adjustments is $402,000 ($752,000 − $350,000 basis). If all eligibility requirements are met and no special rule applies, that amount is below the $500,000 maximum exclusion. This does not establish that no tax is due: basis adjustments, depreciation, prior exclusions, filing details, Form 1099-S reporting, and other facts matter.

California and your next step

California generally conforms to the federal principal-residence exclusion, but California has no special lower capital-gains rate; taxable capital gains are generally taxed as ordinary income. See the California FTB home-sale guidance and capital-gains guidance. Rules and forms can change.

For a Palmdale, Lancaster, Santa Clarita, Quartz Hill, or Agua Dulce sale, a REALTOR can help organize a market-based pricing and estimated-net-proceeds discussion, but cannot determine your tax liability. Ask a CPA or enrolled agent to review your records before relying on an estimate. Do not treat this guide as a promise of savings, approval, rate, or proceeds.

Practical checklist

  • Locate your purchase settlement statement and prior improvement invoices.
  • Separate improvements from routine repairs and maintenance.
  • Estimate commissions and other selling costs separately from your mortgage payoff.
  • Ask a tax professional whether you qualify, must report the sale, or have depreciation or rental-use adjustments.

Education only: Sam Urban is a California REALTOR, not a mortgage loan originator or tax adviser. This article does not provide tax, legal, lending, or financial advice.

Antelope Valley & Santa Clarita Context

Home prices and seller circumstances vary across the Antelope Valley and Santa Clarita Valley. Local examples are geographic context only, not a claim about appreciation or a prediction of proceeds. Use current comparable sales for pricing and a tax professional for the tax estimate.

Key Takeaway

Organize your basis and selling-cost records, then have a tax professional review eligibility, reporting, and any rental or depreciation issues before you make decisions.

Official Sources & Verification

Some information or programs need additional confirmation. Funding, approval and eligibility are not guaranteed; consult the sources and a licensed lender.

Compare scenarios with the existing calculator →

Your Next Step, Without the Pressure

Sam can help with your real estate plans and local context, and coordinate a conversation with a mortgage professional. Only a licensed lender evaluates loans, rates and eligibility.