FFairbanks EstatesLuxury Real Estate
Seller Tax Guide

Capital Gains Tax When You Sell a Home in California

A plain-English guide to the primary residence exclusion, what happens when your profit tops $500,000, and how tax-smart planning protects your equity.

For most homeowners, the short answer is reassuring. When you sell your primary home in California, you can often keep a large chunk of your profit completely tax free. Federal law lets a single seller exclude up to $250,000 of gain, and a married couple filing jointly up to $500,000, as long as you meet the ownership and use tests. If your profit falls under that threshold, you generally owe no capital gains tax at all. If your profit is larger, and in our luxury markets across El Dorado Hills, Serrano, Granite Bay, and Folsom it often is, only the amount above the exclusion is taxed, and it is taxed as a long-term capital gain.

How much you actually pay depends on your total income and your filing status. Federal long-term capital gains are generally taxed at 0, 15, or 20 percent, high earners may owe an additional 3.8 percent Net Investment Income Tax, and California adds its own bite because it taxes capital gains as ordinary income at rates that reach roughly 13.3 percent at the top. That combination is why California sellers, especially at higher price points, often pay more than sellers in other states. The good news is that with the right basis records, timing, and professional guidance, that number is very manageable.

Here is the honest disclaimer, and it matters. Alex Fairbanks is a licensed Realtor, not a CPA, tax attorney, or financial advisor. Everything on this page is general education to help you ask better questions, not personalized tax or legal advice. Tax laws, income thresholds, and rate brackets change from year to year, and your outcome depends on facts only your own tax professional can confirm. Before you make any decision based on tax consequences, please confirm the current rules and your specific numbers with a qualified CPA or tax attorney.

With that said, this guide walks through everything a California home seller should understand, from the exclusion mechanics to high-value examples, basis calculations, legal ways to reduce or defer the tax, special situations like inherited homes and divorce, and how Proposition 19 can protect your property tax bill when you move. When you are ready to put real numbers to your own sale, you can request a free home valuation, run the seller net-proceeds calculator, and speak with Alex, who can connect you with trusted local CPAs and tax attorneys.

Key Takeaways
  • Most primary-home sellers pay no capital gains tax because the federal exclusion shelters up to $250,000 of gain if you are single and up to $500,000 if you are married filing jointly.
  • You generally qualify for the exclusion if you owned and lived in the home as your main residence for at least two of the last five years before the sale.
  • Only the profit above your exclusion is taxable, and it is taxed as a long-term capital gain, not the entire sale price.
  • California taxes capital gains as ordinary income, which is why California sellers often pay more than sellers in states with no capital gains tax.
  • Your taxable gain is the sale price minus selling costs minus your cost basis, and capital improvements raise your basis and shrink your gain.
  • Good records, smart timing, and strategies like installment sales or a 1031 exchange for investment property can legally reduce or defer the tax.
  • This page is general education, not tax advice, and figures change, so confirm your specific situation with a qualified CPA or tax attorney.

Do you pay capital gains tax when you sell your home in California?

For the majority of homeowners selling their primary residence, the answer is no, you do not pay capital gains tax, or you pay it only on a small portion of your profit. That surprises a lot of sellers who assume the government takes a slice of everything. In reality, the federal tax code includes a generous benefit called the primary residence exclusion, and California follows the federal rules on this point. It lets a single filer exclude up to $250,000 of gain from the sale of a main home, and a married couple filing jointly exclude up to $500,000. If your gain is smaller than your exclusion, you generally owe zero capital gains tax.

It is important to understand what capital gains tax is actually charged on. It is not charged on your sale price, and it is not charged on the amount of cash you walk away with at closing. It is charged on your gain, which is roughly the difference between what you net from the sale and your cost basis in the home. If you bought a home years ago for far less than today's value, your gain can be large even though your mortgage payoff eats up much of the proceeds. That distinction is where a lot of anxiety comes from, and where good planning helps.

