Skip to content
Tarek Buys Houses
Back to Blog

Local Insights · · 7 min read

Understanding Capital Gains Tax When Selling Your California Home

Tarek El Moussa · Host of HGTV's Flip or Flop · 20+ Years in Real Estate

Understanding Capital Gains Tax When Selling Your California Home

I still remember my first big flip back in 2008. The adrenaline was pumping, the renovation was finished, and we sold that house for a profit I could barely wrap my head around at the time. But then, tax season rolled around, and I realized that the government wanted a seat at the closing table too. Whether you're a seasoned investor or a homeowner selling your primary residence for the first time, seeing that "Capital Gains Tax" line item can feel like a punch to the gut if you aren't prepared for it.

In my twenty years in this business—through over 1,000 deals and years of filming Flip or Flop and Flipping 101—I've learned that what you keep is much more important than what you sell for. California is a beautiful place to live, but it's also one of the most complex states when it comes to real estate taxes. If you're planning to sell your home, you need to understand how much you're actually going to walk away with after the taxman takes his cut.

Understanding Capital Gains Tax When Selling Your California Home

What Exactly is Capital Gains Tax?

A cinematic wide-angle exterior of a luxury Spanish-revival California home at sunset, featuring a manicured lawn, palm

Let's keep it simple. Capital gains tax is the tax you pay on the profit you make from selling an asset—in this case, your home. If you bought a house in Irvine for $600,000 ten years ago and sell it today for $1.1 million, that $500,000 difference is your "gain."

But here's the kicker: the IRS and the State of California don't just look at the raw numbers. They look at your cost basis.

The cost basis is the original purchase price plus any capital improvements you made over the years. This is why I always tell my students on Flipping 101 to keep every receipt. That new roof you put on in 2018? That increases your cost basis. The new HVAC in 2020? Increases your cost basis. If you've spent $100,000 on improvements over the years, your "taxable gain" drops by $100,000.

The Section 121 Exclusion: Your Best Friend

The IRS isn't completely heartless. They have a rule called "Section 121" that allows you to exclude a significant portion of your capital gains from taxation.

The Basic Rule

  • Single Filer: Exclude up to $250,000 of gain
  • Married Filing Jointly: Exclude up to $500,000 of gain

The "2-in-5" Test

To qualify, you must have:

  1. Owned the home for at least 2 of the last 5 years
  2. Lived in it as your primary residence for at least 2 of the last 5 years

If you meet both tests, you can wipe out up to half a million dollars in profit tax-free. This is a huge deal and the reason most homeowners pay zero capital gains tax when they sell.

"The Section 121 exclusion is the most powerful tax break in real estate. If you qualify for it, you're essentially selling your home tax-free up to $500,000 in profit." — Tarek El Moussa

When You Might NOT Qualify

Life is messy, and sometimes the 2-in-5 rule is hard to meet. Here are common situations where you might qualify for a partial exclusion:

  • Job Relocation: If you got a new job more than 50 miles away, you can prorate the exclusion.
  • Health Reasons: If you're selling because of a health issue (yours or a family member's), you may qualify for a partial exclusion.
  • Unforeseen Circumstances: Divorce, death, multi-person birth, and natural disasters are considered "unforeseen" and can qualify you for a partial exclusion.

If you're going through a divorce and need to sell your house fast in Orange County, talk to a CPA about partial exclusions. You might still be able to shield a significant portion of your gain.

California State Capital Gains Tax

Here's where it gets expensive. California treats capital gains as ordinary income. That means your real estate profit is added to your other income, and you're taxed at your marginal rate.

2024 California Tax Brackets (Simplified)

  • 0-10%: Up to ~$10,000 (single)
  • 2-9%: Middle brackets
  • 10.3-13.3%: High earners (over ~$300,000)

If you're in the top bracket, you're paying 13.3% to California on top of your federal capital gains tax. Combined, you could be looking at 25-30% of your profit going to taxes.

Strategies to Minimize Your Capital Gains Tax

1. Maximize Your Cost Basis

Keep every receipt for every improvement. That bathroom remodel, that patio addition, that new water heater—all of it increases your cost basis. The higher your basis, the lower your gain.

2. Time Your Sale

If you're close to the 2-year mark, wait. Selling a few months early could cost you tens of thousands in unnecessary taxes. I've seen people sell 2 weeks before the 2-year anniversary and lose the entire exclusion.

3. Use a 1031 Exchange (for Investment Properties Only)

If you're selling a rental or investment property (not your primary residence), you can defer taxes indefinitely by reinvesting the proceeds into another "like-kind" property. I've used 1031 exchanges to defer hundreds of thousands in taxes over the years.

4. Consider Your Filing Status

If you're recently married, you may qualify for the full $500,000 exclusion. If you're recently divorced, you can each claim the $250,000 exclusion on your separate returns.

5. Sell for Cash and Avoid Fees

This isn't a "tax saving" directly, but when you sell your house fast for cash, you're not paying 5-6% in commissions. That extra money stays in your pocket and isn't subject to transaction costs.

Common Capital Gains Mistakes

Not Tracking Improvements

The most common mistake. If you don't have receipts, you can't prove your cost basis. Start a "Home Improvement Folder" today and keep it forever.

Confusing "Repairs" with "Improvements"

  • Repairs (fixing a leaky faucet) don't increase cost basis.
  • Improvements (adding a new bathroom) do. Keep them separate in your records.

Forgetting About Depreciation Recapture (Investors)

If you've been depreciating a rental property, the IRS will "recapture" that depreciation when you sell. This is taxed at a flat 25% (federal). This can be a huge surprise for landlords who didn't plan ahead.

The Bottom Line: Knowledge is Power

Capital gains tax is complicated, but it's manageable. The key is preparation: keep records of your improvements, understand the 2-in-5 rule, and plan your sale timing carefully.

If you're ready to sell and want a fair, fast, no-obligation cash offer, I can help you on the real estate side. Then, take that offer to a tax professional and let them work their magic.

Ready to get started? Visit tarekbuyshouses.com or call (866) 407-3411. Let's talk.

Frequently Asked Questions

Do I have to pay capital gains tax if I buy another house?

No. The Section 121 exclusion is based on the sale of your primary residence, not what you do with the money afterward. Whether you buy a new house, rent, or move into a van down by the river, the exclusion works the same way.

What if the house has depreciated?

If your home's value has gone down (yes, it's possible in some markets), you cannot claim a capital gains loss on your primary residence. The IRS considers a primary residence a personal asset, not an investment.

How do I report the sale to the IRS?

You'll receive a Form 1099-S from the title company if the sale exceeds certain thresholds. You report the sale on Form 8949 and Schedule D of your tax return. Even if you owe zero tax (because of the Section 121 exclusion), you still need to file the forms.

More Helpful Guides

Ready to Sell Your House?

Get a fair cash offer. No fees. No repairs. No obligation. Just text or call.

No obligation · 100% confidential · Speak with a local specialist

Get Your Free Cash Offer

Enter your address and info to get started.

Step 1 of 3: Property Address

Property Address

— or reach us directly —