Selling Guide

Capital Gains Tax Guide

Most homeowners pay little or no capital gains tax when selling their primary residence. This guide explains how the $250,000 and $500,000 exclusions work, what qualifies as a capital improvement, and when you need to consult a tax professional.

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, "How much tax will I owe when I sell?" For most homeowners in the Murrieta and Temecula area, the answer is reassuring: probably nothing at the federal level, thanks to one of the most generous homeowner tax benefits in the tax code.

The IRS allows you to exclude up to $250,000 (single) or $500,000 (married filing jointly) of capital gain on the sale of your primary residence. For a typical Murrieta home in the $600,000 to $900,000 range that has appreciated steadily, most sellers who have owned their home for several years will fall well within that exclusion. But the rules around capital improvements, cost basis, and California state taxes can get nuanced. This guide breaks it all down so you know exactly where you stand.

Example: How the Exclusion Works

Here is a typical Murrieta scenario. A couple purchased their home for $420,000, made $45,000 in qualifying improvements, and sold for $700,000. Even with a $186,000 gain, the full $500,000 married exclusion means no federal tax owed.

MFJ

Married Filing Jointly

Purchase Price (Cost Basis) $420,000
Plus: Cost of Capital Improvements + $45,000
Adjusted Cost Basis = $465,000
Sale Price $700,000
Minus: Selling Costs (est. 7%) - $49,000
Net Proceeds (before mortgage) $651,000
Capital Gain $186,000
Married Filing Jointly Exclusion - $500,000
Taxable Gain $0

No federal capital gains tax owed

Single

Single Filer

Purchase Price (Cost Basis) $420,000
Plus: Cost of Capital Improvements + $45,000
Adjusted Cost Basis = $465,000
Sale Price $700,000
Minus: Selling Costs (est. 7%) - $49,000
Net Proceeds (before mortgage) $651,000
Capital Gain $186,000
Single Filer Exclusion - $250,000
Taxable Gain $0

No federal capital gains tax owed

Important: This example is for illustrative purposes only. Your actual tax situation depends on your specific cost basis, improvements, selling costs, and filing status. Always consult a qualified tax professional for advice tailored to your situation.

Capital Gains Tax, Explained

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

What Is Capital Gains Tax on a Home Sale?

Capital gains tax is a tax on the profit you earn when you sell an asset — including your home. The gain is calculated as your sale price minus your "adjusted cost basis" (what you originally paid plus the cost of qualifying improvements). If you sell your primary residence and meet the ownership and use tests, you may be able to exclude a significant portion of that gain from taxation. For most homeowners, this means paying little or no federal capital gains tax on the sale of their home.

The $250,000 / $500,000 Exclusion

Under Section 121 of the Internal Revenue Code, single filers can exclude up to $250,000 of capital gain from the sale of their primary residence, and married couples filing jointly can exclude up to $500,000. This is one of the most valuable tax benefits available to homeowners. To qualify, you must have owned and used the home as your primary residence for at least two of the five years leading up to the sale. Most sellers in the Murrieta and Temecula area with a typical price range of $600,000 to $900,000 who have owned their home for several years and meet the two-year test will owe little or no federal capital gains tax.

Qualifying for the Exclusion: The 2-of-5-Year Rule

To qualify for the capital gains exclusion, you must have both owned and lived in the home as your primary residence for at least two of the last five years before the sale. The two years do not need to be consecutive — 24 months (or 730 days) of total occupancy within the five-year window is sufficient. Members of the military, Foreign Service, and intelligence community may qualify for special exceptions that extend the five-year period. If you are selling due to a change in employment, health reasons, or an unforeseen circumstance, you may qualify for a partial exclusion even if you have not met the two-year test.

What Counts as a Primary Residence?

Your primary residence is the home where you live most of the time. You can only have one primary residence at a time, though the IRS considers several factors: where you spend most of your time, the address on your driver's license and vehicle registration, the address on your tax returns and voter registration, the location of your employer, schools, and where your mail is delivered. For the capital gains exclusion, the property must be your primary residence — second homes, vacation homes, and investment properties do not qualify.

How to Calculate Your Capital Gain

The calculation is straightforward: Sale Price minus Adjusted Cost Basis equals Capital Gain (or loss). Your "cost basis" is what you originally paid for the home (purchase price plus closing costs). Your "adjusted basis" is your cost basis plus the cost of any qualifying capital improvements made during ownership, minus any depreciation claimed. Common adjustments that increase your basis include room additions, kitchen or bathroom remodels, new roofing, new HVAC systems, landscaping improvements, and new windows or doors. The higher your adjusted basis, the lower your taxable gain.

Capital Improvements That Increase Your Basis