In the greater Sacramento region, and especially in luxury communities like El Dorado Hills, Serrano, Granite Bay, and Folsom, homes have appreciated substantially. A family that bought a foothill estate a decade or two ago can easily have a paper gain that exceeds the $500,000 exclusion. When that happens, the exclusion still shelters the first $500,000 for a married couple, and only the amount above that gets taxed. So even in high-value sales, the tax is on the overage, not the whole thing.

There are also situations where no capital gains tax applies for a different reason, such as a home inherited at a stepped-up basis, or a sale where the gain simply falls below the exclusion. And there are situations where more of the gain is taxable, such as a second home, a rental property, or a home you have not lived in long enough to qualify.

Because the specifics depend on your ownership history, your marital status, and your basis, treat this section as a starting framework, not a final answer. The rest of this guide unpacks each piece. And when you want to see the real numbers for your property, a free valuation plus the seller net-proceeds calculator will give you a clear estimate, and Alex can connect you with a CPA to confirm the tax side.

How does the $250,000 and $500,000 home sale exclusion work?

The primary residence exclusion comes from Section 121 of the federal tax code, and it is the single most valuable tax break available to home sellers. In plain terms, it lets you exclude, meaning permanently avoid tax on, up to $250,000 of gain if you file as a single taxpayer, and up to $500,000 of gain if you are married and file jointly. This is not a deduction you have to itemize or a credit you apply for. If you qualify and your gain is within the limit, that gain simply is not taxed.

To qualify, you generally have to pass what is often called the two out of five year test. First is the ownership test, which asks whether you owned the home for at least two years during the five year period ending on the date of sale. Second is the use test, which asks whether you lived in the home as your main residence for at least two years during that same five year window. The two years do not have to be continuous, and the ownership and use periods do not have to be the same two years, they just both have to fall within the last five. For married couples claiming the full $500,000, both spouses generally must meet the use test, and neither can have used the exclusion on another home sale within the past two years.

A few practical points help here. The exclusion can be used more than once in a lifetime, generally as often as every two years, so it is not a one time benefit. Second homes and vacation properties do not qualify because they are not your main residence. And a home that has been part rental and part residence, or converted between the two, gets more complicated, which we cover in the special situations section.

There are also partial exclusions available when you do not fully meet the two year tests but you sold because of a change in employment, a health issue, or certain other unforeseen circumstances. In those cases you may still exclude a prorated portion of the gain based on how long you did qualify. That can be a meaningful benefit for someone who took a job in another city after eighteen months in a home.

Because the exclusion rules include timing traps, especially the two year clock and the once every two years limit, it is worth confirming your eligibility before you list, not after. Alex can help you think through timing on the real estate side, and a CPA can verify the tax mechanics for your exact situation. Remember that the specific rules and any figures can change, so confirm the current law when it is time to sell.

What if your profit is more than $500,000?

This is the question luxury sellers in our region ask most, and it deserves a clear answer. If your gain exceeds your exclusion, you do not lose the exclusion, and you are not suddenly taxed on your entire profit. You still get to shelter the first $250,000 if you are single or the first $500,000 if you are married filing jointly, and only the gain above that amount is taxable. That taxable overage is treated as a long-term capital gain, assuming you owned the home longer than a year, which is almost always the case for a primary residence.

Let us walk through a realistic example. Imagine a married couple sells a Granite Bay estate. They bought it years ago and, after accounting for selling costs and their cost basis, their total gain comes to $900,000. Their $500,000 married exclusion wipes out the first $500,000 of that gain entirely. The remaining $400,000 is taxable as a long-term capital gain. It is that $400,000, not the $900,000 and certainly not the sale price, that flows into their federal and California tax calculations.

How much tax that $400,000 generates depends on their other income for the year. Federal long-term capital gains are generally taxed at 0, 15, or 20 percent depending on total taxable income, and a high-earning couple could also owe the additional 3.8 percent Net Investment Income Tax on some or all of it. On top of that, California taxes the gain as ordinary income, which for high earners can reach roughly 13.3 percent at the top. So the combined effective rate on that taxable slice can be meaningful, which is exactly why planning matters at this price point.

