Home Homes for Sale Market Report Services Blog Contact
Selling Guide

Capital Gains Tax Guide

Selling a home can create federal and California tax questions, but the tax result depends on much more than the sale price.

Some homeowners who sell a qualifying principal residence may be able to exclude up to $250,000 of gain from federal taxable income, or up to $500,000 in many qualifying joint-return situations. Eligibility depends on IRS ownership, use, prior-exclusion, filing-status, and other requirements.

Cost basis, qualifying improvements, selling expenses, depreciation, rental or business use, inheritance, divorce, prior tax treatment, and other circumstances can also affect the calculation.

Laura & Cheryl provide real estate guidance and estimated seller net proceeds. They do not determine a seller's individual tax liability. Sellers should consult an appropriate tax professional regarding their particular circumstances.

Earnest money deposit concept with cash and house key on a stone plaque

How Capital Gains Tax Affects California Home Sellers

One of the most common questions we hear from sellers is, "Will I owe capital gains tax when I sell my home?" The short answer: it depends. Many homeowners may qualify to exclude some or all of the gain from the sale of a principal residence, but eligibility depends on the seller's ownership history, use of the home, prior exclusions, adjusted cost basis, improvements, depreciation, and other tax circumstances. Because every seller's tax situation is different, homeowners should confirm their eligibility and potential tax liability with a qualified tax professional.

Under current federal tax law, a qualifying homeowner may be able to exclude up to $250,000 of gain (or up to $500,000 for married taxpayers filing jointly who meet the applicable requirements) from the sale of a principal residence. Capital gain is not the same as sale price, and it is not the same as cash proceeds. Laura & Cheryl help Murrieta home sellers with the real estate side of the transaction: estimating selling expenses and seller net proceeds, organizing purchase and improvement records, and coordinating with a seller's CPA or tax professional. We do not calculate or advise on a seller's actual income-tax liability, and there is not a special Murrieta capital-gains rule: the same federal and California tax laws apply to home sales throughout the state. This guide explains the general rules so you know what to ask.

Simplified Home-Sale Gain Example

Assume, for illustration only:

  • Original purchase price $420,000
  • Qualifying basis adjustments and improvements + $45,000
  • Illustrative adjusted basis = $465,000
  • Sale price $700,000
  • Illustrative qualifying selling expenses - $35,000
  • Illustrative amount realized = $665,000
  • Illustrative gain before any exclusion $200,000

If the seller satisfies all applicable requirements for a $250,000 or $500,000 principal-residence exclusion, some or all of that gain may be excluded.

This is a simplified educational example only. Actual adjusted basis, allowable selling expenses, depreciation, exclusions, and taxable gain should be determined with a qualified tax professional.

Capital Gain Is Not the Same as Seller Net Proceeds

These two calculations answer different questions.

Seller net proceeds estimate the money a seller may receive after transaction expenses, mortgage payoff, liens, credits, and other closing charges.

Capital gain is a tax calculation based generally on the amount realized from the sale compared with the property's adjusted tax basis, subject to applicable tax rules and exclusions.

A large mortgage payoff may substantially reduce the cash a seller receives at closing, but the mortgage balance itself generally does not determine the taxable capital gain.

Laura & Cheryl can prepare an estimated seller net sheet. A CPA, enrolled agent, tax attorney, or other qualified tax professional should determine the tax calculation.

Capital Gains Tax, Explained

Every aspect of capital gains tax on home sales, broken down in plain language.

Will I Owe Capital Gains Tax When I Sell My Murrieta Home?

It depends on your gain, your filing status, and whether you meet the eligibility rules for the home-sale tax exclusion.

Capital gains tax is a tax on the profit you may recognize when you sell an asset, including a home. Many homeowners may qualify to exclude some or all of the gain from the sale of a principal residence, but eligibility depends on the seller's ownership history, use of the home, prior exclusions, adjusted cost basis, improvements, depreciation, and other tax circumstances. Because every seller's tax situation is different, homeowners should confirm their eligibility and potential tax liability with a qualified tax professional.

What Is the $250,000 or $500,000 Home-Sale Exclusion?

A qualifying homeowner may be able to exclude some or all of the gain on a principal-residence sale, up to the applicable limit.

Federal tax law may allow an eligible homeowner to exclude up to $250,000 of gain from the sale of a principal residence.

