California seller guide
How to Avoid Capital Gains Tax on a CA Home Sale
The short answer
Justin Borges of The Borges Real Estate Team at eXp Realty (DRE #01940318, (213) 262-5092) helps California sellers plan a home sale around the capital gains exclusion. Own and live in your main home for 24 of the last 60 months and meet the other tests to exclude up to $250,000 of gain, or $500,000 for qualifying married joint filers. I tell sellers to gather move-in dates and improvement records before choosing a closing date.
California taxes capital gains as ordinary income. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026) (Franchise Tax Board, Income from the sale of your home, checked November 3, 2026) (Franchise Tax Board, Capital gains and losses, checked November 3, 2026) A long ownership history, an addition, or a period spent renting out a Los Angeles home can make the sale proceeds and the taxable gain look very different. Start with the dates and records behind your property, then compare the estimated gain with your available exclusion before you commit to a closing schedule.
Plan your home sale
Start with an estimate of your home’s value and bring your tax questions to your CPA.
How does the home sale exclusion work?
The federal Section 121 exclusion applies to gain on the sale of your main home when you meet the eligibility rules. The limit is up to $250,000, or up to $500,000 for qualifying married couples filing jointly. The limit is an exclusion from gain, not a credit against a tax bill and not a deduction from your sale price. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
California follows the federal home sale exclusion, and its guidance also addresses qualifying registered domestic partners filing jointly. Gain above the applicable exclusion can be taxable. (Franchise Tax Board, Income from the sale of your home, checked November 3, 2026)
| Test | What to review |
|---|---|
| Ownership | At least 24 months during the 5 years ending on the sale date. |
| Residence | At least 24 months of use as your main home in that period, which need not be continuous. |
| Look-back | Whether you excluded gain on another home sale during the preceding 2 years. |
The IRS allows ownership and residence to occur during different periods within the window. For the full joint exclusion, either spouse may meet the ownership test, but both must meet the residence and look-back tests. A couple should not assume that a shared deed alone establishes both spouses' use. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Have a question about your own situation? Text (213) 262-5092
Gather purchase documents, occupancy records and the date of any earlier sale for which you claimed the exclusion. If your planned closing is close to the eligibility threshold, the occupancy timeline can change the exclusion available to you. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Review your sale timeline
Talk through your likely sale schedule and the information to share with your CPA.
Can you qualify if you sell before meeting the full tests?
A reduced exclusion may be available when the main reason for selling your California home is a qualifying work-related move, health-related move or unforeseeable event. The IRS identifies examples including divorce, death and certain casualty events. A move by itself does not establish eligibility. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
The IRS worksheet uses the shortest applicable period of ownership, residence or time since the last excluded sale, divided by 24 months or 730 days, to determine the fraction of the maximum exclusion. Married joint filers calculate each spouse's amount under the worksheet. The result is a maximum exclusion, not a promise that your actual gain is that amount. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Keep evidence of the circumstances that led to your sale as well as the occupancy timeline. For a work-related move from Los Angeles, keep details of both work locations and the move; the IRS has specific criteria for a qualifying move.
Special rules may also help eligible service members and certain other personnel on qualified official extended duty. The IRS allows an election to suspend the normal 5-year test period for up to 10 years, for one property at a time. The election can give an eligible owner more time to meet the residence test. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Want to browse current Los Angeles listings? Browse current Los Angeles listings
How do you calculate gain and adjusted basis?
Gain is generally the amount realized from the sale minus your adjusted basis, not the sale price minus your mortgage payoff. Equity and taxable gain answer different questions. A loan balance matters to the cash you receive at closing, while basis and eligible selling expenses matter to the tax calculation. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Start with what you paid for the home and the purchase settlement records. Certain purchase costs may be included in basis. Improvements that add value, extend useful life or adapt the home to a new use can increase basis; ordinary repairs generally do not, unless they are part of an extensive remodel. Certain credits or subsidies can reduce basis. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Hypothetical example, not a typical result: Assume a $500,000 sale, no selling costs and an adjusted basis of $250,000. The gain is $500,000 minus $250,000, or $250,000. If a single seller qualifies for the full $250,000 exclusion, no taxable gain remains in this example. Actual selling costs, basis adjustments and eligibility can change the result. California taxes remaining gain as ordinary income. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026) (Franchise Tax Board, Capital gains and losses, checked November 3, 2026)
For the rate question, see the related guide, What Is the Capital Gains Tax Rate in Los Angeles? The federal and California treatment of any remaining gain can differ.
Rather talk it through? Call (213) 262-5092
| Record | Why it matters |
|---|---|
| Purchase closing statement | Establishes purchase price and identifies costs to review for basis. |
| Improvement invoices and proof of payment | Helps distinguish qualifying improvements from routine repairs. |
| Sale closing statement | Shows sale proceeds and expenses for the amount realized calculation. |
| Rental and depreciation schedules | Helps identify basis adjustments and gain that may not be excluded. |
For an older Los Angeles home, assemble records for additions, a roof replacement or a substantial remodel along with contracts and proof of payment. A permit can help establish the work history, but it does not establish the amount paid by itself. Check whether each expense remains part of adjusted basis, especially if work was replaced or a credit was claimed.
The IRS generally says to keep records documenting adjusted basis until 3 years after the due date of the return for the year of sale. Store copies of the final closing statement with the purchase and improvement records so the calculation can be reconstructed. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Estimate your sale proceeds
Get a starting point for your home’s value as you organize basis records for your CPA.
What if you rented the home or used a home office?
Rental and business use can make an otherwise qualifying Los Angeles sale more complicated. The IRS says gain attributable to depreciation allowed or allowable for business or rental use after May 6, 1997 cannot be excluded under the home sale exclusion. Basis can be reduced by allowable depreciation even if you did not claim it. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
A home office inside the living area generally does not require you to split the gain between residential and business portions, but the depreciation rule still matters. A separate rental unit or business building can require a different allocation. An ADU used as a rental, for example, deserves a separate review of its physical layout, occupancy and tax history rather than an assumption that the entire property has the same treatment. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Periods of nonqualified use can also limit the exclusion. IRS rules address certain periods after 2008 when a property was not your main home, including some rental use before you moved in, and provide exceptions. Time after your last use as a main home within the relevant window is among the exceptions described by the IRS. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Want a second opinion on your next step? Talk to Justin about your sale
Prepare a chronology showing when you lived in each part of the property, when tenants occupied it and when business use began or ended. Include depreciation claimed and any records of depreciation that could have been claimed. The timeline and depreciation schedules help separate the residential use from rental or business use. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Can a 1031 exchange eliminate tax on a home sale?
A Section 1031 exchange generally defers eligible gain on an exchange of real property held for investment or business use. A personal main home is not eligible simply because you plan to buy another home. Deferral is different from an exclusion: the tax treatment follows exchange rules and the replacement property's history matters. (IRS, Instructions for Form 8824 (2025), checked November 3, 2026)
For a deferred exchange, IRS instructions generally require identification of replacement property within 45 days and receipt within 180 days or the return due date including extensions, whichever is earlier. Arrange advice before closing, because the transaction must satisfy exchange requirements. (IRS, Instructions for Form 8824 (2025), checked November 3, 2026)
California requires Form FTB 3840 for an exchange of California property for like-kind property outside the state, for the exchange year and later years until the deferred California-source gain is recognized. The filing obligation continues after the exchange year until the deferred California-source gain is recognized. (Franchise Tax Board, 2025 Instructions for Form FTB 3840, checked November 3, 2026)
Curious what your home would sell for today? Get your home value
A property acquired in a like-kind exchange during the preceding 5 years is ineligible for the home sale exclusion under the IRS eligibility test. A former rental that became your home therefore needs a careful history of acquisition, use and depreciation. Neither a later move into the property nor an exchange label alone answers the tax question. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Discuss your property plans
Talk through the sale of your Los Angeles property before deciding on next steps with your advisers.
What happens with an inherited home or a divorce?
An inherited home's basis is generally its fair market value at the date of death, subject to applicable rules such as an alternate valuation date. California community property and the way title was held can affect the basis calculation. Do not assume the decedent's original purchase price or an automatic adjustment to every owner's share. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Obtain available appraisals, estate records, deeds and records of later improvements before estimating the gain. A Los Angeles County property tax assessment does not by itself establish income tax basis. The home's use by the person who inherited it also matters when assessing any personal home sale exclusion.
A transfer to a spouse, or to a former spouse incident to divorce, generally does not result in recognized gain or loss at the time of transfer. The recipient may count the transferor's ownership period, while residence requires its own analysis. (IRS, Publication 504, Divorced or Separated Individuals, checked November 3, 2026)
Surviving spouses may qualify for the larger exclusion under specific conditions, including a sale within 2 years of the spouse's death and no remarriage. The ownership, residence and prior exclusion rules still matter, with the late spouse's time considered under the IRS rules. Estate or divorce documents and the sale timeline can affect which rules apply. (IRS, Publication 523 (2025), Selling Your Home, checked November 3, 2026)
Not sure which option fits you? Text (213) 262-5092
Who can help you plan and report the sale?
I am Justin Borges, and I help California homeowners consider their property's market position and organize the sale timeline. I suggest gathering purchase, improvement and closing records before setting that timeline. I am not a tax adviser; a CPA can evaluate the federal and California tax treatment for your circumstances.
Start in this order: check your ownership and occupancy dates; assemble purchase and improvement records to calculate basis; then review any rental, inheritance or exchange history before choosing a sale strategy. A Los Angeles owner with a long ownership history or a major addition may find that the gain differs substantially from the sale proceeds.
Before listing, gather your records if a proposed sale date is close to an eligibility threshold, the home has been rented, you inherited it, or you are considering an exchange. Bring the deed, purchase statement, improvement records, prior returns and a timeline of occupancy. This gives you time to identify missing evidence before a contract fixes the schedule.
At closing, review the settlement statement for the sale price and expenses, and retain the final version. The IRS requires reporting if you receive Form 1099-S or cannot exclude all the gain, even if receiving the form does not itself mean tax is due. (IRS, Topic 701, Sale of your home, checked November 3, 2026)
Ready to see what is on the market right now? Browse current Los Angeles listings
Include both federal and California results in your sale estimate. Keep the final settlement statement with the records that support your adjusted basis. (IRS, Topic 701, Sale of your home, checked November 3, 2026) (Franchise Tax Board, Capital gains and losses, checked November 3, 2026)
Frequently asked questions
Does paying off my mortgage reduce my taxable gain?
Paying off a mortgage affects the cash you receive at closing, but the loan payoff is not the same as your tax basis. Calculate gain from the amount realized and adjusted basis, then apply any available exclusion. Keep your purchase and improvement records alongside your final settlement statement.
Will I owe California tax if my entire gain qualifies for the exclusion?
California follows the federal home sale exclusion for qualifying sellers. If your entire gain qualifies for exclusion under the applicable rules, that excluded gain generally is not taxable as a California home sale gain. Check your eligibility, basis and any rental or depreciation adjustments before relying on an estimate.
Prefer a quick call? Call (213) 262-5092
Do both spouses have to be on the deed?
For the full federal joint exclusion, either spouse can meet the ownership test, but both must meet the residence and look-back requirements. A deed is only one piece of the evidence. Review ownership dates, each spouse's use of the home and any previous excluded sale.
Can a former rental qualify after I move in?
A former rental may qualify as a main home if the relevant tests are met, but earlier rental use can affect the amount you can exclude. Depreciation allowed or allowable also requires attention. Gather a complete occupancy timeline, acquisition records and depreciation schedules before estimating the result.
What if I cannot find receipts for improvements?
Gather whatever reliable evidence remains, such as contracts, bank records, invoices, permits and photographs, to help substantiate the costs. A permit alone may not show what you paid. Avoid assigning an unsupported amount to improvements when calculating your adjusted basis or preparing a return.
Must I report a sale if no gain is taxable?
The IRS requires you to report the sale if you receive Form 1099-S, even when all gain is excludable. Reporting is also required if you cannot exclude all the gain. Keep the form with your final closing statement and sale records.
Can a loss on my personal home offset other gains?
The IRS says a loss on the sale of a personal-use home is not deductible. A property with rental or business use may present different questions, so review the use history and tax records for each part of the property.
Put your sale plan together
Talk through your Los Angeles sale timeline and gather the details your CPA needs.
Sources
- Publication 523 (2025), Selling Your Home, IRS (irs.gov). Checked October 31, 2026.
- Income from the sale of your home, Franchise Tax Board (ftb.ca.gov). Checked November 3, 2026.
- Capital gains and losses, Franchise Tax Board (ftb.ca.gov). Checked November 3, 2026.
- Instructions for Form 8824 (2025), IRS (irs.gov). Checked November 3, 2026.
- 2025 Instructions for Form FTB 3840, Franchise Tax Board (ftb.ca.gov). Checked November 3, 2026.
- Publication 504, Divorced or Separated Individuals, IRS (irs.gov). Checked November 3, 2026.
- Topic 701, Sale of your home, Internal Revenue Service (irs.gov). Checked November 3, 2026.
This guide is educational and is not legal, tax, title, lending, or insurance advice. Contract forms, statutes, and lender rules change. Confirm the terms that apply to your sale with your escrow officer, title officer, lender, or a California real estate attorney.