The encouraging part is that there are levers. The larger your documented cost basis, the smaller your gain, so capital improvements you made over the years directly reduce the taxable amount. Timing the sale into a year with lower other income can lower the federal rate that applies. And for the right seller, spreading the gain over multiple years through an installment sale may soften the impact. None of these are one size fits all, and each has tradeoffs.

If your equity puts you over the exclusion, this is precisely the moment to run the numbers before you decide when and how to sell. Alex can help you position the sale price and time the listing strategically, and can connect you with a CPA or tax attorney who will model the actual tax on your overage. Because rates and thresholds change year to year, always confirm the current figures rather than relying on a general example like this one.

How are capital gains actually taxed in California?

Understanding your bill means looking at two layers, federal and state, because they work differently. On the federal side, profit from selling a home you owned for more than a year is a long-term capital gain, and long-term gains get preferential rates. Those rates are generally 0, 15, or 20 percent, and which one applies depends on your total taxable income and filing status for the year. Many middle-income sellers fall into the 0 or 15 percent band, while high earners hit the 20 percent tier on the top portion of their gain.

There is a second federal layer for higher earners called the Net Investment Income Tax. It adds 3.8 percent on top of certain investment income, including taxable capital gains, once your income crosses specified thresholds. For a luxury seller with a large taxable gain, that 3.8 percent can apply to some or all of the amount above the exclusion, so it is worth factoring in rather than forgetting about.

The part that catches California sellers off guard is the state layer. California does not offer a special lower rate for capital gains the way the federal government does. Instead, California taxes capital gains as ordinary income, using the same graduated brackets that apply to wages. At the top, California's rate reaches roughly 13.3 percent. That means a high-income seller can stack a federal long-term rate, possibly the extra 3.8 percent, and a California ordinary-income rate on the same taxable gain. This stacking is the core reason California sellers often pay more overall than sellers in states with no income tax.

Here is a simple way to think about it. The exclusion protects a large base layer of your profit from all of this. Only the gain above the exclusion runs through these federal and state calculations. So two sellers with identical homes and identical gains can owe very different amounts depending on their filing status, their other income, and whether their overage pushes them into higher brackets or across the Net Investment Income Tax threshold.

Because the exact brackets, income thresholds, and even the top California rate can shift from year to year, treat the percentages here as general guideposts rather than promises. The framework is stable, the precise numbers are not. A CPA can tell you which federal bracket you will land in, whether the 3.8 percent applies to you, and what California will actually assess. If you want to estimate your net proceeds before taxes as a starting point, the seller net-proceeds calculator on the Fairbanks Estates site gives you a clean baseline, and Alex can connect you with a tax professional to layer the tax analysis on top.

How do you calculate your taxable gain on a home sale?

Calculating your gain is more forgiving than most people expect, because several things you spent money on reduce it. The basic formula is straightforward. Start with your sale price, subtract your selling costs, and subtract your cost basis. What is left is your gain. Then you apply your exclusion to that gain, and only what remains is potentially taxable. Getting each input right is where sellers either overpay or protect their equity.

Selling costs are the expenses directly tied to the sale, and they come off the top. These commonly include the real estate commission, escrow and title fees, transfer taxes, and certain other closing costs paid by the seller. Because these reduce the amount treated as your proceeds, keeping your closing statement is essential, it documents exactly what you can subtract.

Cost basis is where the real opportunity lives, and it is more than just your purchase price. Your basis starts with what you originally paid for the home, and it can include certain costs you incurred when you bought it. From there, it increases with the capital improvements you made over the years. A capital improvement is a lasting upgrade that adds value or prolongs the life of the home, think a room addition, a remodeled kitchen, a new roof, a swimming pool, a permanent landscaping project, or a major system replacement. Routine repairs and maintenance generally do not count, but true improvements do, and they can add up to a very large number over a decade or two of ownership.