For certain married taxpayers filing jointly, the potential exclusion may be up to $500,000.

Eligibility for the larger joint-return exclusion involves additional requirements. In general, at least one spouse must satisfy the ownership test, both spouses must satisfy the use test, and neither spouse may have used the exclusion for another home sale during the applicable prior two-year period, subject to IRS rules and exceptions.

The exclusion applies to qualifying gain, not the gross sales price.

What Is the 2-of-5-Year Ownership and Use Rule?

In general, the home must be owned and used as the seller's principal residence for at least two of the five years before the sale.

In general, the federal principal-residence exclusion includes both an ownership test and a use test measured during the five-year period ending on the date of sale.

A taxpayer generally must have owned the home for an aggregate of at least two years during that five-year period, and used the property as a principal residence for an aggregate of at least two years during that period. The ownership and use periods do not necessarily have to be the same two years.

Additional rules apply to married taxpayers filing jointly, prior use of the exclusion, certain members of the uniformed services and other qualified officials, periods of nonqualified use, and other circumstances.

A homeowner who does not meet the full requirements may still qualify for a reduced exclusion in certain circumstances under IRS rules.

What Counts as a Principal Residence?

A principal residence is generally the home where a person lives most of the time.

For tax purposes, a principal or main home is generally the home the taxpayer uses as their primary residence. When more than one property is involved, the IRS may consider facts and circumstances to determine which property is the main home.

Second homes, vacation properties, rentals, and properties with mixed personal/business use can involve different rules.

Sellers with more than one residence, rental history, business use, or unusual occupancy circumstances should discuss the facts with a qualified tax professional.

Can a Rental Property Qualify for the Home-Sale Exclusion?

Possibly, if it later becomes the owner's principal residence and the applicable requirements are met.

A property that was previously a rental, vacation home, or second home may potentially qualify for some exclusion if it later becomes the owner's principal residence and the applicable requirements are met. Special rules involving nonqualified use and depreciation can limit the exclusion, so sellers with mixed personal and rental use should obtain professional tax advice before relying on it.

What Happens If I Converted My Rental Into My Primary Residence?

The capital-gains calculation can become significantly more complicated.

When a property has both rental or investment use and principal-residence use, the capital-gains calculation can become significantly more complicated. Nonqualified-use rules and depreciation taken or allowable during rental periods may affect how much gain can be excluded. Gain attributable to depreciation can receive special federal tax treatment and generally cannot be excluded under the principal-residence exclusion. The applicable tax treatment depends on the seller's circumstances and should be calculated by a qualified tax professional. Because these calculations are fact-specific, sellers should work with a CPA or other qualified tax professional before relying on the principal-residence exclusion.

How Is Capital Gain Calculated When Selling a House?

In general, taxable gain is the amount realized from the sale compared with the seller's adjusted tax basis, not the sale price alone.

Tax basis is more complicated than simply adding every closing cost and every home expense to the original purchase price.

A home's adjusted basis may begin with acquisition cost and certain allowable acquisition expenses and may then be increased or decreased by specific adjustments under tax law.

Certain qualifying capital improvements may increase basis. Other items, such as allowable or allowable-to-have-been-taken depreciation, certain casualty-related adjustments, or other tax events, may reduce or otherwise affect basis.

Routine maintenance and ordinary repairs generally do not increase basis merely because the homeowner spent money on them.

IRS Publication 523 and Publication 551 provide general guidance, but sellers should have a tax professional determine their actual adjusted basis when the amount matters to the tax result.

What Improvements Can Increase My Cost Basis?

The actual cost of qualifying capital improvements may increase the adjusted basis of a home.

Certain improvements that materially add value, prolong a property's useful life, or adapt it to new uses may affect the property's tax basis. Examples can include certain additions, major remodeling, structural improvements, major systems, or other qualifying work.

Tax treatment depends on the nature of the work and individual circumstances. Sellers should keep invoices, contracts, permits, canceled checks, and other records that may help substantiate qualifying improvements.

What Does NOT Qualify as an Improvement?

Routine maintenance and repairs generally are not treated as capital improvements for tax-basis purposes.

Routine maintenance and ordinary repairs generally do not increase the home's tax basis simply because money was spent. The distinction between a repair and a capital improvement can depend on the work performed and the surrounding circumstances. Keep records and ask a tax professional how a particular expense should be treated.

