Should you rent or buy in San Francisco? A numerical answer
A 5-year financial comparison of renting versus buying in San Francisco, including all the costs people forget.
The decision to live in San Francisco usually starts as an emotional choice, but it eventually settles into a brutal math problem. If you intend to stay for five years, the financial gap between renting a controlled apartment and buying a median-priced starter home is wide enough to change your retirement timeline.
San Francisco is currently one of the most lopsided real estate markets in the United States. While rents have stabilized or seen modest growth, the cost of entry for ownership remains high, even as interest rates fluctuate. To determine whether buying makes sense, we have to look past the monthly mortgage payment and calculate the opportunity cost of your down payment, the transaction fees of selling, and the relentless reality of maintenance in a city of aging Victorians and mid-century stuccos.
The starting line: A $3,200 rent vs. a $1.2 million purchase
The average rent for a one-bedroom apartment in San Francisco sits at approximately $3,206. In many neighborhoods, this gets you an updated unit in a rent-controlled building, which provides a predictable ceiling on annual increases. Over five years, assuming a modest 3% annual increase—well within the bounds of the San Francisco Rent Board’s historical allowances—your total rent paid would be roughly $204,300. This is "sunk" money, but it buys you freedom from capital risk.
Purchasing a "starter" home or condo in San Francisco currently requires a budget of roughly $1.2 million. This is not a luxury tier; in the current market, this figure buys a modest two-bedroom condo in neighborhoods like the Inner Sunset or a smaller single-family home in the city’s southern reaches like Excelsior or Portola. With a 20% down payment of $240,000 and a 30-year fixed mortgage at 6.8%, your monthly principal and interest payment is approximately $6,260.
At a glance, the buyer is paying nearly double the monthly cost of the renter. However, the renter's cost is simple, while the buyer's cost is a complex machine with many moving parts.
The hidden weight of property taxes and maintenance
Most prospective buyers focus on the mortgage, but the "unrecoverable costs" of ownership in San Francisco are what usually move the needle. Property tax in San Francisco is roughly 1.18% of the assessed value. On a $1.2 million home, that is $14,160 per year, or $1,180 per month. Unlike your mortgage interest, this provides no equity.
Insurance and maintenance add a second layer of expense. While a condo might have an HOA fee that covers some upkeep, a single-family home requires a maintenance budget. A standard rule of thumb is 1% of the home's value per year to cover everything from a leaky roof to a failing water heater. In San Francisco, where labor and materials are among the most expensive in the nation, 1% ($12,000/year) is a conservative estimate.
When you add property tax, $1,500 for annual homeowners insurance, and $12,000 for maintenance to the mortgage, the buyer’s monthly outlay jumps to approximately $8,560. Over five years, the buyer spends $513,600 on housing-related payments. To justify this, the home must appreciate significantly or provide tax advantages that outweigh the rent-vs-buy spread.
The $240,000 opportunity cost
The most overlooked number in the San Francisco housing debate is the $240,000 down payment. If you do not buy a house, that money does not sit in a shoebox; it stays invested.
If a renter takes that $240,000 and puts it into a diversified index fund returning a conservative 7% annually, that capital grows to approximately $336,600 over five years. By choosing to buy, the homeowner is essentially "paying" $96,600 in lost investment gains. This is a real cost. For the homeowner to break even, the property must appreciate enough not just to cover the interest and taxes, but also to beat what that same money would have earned in the S&P 500.
Furthermore, the homeowner is also losing the monthly "spread." The difference between the renter’s $3,206 payment and the buyer’s $8,560 payment is $5,354 per month. If a renter invested that extra $5,354 every month into the same 7% portfolio, they would have an additional $380,000 at the end of five years. This highlights the steep hill a San Francisco buyer must climb: the house isn't just a place to live; it is a massive gamble against the power of compound interest in the stock market.
Transaction costs are the "exit tax" of the city
In San Francisco, buying and selling real estate is expensive. When you purchase, you might pay 1% to 2% in various closing costs. When you sell five years later, you will likely pay a 5% to 6% commission to agents, plus the city’s transfer tax.
San Francisco has a progressive transfer tax. For a property valued between $1 million and $5 million, the tax rate is 0.75%. On a $1.2 million sale, that is $9,000. When combined with agent commissions and escrow fees, it can easily cost $80,000 to sell a $1.2 million home.
This is the primary reason the "five-year rule" is frequently cited. If you sell too early, the transaction costs alone will wipe out any equity you built through monthly principal payments. In the first five years of a 30-year mortgage at 6.8%, very little of your monthly payment goes toward the principal. Most of it is interest. After 60 months, you will have paid down only about $45,000 of the original $960,000 loan. If the home’s value stays flat, you would actually lose money upon selling when you factor in the $80,000 in closing costs.
Where the buyer actually wins
The math sounds dire for the buyer, but there are two scenarios where ownership in San Francisco becomes the superior financial move.
The first is the tax shield. Under current federal law, a married couple filing jointly can deduct the interest on up to $750,000 of mortgage debt. They can also deduct up to $10,000 in state and local taxes (the SALT cap). For a high-earner in San Francisco—where the marginal tax rate can easily exceed 40% when combining federal and California brackets—the mortgage interest deduction can result in a "subsidy" of roughly $15,000 to $20,000 per year in tax savings. This effectively lowers the buyer's monthly cost by about $1,400.
The second factor is appreciation. San Francisco real estate has historically appreciated at an average rate of roughly 4-5% per year, though this has been volatile recently. If a $1.2 million home appreciates at 4% annually, it will be worth approximately $1.46 million in five years.
In this scenario, the buyer has gained $260,000 in equity through appreciation, plus the $45,000 in principal pay-down, totaling $305,000. After subtracting the $80,000 in selling costs, the buyer walks away with $225,000 in profit.
The five-year verdict
When we aggregate these numbers, the "breakeven" point for buying in San Francisco is currently hovering around the seven to nine-year mark, rather than the five-year mark standard in other cities.
Over five years, the renter has spent $204,300. However, their $240,000 down payment and their $5,354 monthly savings have grown into a combined investment portfolio of roughly $716,000.
The buyer, even with 4% annual appreciation and the mortgage interest tax deduction, ends the five-year period with roughly $225,000 in home equity plus their original $240,000 down payment (totaling $465,000 in net wealth from the home).
In this specific San Francisco comparison, the renter ends the five-year period with a significantly higher net worth than the buyer. The high cost of borrowing, combined with the city’s massive property taxes and the opportunity cost of the initial capital, makes renting the mathematically superior choice for those with a short-to-medium horizon.
To make buying the winner in just five years, one of three things must happen: interest rates must drop significantly to allow for a cheaper refinance, the stock market must underperform its historical average, or San Francisco home prices must return to "boom era" double-digit annual appreciation. Without those factors, the person renting a $3,200 apartment and aggressively investing the difference is quietly building a larger fortune.
If you plan to stay in your home for ten years or more, the stability of a fixed mortgage payment eventually outpaces the rising cost of rent, and the compounding appreciation finally overcomes the transaction costs. But if your horizon is only 60 months, keep your down payment in the market and keep your landlord's phone number in your contacts.