Here is why this matters so much. Every dollar you can legitimately add to your basis is a dollar less of gain. For a luxury home where the owners invested heavily in renovations, careful basis tracking can shave tens or even hundreds of thousands of dollars off the taxable gain. The catch is documentation. The IRS expects you to substantiate improvements with receipts, invoices, permits, and contracts. Sellers who never kept those records often cannot claim improvements they genuinely made, and they pay tax they could have avoided.

The practical takeaway is to build a basis file long before you sell, and if you are selling soon, gather every improvement record you can find now. Confirm which specific expenses qualify with your CPA, because the line between a deductible improvement and a nondeductible repair is not always obvious, and the rules have nuance. When you are ready to model your sale, a free home valuation gives you a realistic sale price, the seller net-proceeds calculator estimates your costs, and Alex can help you assemble the picture and connect you with a tax professional to finalize the basis and gain.

How do inheritance, divorce, and rental conversions change the tax?

Several common life situations change the capital gains picture significantly, and knowing the general rules helps you avoid costly mistakes. Each of these deserves professional review, because the details drive the outcome.

Inherited homes benefit from one of the most valuable rules in the tax code, the step-up in basis. When you inherit a property, its cost basis is generally reset to its fair market value as of the date of the previous owner's death, rather than what that person originally paid. This can dramatically reduce or even eliminate the taxable gain. If you inherit a foothill home worth well over a million dollars and sell it soon after for near that value, your gain measured from the stepped-up basis may be small, even though the original owner's gain would have been enormous. This is why heirs should get a date-of-death valuation and keep it.

Divorce introduces its own rules. Transfers of a home between spouses as part of a divorce are generally not taxable events at the time of transfer, but the exclusion can get complicated afterward. Whether a departing spouse still qualifies for the exclusion, and whether the couple can claim the full $500,000 or only $250,000 each, depends on timing, who lived in the home, and how the settlement is structured. Coordinating the sale timing with the divorce agreement can make a real difference, so this is a situation to plan carefully with both a family law attorney and a tax professional.

Converting a rental into a primary residence, or a primary residence into a rental, is another area with traps. If you move into a former rental, you may eventually qualify for the exclusion, but a portion of the gain tied to the period it was a rental, plus any depreciation you claimed, generally does not get the exclusion and may be taxed. Depreciation recapture in particular surprises owners, because it can be taxed even when the rest of the gain is excluded. Going the other way, moving out and renting your former home, starts the clock on the two out of five year use test, and if you rent it too long you can lose the exclusion entirely.

Finally, partial exclusions can rescue sellers who do not meet the full two year tests but sold for a qualifying reason such as a job relocation a certain distance away, a health-related move, or other unforeseen circumstances recognized by the tax rules. In those cases you may exclude a prorated share of the gain based on the portion of the two years you satisfied.

Because these situations hinge on specific facts, dates, and dollar amounts, and because the rules carry exceptions, please confirm your exact scenario with a qualified CPA or tax attorney before you act. Alex has guided many families through sales tied to inheritance, divorce, and relocation, and can coordinate the real estate side while your tax professional handles the numbers.

How does Proposition 19 affect your property taxes when you move?

Capital gains tax is only one piece of the tax puzzle when you sell and move. In California there is a second tax that matters enormously, your annual property tax, and Proposition 19 changed the rules in a way that can save longtime homeowners a great deal of money. This is a different tax from capital gains, so do not confuse the two, but it belongs in any complete conversation about selling.

Here is the background. Under California's Proposition 13, your property is generally assessed based on what you paid for it, with only small annual increases, which means longtime owners often pay property taxes based on a value far below today's market. That is wonderful while you stay put, but historically it created a lock-in effect, because moving to a new home meant getting reassessed at current market value and facing a much larger property tax bill. For someone who bought decades ago, that jump could be severe enough to discourage downsizing.

