San Francisco’s extreme housing costs create a complicated rent-vs-buy decision. With median homes at $1.3 million and rents around $3,500/month for a 2BR, the math often favors renting — especially for tech workers who may relocate.
Here’s the complete financial analysis for the SF market.
Table of Contents
Quick Answer: Rent or Buy?
Your Situation
Recommendation
Why
Staying 1-4 years
Rent
Transaction costs too high
Staying 5-7 years
Rent (usually)
Still below breakeven
Staying 8-10 years
Consider buying
Approaching breakeven
Staying 10+ years
Likely buy
Long-term ownership advantages
Have rent-controlled apt
Definitely rent
Below-market rate too valuable
SF Breakeven Timeline by Property Type
Property Type
Years to Break Even
Notes
Single-family home
6-8 years
Better appreciation
Condo (SOMA/MB)
7-10 years
High HOAs, slower appreciation
TIC (Tenancy-in-Common)
5-7 years
Lower price, some hassles
East Bay alternative
5-7 years
Lower prices, similar rents
The Real Cost Comparison
Scenario: $1.2M Condo vs. $4,000/month Rent
Cost
Buy
Rent
Upfront
Down payment (20%)
$240,000
$0
Closing costs (4%)
$48,000
$0
SF transfer tax (1.5%)
$18,000
$0
Monthly
Mortgage (6.5%, 30yr)
$6,080
$0
HOA fees
$800
$0
Property taxes (1.2%)
$1,200
$0
Insurance
$200
$25
Rent
$0
$4,000
Total monthly
$8,280
$4,025
5-Year Comparison
Factor
Buy ($1.2M)
Rent ($4,000/mo)
Upfront costs
$306,000
$8,000 security
Monthly costs (5 yrs)
$496,800
$261,600
Selling costs (5%)
$66,000
$0
Equity built
+$95,000
$0
Appreciation (3%/yr)
+$65,000
$0
Down payment invested
$0
+$95,000
Net cost
$708,800
$174,600
After 5 years, buying cost $534,200 more than renting.
10-Year Comparison
Factor
Buy ($1.2M)
Rent ($4,000/mo)
Total costs
$1,282,000
$570,000
Equity built
+$215,000
$0
Appreciation (3%/yr)
+$145,000
$0
Down payment invested
$0
+$232,000
Net cost
$922,000
$338,000
Even at 10 years, renting remains significantly cheaper in this example.
SF-Specific Costs
Transfer Taxes (Unique to SF)
Purchase Price
SF Transfer Tax Rate
Up to $250K
0.68%
$250K-$1M
0.68%
$1M-$5M
1.5%
$5M-$10M
2.25%
$10M+
3%
A $1.5M home pays $22,500 in transfer tax alone.
Total Buying Costs
Cost
Amount
Notes
Transfer tax (1-3%)
$15,000-$45,000
Based on price tier
Title insurance
$3,500-$6,000
Required
Closing costs
$20,000-$40,000
Various fees
Appraisal
$500-$800
Required
Inspection
$500-$1,000
Essential
Total
$40,000-$95,000
3-6% of price
The Rent Control Factor
San Francisco has strong rent control laws:
Rent Type
Typical Savings
Who Qualifies
Rent-controlled (pre-1979)
20-40% below market
Most SF apartments
Market rate
n/a
Newer buildings
Single-family homes
Not controlled
Exempt
If you have rent control, almost never buy. Your below-market rent is essentially a financial asset worth hundreds of thousands over time.
Rent Control Value Example
Scenario
Annual Rent
10-Year Total
Market rate ($4,500/mo)
$54,000
$620,000
Rent controlled ($2,800/mo)
$33,600
$400,000
Savings
$20,400/yr
$220,000
By Neighborhood: Rent or Buy?
High-End SF
Neighborhood
Median Buy
Comparable Rent
Verdict
Pacific Heights
$3,500,000
$8,000/mo
Rent (12+ years)
Marina
$2,500,000
$5,500/mo
Rent (10+ years)
Noe Valley
$2,000,000
$5,000/mo
Rent (9+ years)
Middle SF
Neighborhood
Median Buy
Comparable Rent
Verdict
Mission
$1,500,000
$4,000/mo
Rent (8+ years)
Sunset
$1,400,000
$3,500/mo
Rent (7+ years)
Richmond
$1,500,000
$3,500/mo
Consider (7-8 years)
“Affordable” SF
Neighborhood
Median Buy
Comparable Rent
Verdict
Excelsior
$1,100,000
$3,000/mo
Consider (6-7 years)
Bayview
$950,000
$2,800/mo
Consider (5-6 years)
Outer Mission
$1,050,000
$2,800/mo
Consider (6 years)
East Bay Alternatives
City
Median Buy
Comparable Rent
Verdict
Oakland (nice areas)
$850,000
$3,000/mo
Consider (5-6 years)
Berkeley
$1,300,000
$3,500/mo
Rent (7+ years)
Richmond
$650,000
$2,200/mo
Consider (5 years)
Tech Compensation & Buying
Many SF buyers are tech workers with unique compensation:
Factor
Impact on Rent vs. Buy
RSU volatility
Down payment at risk
High income, short tenure
May move in 3-5 years
Company IPO potential
Could afford later
Remote work options
May leave Bay Area
Tech Worker Scenarios
Profile
Recommendation
Why
New grad, 1-2 years
Rent
Likely to move
Senior IC, 5+ years
Consider
More stable
Manager, family
Consider
Staying long-term
Pre-IPO, equity heavy
Rent
Wait for liquidity
The Opportunity Cost Math
Investing Down Payment Instead
Down Payment
Invested at 7%/yr
After 10 Years
$150,000
Rent + invest
$295,000
$260,000
Rent + invest
$512,000
$400,000
Rent + invest
$787,000
SF home appreciation has averaged 5-6% historically — slightly below stock market returns.
Condo vs. Single-Family Math
Single-Family Advantages
Factor
Single-Family
Condo
HOA fees
$0
$500-$1,500/mo
Appreciation
5-6%/year
3-4%/year
Control
Full
Limited
Special assessments
Rare
Common
Breakeven
6-8 years
7-10 years
Condo Reality
Condo Challenge
Financial Impact
High HOA fees
+$600-$1,500/month
Special assessments
$10,000-$50,000+
Slower appreciation
1-2% less than SFH
Resale difficulty
Longer time to sell
For condos, renting often remains cheaper even at 10+ years.
When Buying May Make Sense
Situation
Why Buying Could Win
Staying 10+ years
Time to recover costs
Found below-market deal
Better numbers
Very high rent
Breakeven faster
Building equity priority
Forced savings
Hate moving
Stability value
Plan to house-hack
Extra income
When Renting Wins
Situation
Why Renting Wins
Staying < 7 years
Can’t recover costs
Have rent control
Below-market too valuable
May leave Bay Area
Flexibility crucial
Tech career uncertainty
Layoff risk real
Would invest down payment
Market returns win
Don’t want HOA drama
Assessments, rules
Total Cost: 10-Year Scenario
Buy: $1.3M Home, 20% Down
Year
Cumulative Cost
Equity
Net Position
1
$155,000
$25,000
-$130,000
3
$345,000
$80,000
-$265,000
5
$555,000
$140,000
-$415,000
7
$785,000
$205,000
-$580,000
10
$1,100,000
$310,000
-$790,000
Includes opportunity cost of $260K down payment
Rent: $4,500/month + Invest Down Payment
Year
Cumulative Cost
Investment Value
Net Position
1
$54,000
$278,000
+$224,000
3
$172,000
$318,000
+$146,000
5
$299,000
$365,000
+$66,000
7
$438,000
$418,000
-$20,000
10
$660,000
$512,000
-$148,000
Renting stays ahead until ~year 8 , and the gap remains narrow through year 10.
Key Takeaways
SF breakeven is 6-9 years — longer for condos
Transfer taxes add 1-3% to closing costs
Rent control is extremely valuable — don’t give it up
Condos have worst math — HOAs + slow appreciation
Tech workers often better renting — career mobility matters
East Bay slightly better numbers — lower prices, similar rents
Investing down payment often beats SF appreciation