Does My Mortgage Balance Affect Capital Gains Tax?

No: your remaining mortgage balance does not determine your capital gain for income-tax purposes.

Your remaining mortgage balance does not determine your capital gain for income-tax purposes. The mortgage payoff affects how much cash you receive at closing, but taxable gain is generally calculated by comparing the amount realized from the sale with your adjusted tax basis. For example, two sellers could have the same sales price and the same tax basis but very different mortgage balances. Their cash proceeds would be different, but the mortgage balance itself would not reduce the capital gain calculation.

California Tax Treatment of Home-Sale Gain

California generally conforms to the federal exclusion but does not provide a separate preferential rate for capital gains.

California generally conforms to the federal rules allowing qualifying taxpayers to exclude gain from the sale of a principal residence.

California does not provide a separate preferential tax rate for capital gains. Taxable capital gains are generally taxed as ordinary income under California's individual income-tax system.

Whether a seller owes California tax depends on the taxable gain and the seller's overall tax circumstances.

Consult the California Franchise Tax Board and a qualified tax professional for current guidance.

What About a 1031 Exchange?

A 1031 exchange applies to qualifying investment or business real property, not an ordinary personal residence.

A Section 1031 exchange can allow qualifying real property held for investment or business use to be exchanged for other qualifying like-kind real property while deferring recognition of certain gain. A principal residence does not qualify for a 1031 exchange simply because the owner plans to reinvest the proceeds into another home. In general, the replacement property must be identified within 45 days and acquired within 180 days, subject to the applicable tax-filing deadline and other requirements. 1031 exchanges have strict timing, documentation, qualified-intermediary, and property-use requirements. Sellers considering an exchange should involve a CPA, tax attorney, and qualified intermediary before the property closes.

Do I Have to Report the Sale?

Some home sales may need to be reported on a federal tax return even when some or all of the gain qualifies for exclusion.

Reporting can depend on the amount of gain, whether the entire gain is excludable, whether the seller receives Form 1099-S, prior use of the exclusion, and other tax factors. For example, a seller may receive Form 1099-S from the person responsible for closing the transaction in certain cases. A tax professional can determine whether the sale must be reported and which forms apply.

Cash Proceeds Are Not the Same as Taxable Gain

The amount of money a seller receives at closing is not the same as taxable capital gain.

The amount of money a seller receives at closing is not the same as taxable capital gain. Cash proceeds are affected by mortgage and lien payoffs, transaction expenses, credits, and prorations. Taxable gain is based on federal and state tax rules involving the amount realized, adjusted basis, qualifying exclusions, depreciation, and other tax factors. A seller could receive substantial cash at closing and still have little taxable gain, or receive less cash and still have taxable gain. The two calculations serve different purposes.

What Records Should I Keep for My Purchase and Improvements?

Sellers should keep records that support their tax basis and improvements whenever possible.

Sellers should keep records that support their tax basis and improvements whenever possible. Useful examples may include the purchase closing statement, escrow documents, receipts, paid invoices, canceled checks, bank or credit-card records, contractor agreements, permits, improvement records, prior tax returns, and depreciation schedules for rental periods. If records are missing or incomplete, sellers should discuss acceptable documentation and reconstruction methods with their CPA or tax professional rather than relying on informal estimates.

When Should a Seller Consult a Tax Professional?

We encourage sellers to involve a tax professional whenever tax considerations could affect a selling decision.

Consider obtaining tax advice when the sale involves circumstances such as: substantial appreciation; uncertainty about cost basis; missing improvement records; rental or investment-property history; home-office or business use; depreciation; inherited property; property received through divorce or other transfer; multiple residences; prior use of the home-sale exclusion; sale before satisfying the full ownership/use tests; installment-sale considerations; a possible 1031 exchange; foreign-owner withholding; unusual title or ownership circumstances.

This is not an exhaustive list. Laura & Cheryl can provide contact information for tax professionals upon request, but the seller should independently evaluate and select the professional.

Estimated Seller Net Proceeds Are a Separate Calculation

Laura & Cheryl can prepare an estimated seller net sheet using assumptions involving sale price, transaction expenses, mortgage payoff information, credits, and other known or estimated closing items. The net sheet is not a tax return and does not calculate a seller's individual income-tax liability. Taxable gain, adjusted basis, exclusions, depreciation, and other tax consequences should be reviewed with a qualified tax professional.