Proposition 19 addressed this for eligible homeowners. In general terms, if you are age 55 or older, or severely disabled, or a victim of a qualifying wildfire or natural disaster, you may transfer the taxable value of your current home to a replacement home in California. That means you can move and carry your lower assessed value with you, rather than being reassessed at full market value. There are rules about how many times you can do this, the timing between selling and buying, and how the benefit is adjusted if the new home is more expensive than the old one, but the core benefit is powerful for downsizers and empty nesters.

For luxury sellers in El Dorado Hills, Granite Bay, and the surrounding foothills, this can be transformative. A couple selling a large estate to move into a smaller single-story home nearby may keep a property tax bill based on their old, lower assessed value instead of the new purchase price. Over the years, that difference can amount to substantial ongoing savings, and it often changes the math on whether and when to make the move.

Proposition 19 also changed the rules for transferring property to children and grandchildren, generally narrowing the old parent-to-child exclusion, which is an important consideration for estate planning families. Those inherited-property rules are nuanced and have their own conditions.

Because Proposition 19 has specific eligibility requirements, deadlines, and value calculations, and because these rules can be updated, confirm the current details with your county assessor and a qualified professional before you rely on them. Alex works with downsizers throughout the region who use this benefit, and can help you sequence the sale and purchase so the timing works in your favor.

How does Alex Fairbanks help luxury sellers plan a tax-smart sale?

A tax-smart sale is not something you bolt on at the closing table. It is the result of positioning, timing, and coordination that starts well before your home hits the market. That is where Alex Fairbanks adds value, not by giving tax advice, but by handling the real estate decisions that shape your tax outcome and by connecting you with the right professionals to handle the rest.

Start with the sale price, because it is the foundation of your gain. Pricing and marketing a luxury home to attract the strongest possible offer is Alex's core craft. With over 11 years serving the greater Sacramento region, 250 plus families guided, more than 100 five-star Google reviews, and over $100 million in sales, Alex knows how to present El Dorado Hills, Serrano, Granite Bay, Folsom, and foothill estates to command their full value. A strong, well-supported sale price maximizes your proceeds, and the exclusion still shelters a large base of your gain regardless.

Timing is the next lever. The year and even the closing date of your sale can influence which federal capital gains rate applies and whether you cross income thresholds, and Proposition 19 timing can protect your future property taxes when you buy your next home. Alex helps you sequence listing, negotiation, and closing so the real estate calendar supports whatever plan you and your tax advisor set. For downsizers, that often means coordinating the sale and the replacement purchase so the Proposition 19 benefit lands cleanly.

Just as important, Alex helps you get organized early. That means gathering the improvement records that build your cost basis, understanding your likely net proceeds before you commit, and knowing what questions to bring to a tax professional. On the Fairbanks Estates site you can request a free home valuation to establish a realistic sale price, use the seller net-proceeds calculator to estimate your costs and cash at closing, and then speak with Alex directly.

Finally, Alex maintains relationships with trusted local CPAs and tax attorneys and will connect you with the right one for your situation, whether you are navigating a gain over the exclusion, an inherited property, a divorce sale, a rental conversion, or a Proposition 19 move. To reach Alex directly, call (618) 444-1119 or email alex@fairbanksestates.com. DRE #02103315.

One last reminder, because it matters. This guide is general education, not tax or legal advice, and figures and rules change every year. Alex is a Realtor, not a tax advisor, so please confirm your specific numbers and the current law with a qualified CPA or tax attorney before you make decisions. With the right team around you, a high-value California home sale can be both successful and tax-smart.

Frequently asked questions

