San Francisco (San Francisco County) prohibits whole-home short-term rentals for investment properties, so any buyer here has to make the math work on long-term rental alone. In a city where gross yields average 2.3%, well below the 5.3% national median and the 4.0% California median, small differences in entry price matter: a 2-bed apartment around $949,836 against a 3-bed house at $1,734,060 produces a meaningful yield gap because rents don't scale with the price difference. These are gross figures before homeowner association fees, which typically run $7,899 per year for a 2-bed and substantially more in luxury buildings.
These are city medians across 28 ZIP codes. Your specific neighbourhood can sit well above or below, and within a single building one unit with a view can rent for double another on a lower floor.
Short-term rental legal status
Short-term rentals heavily restricted in San Francisco. Investment properties generally not permitted; may require owner occupancy, specific zoning, or other conditions (permit required, $925). San Francisco prohibits short-term rentals of investment properties; only primary residences are eligible. Owner-occupants who rent while absent are capped at 90 days per year. Registration with the Office of Short-Term Rentals costs $925 for a 2-year certification. 14% Transient Occupancy Tax plus Tourism Improvement District fee. Source: Airbnb.
Long-Term Yield Is the Only Game: House vs Apartment by Bedroom
The table below shows gross yields for both strategies, but treat the short-term rental columns as theoretical only. San Francisco caps short-term rentals at 90 nights per year and only for primary residences, so whole-home investment properties cannot legally operate as Airbnb. The long-term rental columns are the decision-relevant numbers.
City medians across 28 ZIP codes. Gross yields before HOA fees (apartments) and before operating costs. Short-term columns are theoretical only, whole-home Airbnb is not legal for investment properties in San Francisco.
Warning: short-term rental yields shown for reference only. San Francisco prohibits whole-home short-term rentals of investment properties. Only owner-occupied primary residences are eligible, and even those are capped at 90 nights per year.
Why Apartments Edge Houses on Gross Yield
The entry price gap drives almost everything. A 2-bed apartment at $949,836 costs roughly half of a 3-bed house at $1,734,060, but long-term rents don't divide in half. A 2-bed apartment typically rents for $2,197 while a 3-bed house fetches $3,380. That rent-to-price asymmetry is what tips apartments ahead on gross yield across most San Francisco ZIP codes.
The HOA offset narrows the real picture. Apartment gross yields are calculated before homeowner association fees, which in San Francisco typically run around $7,899 per year for a 2-bed unit and climb well into five figures in luxury buildings with concierge, gyms, rooftop amenities, or deferred-maintenance special assessments. Once HOA and reserve contributions are deducted, the gap between houses and apartments on a net-yield basis compresses, and in some buildings disappears entirely.
Individual condo associations are the final wildcard. An HOA can bar rentals outright, impose minimum 12-month leases, require board approval of tenants, or cap the percentage of units rented at any time. Some San Francisco buildings are effectively owner-occupier-only regardless of what city law permits. Always obtain the CC&Rs and rental-restriction history before committing to a purchase.
The Bedroom Curve Favours Smaller Units
Both property types typically see gross yields drift downward as bedroom count rises. The 1-bed and 2-bed segments benefit from a deep pool of professional-tenant demand that keeps rents firm relative to entry price, while family buyers bidding for 3-bed and 4+ bed homes push prices higher without a matching rent response. The 4+ bed category bundles 4, 5, and 6+ bedroom listings; in a city where a single Pacific Heights sale can skew the median, treat that category as directional rather than precise.
For apartments, the pattern is often sharper: a 3-bed or 4+ bed apartment in San Francisco can cost close to a 3-bed house in many ZIPs, but doesn't attract the same rental premium because larger families generally prefer houses with outdoor space. That compresses apartment yields at the top of the bedroom range.
Suburb Variation Is Larger Than the House-Apartment Gap
The 28 ZIP-level medians hide dramatic variation. Financial District (94188) posts a gross yield near 4.4% on compact stock priced around $630,161, while Mission Bay/Dogpatch (94158) sees yields closer to 3.8% at $1,843,060 despite much higher absolute rents of $5,901 per month. The spread between the top-yielding district and the premium waterfront neighbourhoods runs to about half a percentage point of gross yield, which sounds small but is meaningful in a market where the city median is only 2.3%. The dashboard shows suburb-level data for every bedroom count and property type, so you can compare within the specific area you are evaluating.
View San Francisco in the dashboard → Free preview · every bedroom count and property type
For full per-neighborhood filtering and saved scenarios, $19 24-hour access. Get access
What the Yield Table Doesn't Capture
- HOA fees: Estimated at around $7,899 per year for a 2-bed apartment in San Francisco and materially higher in doorman and full-amenity buildings. Not deducted from the gross yields in the table above, and not present at all on houses.
- Capital appreciation: San Francisco houses have historically outperformed apartments on long-term value growth because you own the land. In a supply-constrained city bounded by water on three sides, land is the scarce asset. Yield-optimised apartments may lose on total return once ten or twenty years of differential appreciation is factored in.
- Renovation potential: Houses offer optionality such as ADU additions, garage conversions, or lot-line extensions that San Francisco's planning code increasingly permits. Apartments cannot match that flexibility, and condo boards typically bar substantial modifications.
- Financing constraints: Some lenders restrict mortgages on condos in buildings with high investor-to-owner ratios, pending litigation, or unwarrantable status (non-Fannie/Freddie). San Francisco has a non-trivial number of buildings in that category. Houses rarely face equivalent friction.
- 4+ bed data breadth: The 4+ bed category bundles 4, 5, and 6+ bedroom listings. In San Francisco, where a handful of Pacific Heights or Sea Cliff sales can dominate the median, treat the 4+ bed category as directional rather than precise.
San Francisco Is an Appreciation Market, Not a Cash-Flow Market
The median 3-bed house in San Francisco sells for $1,854,622, roughly seven times the national median of $242,500 and more than double the California state median of $687,000. Gross yield of 2.3% sits below both the state median of 4.0% and the national median of 5.3%. If your investment thesis depends on rental income alone covering a mortgage, San Francisco is the wrong market at any bedroom count or property type.
That reality shapes the house-versus-apartment decision. Apartments offer the lower entry price, fractionally better gross yield, and easier management, which suits investors who want San Francisco exposure without committing over a million dollars of capital. Houses give you land ownership, renovation optionality, the ability to owner-occupy or add a second unit later, and the historical edge on capital growth. For investors willing to look at California's 4.0% yield environment and still buy, the case is usually for houses purchased in appreciating sub-markets, not yield-maximised apartments. If you need cash flow, Californian secondary markets and inland counties offer yields several times higher; see our data sources page for how those comparisons are built, and Los Angeles Yields 3.7% as Investors Bet on Appreciation for a comparable California appreciation-first market.
Our full market score methodology weighs yield, appreciation, and regulation together, and the dashboard lets you switch between metrics to match your own priorities. For a Bay Area comparison at a similar yield level, see Oakland's 3.0% Yield Means Appreciation Must Do the Heavy Lifting.
Data reflects market conditions as of April 2026. Explore rental data in the dashboard for live figures at your target bedroom count, property type, and neighbourhood.
Explore San Francisco in the dashboard
Free preview with neighborhood-level data, every bedroom count, every property type.
View San Francisco →Need full filtering and saved scenarios?
$19 for 24-hour access. All neighborhoods, all property types. Get access
This information is for educational purposes only and should not be considered financial or legal advice. Regulations and market conditions change frequently. Verify current rules with local authorities before making investment decisions.