When you sell an investment property at a gain, the tax bill can be large enough to change what your next move even looks like. California makes it sharper than most states, because you are not just facing federal capital gains tax. You are facing California’s tax on the same gain, and California taxes capital gains as ordinary income. A 1031 exchange is the tool that lets you defer both, roll the full proceeds into the next property, and keep your capital working instead of handing a chunk of it to the government. We use it often, and we want to explain how it actually works.
One note before we start. This is general information, not tax advice. Every situation has its own wrinkles, and you should consult a qualified tax professional before acting.
What a 1031 Exchange Actually Does
A 1031 exchange, named for the section of the federal tax code, lets you sell an investment property and reinvest the proceeds into another investment property without paying capital gains tax at the time of sale. The tax is not erased. It is deferred. You carry the original cost basis forward into the new property, and the gain stays parked there until you eventually sell without exchanging again.
In California, the deferral covers both the federal gain and the state gain. That second piece matters a great deal here. California has no special lower rate for long-term capital gains the way the federal system does. The gain is taxed at your ordinary state income rate, which can be steep. Deferring it is often the difference between scaling up and standing still.
The Core Rules You Cannot Bend
The mechanics are strict, and the timelines are unforgiving. Miss one and the whole exchange can collapse into a taxable sale.
The 45-Day Identification Window
From the day you close the sale of your old property, you have 45 calendar days to identify your replacement property in writing. No extensions for weekends or holidays. The clock does not stop. This is where many exchanges fail, because owners start looking for the replacement after they sell instead of before.
The 180-Day Closing Window
You have 180 calendar days from the sale of the old property to close on the replacement. The 45-day and 180-day clocks run at the same time, not back to back. So once you hit day 45, you have 135 days left to close on something you already identified.
Like-Kind Property
The replacement must be like-kind, which for real estate is broad. You can exchange an apartment building for retail, raw land for a warehouse, a fourplex for a larger multifamily property. It must be real property held for investment or business use. Your personal residence does not qualify.
Equal or Greater Value and Debt
To defer the entire gain, the replacement property must be of equal or greater value, and you must carry equal or greater debt. If you trade down in value, or pay off debt and do not replace it, the difference is called boot, and boot is taxable. If you are financing the next purchase, our guide to multifamily financing in California is worth reading alongside this.
The Qualified Intermediary
You cannot touch the money. The proceeds from the sale must go to a qualified intermediary, a neutral third party who holds the funds and transfers them into the replacement purchase. If the cash hits your bank account, even for a day, the exchange is dead. Line up your intermediary before you close the sale, not after.
California’s Clawback and Withholding
California adds two wrinkles worth knowing. The first is what people call the clawback. If you do a 1031 exchange out of a California property into a property in another state, California still wants its share of that deferred California-source gain when you eventually sell. The state requires annual reporting to track that deferred gain, and it expects to be paid when the gain is finally recognized. You can defer it, but you cannot escape it simply by leaving the state.
The second is withholding. California has real estate withholding requirements on sales, and the rules around how that interacts with an exchange need to be handled correctly so you are not having tax withheld on a transaction that is properly deferred. This is squarely a conversation for your tax professional and your intermediary.
A Worked Deferral Example
Here is an illustrative picture to show the shape of the benefit. These are example numbers, not current rates or quotes.
Say you bought a small apartment building years ago for $700,000, and today it is worth $1.5 million. Your gain is roughly $800,000, setting aside depreciation recapture for simplicity. Imagine that between federal capital gains tax and California’s tax on that gain, a straight sale would cost you somewhere in the range of $250,000 in combined tax. That is money that leaves your hands the moment you sell.
Now run it as a 1031 exchange instead. You sell for $1.5 million, the qualified intermediary holds the proceeds, and within your windows you close on a replacement property worth $1.5 million or more, carrying at least as much debt. You owe nothing at the time of sale. That entire $250,000 stays invested in the new building, working for you, compounding through rent and appreciation, rather than going to tax. Defer that across several moves over a career and the difference in what you can build is enormous.
Common Mistakes
- Touching the money. The single most common fatal error. Use a qualified intermediary, always.
- Starting the search too late. The 45-day window is short. Smart owners line up replacement candidates before they ever close the sale.
- Trading down. Buying cheaper or carrying less debt creates taxable boot and undercuts the whole point.
- Sloppy identification. The written identification has rules about how many properties you can name and their combined value. Get this right.
- Ignoring depreciation recapture. The deferred tax includes recapture, which has its own treatment. Run the full picture with a professional.
Operator’s Note
If this were our sale, the work would start months before listing, not after. The exchange does not fail in the paperwork. It fails in the calendar. We would have the qualified intermediary chosen, the replacement candidates scouted, and the financing pre-arranged so that the day we close the sale, the 45-day clock is already half handled in our heads. Treat the exchange as the second half of a plan you built before you ever sold. That is how you keep $250,000 working instead of writing a check for it.
The Bottom Line
A 1031 exchange lets you defer both federal and California capital gains tax, roll your full proceeds into a larger property, and keep building. The rules are strict: 45 days to identify, 180 days to close, like-kind property, equal or greater value and debt, and a qualified intermediary holding the funds. California’s clawback means the state tracks deferred gain even if you move out of state. Done right, it is one of the most powerful tools an investor has. Done carelessly, it turns into a taxable sale.
If you are thinking about selling and want to plan an exchange properly, talk with our team early. The sooner the planning starts, the more options you keep. And again, this is general information, so loop in your tax professional before you act.