Frequently Asked Questions

Common questions about capital gains tax on home sales.

Do I pay capital gains tax if my home sells for less than I paid?

Not necessarily. Tax gain or loss is determined using the property's amount realized and adjusted basis, not simply the original purchase price compared with the final sales price. If the sale of a qualifying personal residence results in a tax loss, that personal loss is generally not deductible for federal income-tax purposes. A tax professional should determine the actual calculation.

Can I use the capital gains exclusion every time I sell?

There is no lifetime numerical limit on the number of qualifying home sales for which the exclusion may potentially be used. However, the exclusion generally cannot be used if the taxpayer, or for the larger joint exclusion the applicable spouse, used the home-sale exclusion during the two-year period before the current sale, subject to IRS rules and exceptions. The ownership, use, filing-status, and other eligibility requirements must be evaluated for each sale.

What happens if I sell before the two-year mark?

A homeowner who does not satisfy the full ownership and use requirements may still qualify for a reduced exclusion in certain circumstances involving a qualifying change in place of employment, health circumstances, or other qualifying unforeseen circumstances under IRS rules. The amount and eligibility should be determined using current IRS guidance and, when appropriate, a qualified tax professional.

How do I prove what I spent on improvements?

Keep documentation such as invoices, contracts, permits, canceled checks, payment records, and other records showing the work performed and amount paid. If records are missing, discuss the situation with a qualified tax professional. Do not assume that an appraisal, real estate agent estimate, contractor quote prepared years later, or unsupported estimate will automatically satisfy IRS substantiation requirements.

Does California tax capital gains differently from the federal government?

Yes. California generally conforms to the federal principal-residence gain exclusion, but California does not provide the separate preferential capital-gains tax rates available under federal law. Any taxable gain for California purposes is generally taxed under California's regular individual income-tax system. The actual tax depends on the taxpayer's individual circumstances.

What if my home was previously a rental or was used for business?

Rental, investment, and business use can significantly complicate the home-sale tax calculation. Potential issues can include: depreciation; periods of nonqualified use; allocation between personal and business portions; changes in tax basis; prior rental deductions; eligibility for the principal-residence exclusion. The rules cannot be accurately summarized by saying that only the period after conversion qualifies. Depreciation-related gain may also receive different tax treatment and may not be excluded in the same way as other qualifying home-sale gain. A homeowner with rental, depreciation, or business-use history should consult a qualified tax professional before relying on the general exclusion.

Does my mortgage balance reduce my taxable capital gain?

Generally, the amount owed on the mortgage affects the seller's cash proceeds at closing but does not itself reduce the taxable gain. Capital gain and seller net proceeds are separate calculations. A tax professional should determine the gain, while Laura & Cheryl can help prepare an estimated seller net sheet.

Do I have to report the sale of my home on my tax return?

Reporting requirements depend on the circumstances. For example, IRS rules may require the sale to be reported if the seller cannot exclude all of the gain or if certain reporting documents such as Form 1099-S are issued. A tax professional should confirm the applicable federal and California filing requirements. See IRS Topic No. 701 for details.

Can I use a 1031 exchange to sell my Murrieta home and buy another home?

In general, no: a principal residence does not qualify for a 1031 exchange simply because the owner plans to reinvest the proceeds into another home. 1031 exchanges apply to qualifying real property held for investment or business use and have strict timing, documentation, qualified-intermediary, and property-use requirements.

Educational Disclaimer

This information is provided for general educational purposes only and is not tax, accounting, or legal advice. Tax laws are complex and can change. Every seller's circumstances are different. Consult a qualified CPA, tax professional, or attorney regarding your individual situation.

Tax Information Disclaimer

This page provides general educational information about real estate-related tax concepts and is not tax, legal, accounting, or financial advice. Federal and California tax laws, exclusions, basis rules, reporting requirements, and individual circumstances vary and can change. Consult an appropriate qualified tax professional regarding your specific situation.

Last reviewed and updated: September 2026

Planning to Sell and Have Tax Questions?

Laura & Cheryl can help with the real estate side of the decision, including a property-specific Comparative Market Analysis, estimated selling expenses, and an estimated seller net sheet. We do not determine a seller's individual tax liability. For adjusted basis, exclusions, depreciation, capital-gains calculations, or other tax questions, consult a qualified tax professional.