Capital Gains Tax on Investment Property Explained
1031 Exchange Services in San Francisco, CA
Investment property capital gains tax applies whenever an investor sells commercial or income producing real estate for more than its adjusted basis, whether the asset is a multifamily building, an office property, or a portfolio of net lease retail buildings. For San Francisco, CA investors, the calculation starts with the original purchase price, adds qualifying capital improvements such as roof replacements or major system upgrades, and subtracts accumulated depreciation and selling costs to arrive at the taxable gain. Because Bay Area commercial property values have appreciated significantly over long holding periods, the resulting gain on a sale can be substantial even after accounting for renovation costs and broker commissions.
How Basis and Cost Segregation Affect the Numbers
Investors who used cost segregation studies to accelerate depreciation on shorter lived building components generally reduced their taxable income in earlier years, but that acceleration also reduces basis faster, which increases the taxable gain and depreciation recapture exposure at sale. We see this pattern frequently among San Francisco, CA investors who purchased commercial property with a cost segregation strategy and are now evaluating an exit years later. Understanding how much of the total gain is ordinary recapture, taxed federally up to twenty-five percent, versus long term capital gain, taxed federally up to twenty percent plus the net investment income tax, is essential to estimating the true after tax proceeds from a sale.
California layers its own tax on top of the federal calculation, taxing the entire recognized gain as ordinary income under state law rather than applying a reduced capital gains rate. This means an investment property sale in San Francisco, CA can carry a combined federal and California tax burden that meaningfully exceeds what an investor in a state without an income tax would face on the identical transaction, which is a common reason Bay Area investors evaluate deferral strategies more closely than sellers elsewhere.
Using a 1031 Exchange to Defer the Tax
A Section 1031 exchange allows an investor to defer capital gains tax and depreciation recapture on investment property by reinvesting net proceeds into like kind replacement real property held for investment or business use. The like kind standard is broad, allowing a San Francisco, CA multifamily owner to exchange into industrial property, a net lease retail asset, or property outside California, as long as investment intent is maintained on both sides of the transaction. The exchange requires a qualified intermediary to hold proceeds, written identification of replacement property within forty-five days, and closing on replacement property within one hundred eighty days.
We help investors with commercial and investment property in San Francisco, CA organize the basis, depreciation, and cost segregation records needed to estimate gain before a sale is marketed, since an accurate pre-sale estimate materially changes how an investor evaluates offers, negotiates seller financing, and decides whether a full exchange, a partial exchange, or an outright taxable sale best fits their objectives. Because investment property transactions often involve multiple owners, partnership interests, or tenants in common, we also help coordinate how gain and exchange eligibility are allocated among co-owners before the relinquished property closes.
Investors should confirm final gain calculations, cost segregation recapture amounts, and exchange structuring decisions with their CPA and, where applicable, their attorney, since the interaction between accelerated depreciation, entity structure, and California's tax treatment is fact specific and can materially change the after tax outcome of a sale.
What's Included
- •Adjusted basis and cost segregation recapture estimate coordination
- •Depreciation schedule review with the investor's CPA
- •California ordinary income tax treatment explanation
- •1031 exchange eligibility review for commercial and investment property
- •Co-ownership and tenancy in common exchange coordination
- •Pre-sale gain estimate to inform listing and negotiation decisions
Common Situations
- •Investor used a cost segregation study on a San Francisco, CA commercial property and wants to understand recapture exposure before selling
- •Multiple co-owners of an investment property need to coordinate individual exchange decisions before a sale closes
- •Investor is comparing a taxable sale against a 1031 exchange for a multifamily or commercial asset
Frequently Asked Questions
How is capital gains tax calculated on a San Francisco, CA investment property sale?
The taxable gain is generally the sale price minus selling costs and the property's adjusted basis, which is the purchase price plus qualifying improvements minus accumulated depreciation. Depreciation recapture is calculated separately and taxed up to twenty-five percent federally.
Does cost segregation increase my tax bill when I sell?
Cost segregation reduces taxable income during ownership by accelerating depreciation, but it also reduces basis faster, which generally increases the depreciation recapture portion of the gain at sale for a San Francisco, CA investment property.
How does California treat investment property gains differently than the federal government?
California taxes the entire recognized gain as ordinary income, without a preferential capital gains rate. This is layered on top of federal capital gains tax and depreciation recapture for a San Francisco, CA investment property sale.
Can a 1031 exchange defer tax on a commercial investment property in San Francisco, CA?
Yes, if the property was held for investment or business use and proceeds are reinvested into like kind real property within the forty-five day identification and one hundred eighty day closing deadlines through a qualified intermediary.
How does co-ownership affect an investment property exchange?
Each co-owner of a San Francisco, CA investment property generally must decide independently whether to exchange or cash out, and tenancy in common ownership must be properly structured before closing to preserve each owner's individual exchange eligibility.
Related Services
The 45 Day Identification Period
Understand how the forty-five day identification window works, what counts as valid written identification, and how the counting rules apply.
Learn more →The 180 Day Exchange Deadline
Understand how the one hundred eighty day closing deadline runs alongside identification and interacts with your tax filing date.
Learn more →What Is Boot in a 1031 Exchange
Learn how cash boot and mortgage boot arise, and how California taxes recognized gain as ordinary income.
Learn more →The Qualified Intermediary Role
Learn what a qualified intermediary does, why one is required, and how independence and disqualified person rules work.
Learn more →Example Capability
Example of the type of engagement we can handle
Location
San Francisco, CA
Scope
Review basis and cost segregation recapture exposure, coordinate a gain estimate with the investor's CPA, explain 1031 exchange structuring options
Client Situation
Investor had used cost segregation on a San Francisco, CA commercial property years earlier and needed to understand the resulting recapture exposure before listing
Our Approach
We coordinated with the investor's CPA to calculate the recapture and capital gain components separately, explained the California ordinary income treatment, and outlined 1031 exchange options for deferring both
Expected Outcome
Investor received a clear pre-sale gain estimate and proceeded with a 1031 exchange structured around the identified figures
Contact us to discuss your situation in San Francisco, CA. We can share references upon request.
Educational content only. Not tax, legal, or investment advice. 1031 defers income tax on qualifying real property and does not remove transfer or documentary taxes.
Ready to Get Started?
Contact us to discuss your 1031 exchange needs in San Francisco, CA.