Leaving California? How to Avoid Costly Capital Gains Tax Mistakes

Buy First or Sell First, Part 2 of the series.

“Should we buy our next home first or sell our California one first?”

If you're planning to leave California, you've probably asked yourself that very question.  Maybe you're moving for a better standard living at a lower cost or uprooting to be closer to family, new job, retirement, or simply a fresh start. Whatever the reason, many California homeowners worry that making the wrong move could trigger a large tax bill.

At Apostol Real Estate, one of the most common questions I hear is: Will California still tax me if I move first? followed by Do I have to buy another home to avoid capital gains taxes?

The good news is that most capital gains tax mistakes are completely avoidable. You simply need to understand a few key rules before making your move. 

Allow me to unpack this…

The #1 tax rule most homeowners don't understand

When it comes to capital gains taxes, the IRS doesn't care whether you buy first or sell first.

What matters most is how you used the property before you sold it.  For example: Did you live in the home full-time?  Was it ever used as a rental property?  Did you run a business from part of the home?  How long did you actually live there?

Under IRS rules (Internal Revenue Code Section 121), homeowners may qualify to exclude a large portion of their gain if they owned and lived in the home as their primary residence for at least 2 of the last 5 years before selling.

If you qualify, you may exclude:

  • Up to $250,000 in gain if you're single

  • Up to $500,000 in gain if you're married filing jointly

And here's the important part: This exclusion applies whether you buy first or sell first.

Selling first? Here's what you need to know

While many homeowners choose to sell their California home before relocating, the biggest misconception most have is that you need to immediately buy another home to preserve your tax benefits.

That's simply not true! 

Once you sell a qualifying primary residence, there is no requirement to purchase another home. You can move out of state, rent for a while, or even decide not to buy again.  As long as the property qualifies as your primary residence at the time of sale, your exclusion generally remains intact.

The Biggest Mistake sellers make

Listen, the most common tax trap occurs when homeowners convert their property into a rental—before selling.  If too much time passes and the home falls outside the 2-out-of-5-year residency requirement, some or all of your exclusion may be lost.

That single decision could potentially cost you tens of thousands of dollars in unnecessary taxes. Make sure to check in with your agent, don’t be afraid to ask for advice if you haven’t been in touch since they sold you the house—a good one will be keeping in touch with you too.

Wether you are buying or selling first, trust in your well-researched decision.

Buying first: Here's what you really need to know!

On the flip side, buying your next home before selling your current one can make moving much easier.  

The good news is that purchasing another home does not automatically eliminate your primary residence exclusion on your California home.  You can buy a home in Texas, Nevada, Arizona, Tennessee, Florida—or anywhere else—and still sell your California home later while potentially qualifying for the federal exclusion.

The real risk isn't buying first,it’s waiting too long to sell.  If your California home falls outside the 2-of-5-year occupancy window, some or all of your gain could become taxable.  If you're considering the buy-first strategy, make sure you understand your timeline and consult a qualified tax professional before making major decisions.


The Biggest California tax myth: "I have to reinvest the money into another home now."

This myth refuses to die.  Many homeowners still believe they must buy another home of equal or greater value to avoid taxes. That rule disappeared in 1997! 

Today, there is no requirement to:

Reinvest your proceeds

Buy another home

Buy within a certain timeframe

Purchase in the same state

Your tax treatment is generally determined by your eligibility at the time of sale—not by what you do with the money afterward.  Whether you invest it, save it, travel with it, or use it for retirement is entirely up to you.

Why California makes things more complicated

California follows many federal rules, but there are a few important differences.  The first is that capital gains are taxed as ordinary income.  Second, California does not offer a separate state-level home sale exclusion.  Finally, residency and sourcing rules are strictly examined and adhered to.  

In practical terms, if part of your gain is federally taxable, California will typically want its share as well.  Simply moving out of state after selling does not automatically eliminate California tax obligations.  That's why timing and planning are so crucial to a successful tra

When do Capital Gains Taxes actually apply?

You will owe taxes if:

You didn't live in the home for at least 2 of the last 5 years. 

+ Your gain exceeds the applicable exclusion limits. 

+ The property was used as a rental. 

+ Part of the home was used for business purposes and depreciation was claimed. 

+ The home was not your primary residence.

In these situations, changing the order of buying and selling usually won't solve the problem. Proper planning is what makes the difference.

Five smart moves before you put your home on the market— consider:

✓Confirming your primary residence eligibility

✓ Tracking your occupancy dates carefully

✓ Avoiding rental conversions without professional guidance

✓ Understanding any depreciation or home-office implications

✓ Planning your California residency transition intentionally

I can’t emphasize enough that “most costly tax mistakes happen long before escrow closes.”

The Bottom Line

If you're leaving California, the real question isn't whether you should buy first or sell first.  The real question is whether you're planning correctly.

Buying first doesn't automatically disqualify you. Selling first doesn't start a tax countdown.  Most capital gains surprises can be avoided when you understand the rules before making your move.  A solid plan discussed with your agent today can potentially save you thousands tomorrow.

Let's talk over a coffee & croissant…

If you're considering a move out of California and wondering whether a buy-first or sell-first strategy makes more sense for your specific situation, I'd be happy to help.

No pressure. No sales pitch. 

Just a relaxed conversation where we can discuss your goals, review your options, and help you avoid costly mistakes before they happen.

Schedule a complimentary one-on-one consultation and let's map out the smartest path forward for your move.

Want More Helpful Real Estate Tips?

Subscribe to our KNOWLEDGEBASE for practical, easy-to-understand guidance on California real estate, home selling strategies, market updates, and more moving out-of-state planning articles.

Attend one of our in-person events to gain insights before making your next big move.

Previous
Previous

Selecting the Right Agent for Your Out of State Transition

Next
Next

Buy First or Sell First? A Complete California Home Seller’s Guide to Moving Out of State