Do I pay capital gains tax when I sell my home in California?
Often you pay little or none, because the federal primary residence exclusion shelters up to $250,000 of gain if you are single and up to $500,000 if you are married filing jointly. You only owe tax on gain above your exclusion, and California follows these federal exclusion rules. Confirm your eligibility and numbers with a CPA, since the details depend on your situation.
How much is the home sale capital gains exclusion?
A single filer can generally exclude up to $250,000 of gain, and a married couple filing jointly up to $500,000, under Section 121 of the tax code. To qualify you must generally have owned and lived in the home as your main residence for at least two of the last five years. These figures are stable, but always confirm current rules before relying on them.
What happens if my profit is more than $500,000?
You do not lose the exclusion and you are not taxed on the whole sale. You still exclude the first $250,000 or $500,000 of gain, and only the amount above that is taxed as a long-term capital gain. How much you owe on the overage depends on your total income and filing status, so a CPA should model your specific numbers.
How is capital gains tax calculated on a home sale?
Take your sale price, subtract selling costs, and subtract your cost basis to find your gain, then apply your exclusion. Only the gain remaining after the exclusion is potentially taxable. Because capital improvements raise your basis and lower your gain, keeping improvement records is one of the most valuable things a seller can do.
Why do California sellers pay more capital gains tax?
California does not give capital gains a special lower rate. It taxes them as ordinary income at rates that reach roughly 13.3 percent at the top, stacked on top of federal long-term rates and, for high earners, the extra 3.8 percent Net Investment Income Tax. That stacking is why California sellers often owe more than sellers in states without an income tax.
What counts as a capital improvement that raises my basis?
Capital improvements are lasting upgrades that add value or extend the life of the home, such as a room addition, kitchen remodel, new roof, pool, or major system replacement. Routine repairs and maintenance generally do not count. Keep receipts, invoices, and permits, because you must be able to document improvements to claim them, and a CPA can confirm which expenses qualify.
Does the step-up in basis apply to an inherited home?
Generally yes. When you inherit a home, its basis is typically reset to the fair market value on the date of the previous owner's death, which can greatly reduce or eliminate the taxable gain if you sell soon after. Get a date-of-death valuation and keep it. Confirm the specifics with a tax professional, since estate and inheritance rules have important nuances.
Can I use a 1031 exchange on my primary residence?
No. A 1031 exchange defers capital gains tax on investment or business real estate, not on your primary home, which instead relies on the Section 121 exclusion. If you are selling a rental or investment property, a 1031 exchange may help, but it has strict timelines and rules. It is covered in a separate guide and should be set up in advance with a qualified intermediary.
What if I did not live in the home for two full years?
You may still qualify for a partial exclusion if you sold because of a qualifying reason such as a job relocation, a health issue, or certain unforeseen circumstances. In that case you can generally exclude a prorated portion of the gain based on how much of the two years you met. A CPA can determine whether you qualify and calculate the partial amount.
How does divorce affect capital gains tax on our home?
Transferring the home between spouses as part of a divorce is generally not a taxable event at the time of transfer, but exclusion eligibility afterward can get complicated. Whether you claim $250,000 or the full $500,000, and whether a departing spouse still qualifies, depends on timing and the settlement. Coordinate with both a family law attorney and a tax professional.
What is Proposition 19 and how does it help when I move?
Proposition 19 is a property tax rule, separate from capital gains, that generally lets homeowners age 55 or older, severely disabled, or affected by a qualifying disaster transfer their current assessed value to a replacement home in California. This can spare downsizers from a large property tax increase. Rules and deadlines apply, so confirm details with your county assessor and a professional.
Is this page tax advice, and who should I talk to?
No. This is general education, not tax or legal advice. Alex Fairbanks is a licensed Realtor, not a CPA or tax attorney, and tax laws and figures change every year. Please confirm your specific situation with a qualified CPA or tax attorney before making decisions. Alex can connect you with trusted local professionals and help you plan the real estate side.
Fairbanks Estates

Plan a tax-smart luxury home sale in the greater Sacramento region

See what your home is really worth with a free valuation, estimate your take-home with the seller net-proceeds calculator, and talk through timing and strategy with Alex Fairbanks. Alex will help you position and time the sale and connect you with a trusted CPA or tax attorney to confirm your numbers. Call (618) 444-1119 or email alex@fairbanksestates.com. This guide is general education, not tax advice, so confirm current rules with a qualified professional.

Discreet & confidential. Your information is never shared.