The IRS gives you 45 days to identify. Check your deadline →
The 1031 Shop
Home / By state / California / San Francisco

San Francisco, CA

1031 replacement property in San Francisco

San Francisco pricing and regulatory complexity push many exchange sellers toward out-of-state replacement property, subject to California's clawback on the deferred gain.

Key takeaways

  • San Francisco has a population of about 830,235 across roughly 363,970 households, with a median household income of $140,970.
  • Population moved -5.1% over the five years to 2024, against +3.1% nationally.
  • Largest employment sector: professional, scientific and management services at 26.7% of local employment.
  • California taxes capital gains on real property, with a top rate of 13.30%.
  • California applies a clawback: if you exchange California property into another state and later sell without exchanging again, California can still tax the gain originally sourced here.
  • Federal deadlines are identical everywhere: 45 days to identify, 180 days to close.
  • Typical San Francisco product: Limited infill opportunities; most exchange activity here is outbound.
  • You are not required to reinvest in San Francisco or in California.

The San Francisco market

San Francisco pricing and regulatory complexity push many exchange sellers toward out-of-state replacement property, subject to California's clawback on the deferred gain.

San Francisco market data

MeasureSan FranciscoUnited States
Population830,235334,922,499
Households363,970—
Median household income$140,970$80,734
Median age4038.9
Median home value$1,394,500$332,700
Median gross rent$2,476$1,413
Owner-occupied homes38.2%65.2%
Housing vacancy rate12.2%10.1%
Unemployment rate6.1%5.2%
Population, 5-year change-5.1%+3.1%
Median income, 5-year change+25.4%+28.5%
Median home value, 5-year change+27.0%+53.0%

Source: U.S. Census Bureau, American Community Survey 2024 5-Year Estimates, with five-year change measured against the 2019 5-Year Estimates. Figures describe the Census place of San Francisco city, which may differ from the wider metropolitan area.

Who lives and works in San Francisco

San Francisco has about 830,235 residents in roughly 363,970 households.

Median household income is $140,970, well above the national figure of $80,734, and the median home is worth $1,394,500, well above the national figure of $332,700.

Over the five years to 2024 the population fell 5.1%, while the country grew 3.1%, and median home value moved +27.0% over the same period, against +53.0% nationally.

The largest employment sectors are professional, scientific and management services (26.7%), education, health care and social assistance (20.3%) and finance, insurance and real estate (8.6%). San Francisco carries a heavier weighting than the country as a whole in professional, scientific and management services at 26.7% against 12.6% nationally, so a meaningful share of local spending and rent-paying capacity traces back to that sector.

Median gross rent is $2,476, well above the national figure of $1,413, 38.2% of occupied homes are owner-occupied against 65.2% nationally, and the housing vacancy rate is 12.2% against 10.1%.

These figures describe demand, not pricing. Rooftops, household income and the sectors people work in are what underwrite a retail or industrial tenant's ability to pay rent over a long lease. Cap rates depend on the specific asset, tenant and lease terms, not on the market average.

What trades here

Limited infill opportunities; most exchange activity here is outbound.

California tax treatment

California taxes capital gains on real property, with a top rate of 13.30%. California taxes capital gains as ordinary income at the highest state rate in the country, with no preferential long-term rate. California applies a clawback: if you exchange California property into another state and later sell without exchanging again, California can still tax the gain originally sourced here.

Buying in San Francisco on a deadline

The constraint in a San Francisco exchange is rarely the rules, it is the search. Listed inventory has been seen by every buyer, including those with no deadline forcing their hand. We source off-market and pre-market opportunities and filter to what can realistically close inside your remaining days. See how to find replacement property in 45 days, or check your dates with the deadline calculator.

Frequently asked questions

Can I do a 1031 exchange in San Francisco, CA?
Yes. Federal rules apply identically in San Francisco: 45 calendar days to identify replacement property in writing and 180 days to close. California taxes capital gains on real property, with a top rate of 13.30%.
Does California tax my gain on a San Francisco property?
Yes, at a top rate of 13.30%. California taxes capital gains as ordinary income at the highest state rate in the country, with no preferential long-term rate. A 1031 exchange defers it along with the federal tax.
Do I have to buy replacement property in San Francisco?
No. Like-kind treatment does not require staying in the same city, state, or asset class. Many investors selling in San Francisco exchange elsewhere entirely.
What are the demographics of San Francisco?
San Francisco has a population of approximately 830,235, in about 363,970 households, with a median household income of $140,970 and a median age of 40. Source: U.S. Census Bureau, American Community Survey 2024 5-Year Estimates.
Is San Francisco a good market for 1031 replacement property?
No market is right for every exchange, so take this as the fundamentals rather than a recommendation. In San Francisco, the population fell 5.1%, while the country grew 3.1%; median household income is $140,970 against $80,734 nationally; the largest employment sector is professional, scientific and management services at 26.7% of local employment. California taxes capital gains on real property, with a top rate of 13.30%. Those figures describe demand. Whether a specific San Francisco property works for you comes down to the tenant, the lease and your basis, which is what we would go through with you.

Start your search

Looking in San Francisco?

Tell us your deadline and budget. We will send San Francisco options plus anything better we find nearby.

Or the date it already closed.

No cost, no obligation. We never sell your information.

Last updated .