Not every dollar you spend on your home can be added to your cost basis. The IRS distinguishes between capital improvements and repairs. Capital improvements add value to your home, prolong its useful life, or adapt it to new uses. Examples include adding a bedroom or bathroom, finishing a basement, installing a new roof, replacing the HVAC system, adding a deck or patio, upgrading plumbing or electrical systems, landscaping improvements (fencing, retaining walls, irrigation), and installing solar panels. These costs can be added to your adjusted basis, reducing your taxable gain.

What Does NOT Qualify as an Improvement?

Routine maintenance and repairs are not considered capital improvements and cannot be added to your cost basis. The IRS defines repairs as work that keeps your home in good working order without adding significant value or extending its useful life. Examples include painting walls, fixing a leaky faucet, patching drywall, cleaning carpets, replacing a single broken window, servicing the HVAC system, and lawn care. These costs are considered personal expenses and do not reduce your capital gain. Keep separate records of improvements vs. repairs from the day you buy your home.

California State Taxes on Capital Gains

California treats capital gains as ordinary income and taxes them at the state's regular income tax rates, which range from 1% to 13.3% depending on your total income. This is an important distinction from federal treatment, where capital gains have their own preferential rates. Even if your gain is fully excluded from federal tax under the Section 121 exclusion, California still conforms to the same primary residence exclusion rules — meaning if you qualify for the federal exclusion, you generally also qualify for the California exclusion. However, for gains that exceed the exclusion limits or for investment properties, the California tax burden can be substantial.

1031 Exchange for Investment Properties

If the property you are selling is an investment or rental property (not your primary residence), you may be able to defer capital gains taxes through a 1031 Like-Kind Exchange. This allows you to sell one investment property and reinvest the proceeds into a similar property without paying capital gains tax at the time of sale. The tax is deferred until you eventually sell the replacement property without doing another exchange. The rules for 1031 exchanges are strict: you have 45 days to identify potential replacement properties and 180 days to close on a new property. A qualified intermediary must handle the exchange funds.

When to Consult a Tax Professional

While the capital gains exclusion rules are straightforward for most homeowners, every situation is unique. You should consult a CPA or tax professional if: you are selling before the two-year mark, you have claimed depreciation on a home office or rental portion, you converted a rental property to your primary residence, you inherited the property, you are going through a divorce or separation, you are selling multiple properties in the same year, or you are a foreign national. We work closely with local CPAs and tax professionals and can refer you to trusted advisors who understand California real estate tax rules.

We Provide a Net Sheet Showing Estimated Proceeds

One of the first things we do for every seller is prepare a detailed net sheet that estimates your sale proceeds after all costs and potential taxes. This gives you a clear financial picture before you ever list your home, so you can plan your next move with confidence. We cannot give tax advice, but we can show you the numbers so you know what questions to ask your CPA.

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?

No. Capital gains tax is only owed on a profit. If you sell your home for less than your adjusted cost basis, you have a capital loss. However, unlike investment assets, you generally cannot deduct a loss on the sale of your primary residence for tax purposes.

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

Yes, but only once every two years. The Section 121 exclusion can be used once every two years, as long as you meet the ownership and use tests for each property. There is no lifetime limit on how many times you can use the exclusion.

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

If you sell before meeting the two-year ownership and use test, you may still qualify for a partial exclusion if the sale is due to a change in employment (new job at least 50 miles farther from your home), health reasons (to obtain or provide medical care), or an unforeseen circumstance (divorce, multiple births from the same pregnancy, unemployment, or natural disaster).

How do I prove what I spent on improvements?

Keep receipts, contracts, permits, and before/after photos of every improvement. Canceled checks and credit card statements help, but detailed invoices from contractors are best. If you do not have records, you can use reasonable estimates based on appraisals, real estate agent assessments, or contractor quotes — but the IRS may challenge undocumented claims.

Does California tax capital gains differently from the federal government?

Yes. California treats capital gains as ordinary income and taxes them at the state income tax rates (1% to 13.3%). However, California conforms to the federal Section 121 exclusion for primary residences, so if your gain is excluded at the federal level, it is generally also excluded at the state level. For non-excluded gains, you will pay both federal capital gains tax AND California state income tax on the profit.

Can I exclude capital gains if I converted my rental property to my primary residence?

Yes, but with some limitations. The Section 121 exclusion can apply, but only for the period of time you used the property as your primary residence after the conversion. Additionally, depreciation claimed during the rental period must be "recaptured" and is taxed at a flat 25% rate regardless of the exclusion. The rules are complex, and we recommend consulting a tax professional for your specific situation.

Not Sure About Your Tax Situation?

We are real estate professionals, not tax advisors. But we can show you estimated numbers and connect you with trusted local CPAs who understand California real estate. Reach out for a no-pressure conversation about your home and your goals.