San Francisco | Zoning Districts
San Francisco Zoning Districts: How Many Homes Each District Allows
Every San Francisco lot sits in a zoning district, and the district sets the starting count of homes. This page lists the residential house (RH) and residential mixed (RM) districts, the homes each one allows, and the two local rules that raise those counts: the 2022 four-unit density exception and the 2026 Housing Choice-SF program of the Family Zoning Plan. State laws add more; the San Francisco overview lists them.
San Francisco zoning in six facts
- San Francisco has five RH (Residential, House) districts: RH-1(D), RH-1, RH-1(S), RH-2 and RH-3. Source: Ordinance No. 245-25, Section 209.1
- Table 209.1 allows up to two units on an RH-2 lot or one per 1,500 square feet, and up to three on an RH-3 lot or one per 1,000 square feet. Source: Ordinance No. 245-25, Table 209.1
- Since November 27, 2022, every RH lot may hold up to four units, and a corner lot up to six, not counting ADUs, when the project meets set conditions. Source: SF Planning, Four-Unit Density Exception summary
- The RM (Residential, Mixed) districts cap density at one unit per 800 square feet of lot area in RM-1 and one per 200 in RM-4. Source: Ordinance No. 245-25, Table 209.2
- The Family Zoning Plan created the R-4 Height and Bulk District, where projects using the Housing Choice-SF program have no unit-count limit. Source: Ordinance No. 245-25, Section 206.10
- SB 9 applies in San Francisco only in the RH-1, RH-1(D) and RH-1(S) districts. Source: SF Planning, Director Bulletin No. 8
Where the Rules on This Page Come From
San Francisco is a city and a county at the same time, and its zoning rules sit in the San Francisco Planning Code. The full code is published by a private publisher on codelibrary.amlegal.com, which refused automated requests for this guide. VanPlex read the rules from City copies instead: the ordinances the Board of Supervisors passed, which reprint every changed section, and the bulletins and code summaries that SF Planning posts. The largest of these is Ordinance No. 245-25, the Planning Code part of the Family Zoning Plan, passed December 9, 2025 under Board File 250701. It reprints Table 209.1, the zoning control table for RH districts, and Table 209.2 for RM districts.
An amending ordinance shows added words in underlined italics and deleted words with a line through them. A plain text copy mixes the two, so each table row on this page was checked against the page image of the ordinance. SF Planning itself warns that "the online version of the San Francisco Planning Code will be updated by a third-party vendor and may not be ready by January 2026." For that reason the ordinance text is the safer source for any rule the Family Zoning Plan touched. Where a bulletin and the code differ, the code controls; ZA Bulletin No. 5 says so itself: "If there is any discrepancy between this bulletin and the actual Code language, the latter governs."
The Five RH Districts
RH stands for Residential, House. Section 209.1 says these districts are "characterized by dwellings in the form of houses and small multi-family buildings, usually with one, two, or three units with separate entrances," with rear yards "and a pattern of mid-block open spaces." The Family Zoning Plan added one sentence to that description: "In all RH Districts, multi-family buildings with four or more units are permitted under various provisions of this Code." The code then names five classes of district.
- RH-1(D), One-Family (Detached Dwellings). The code describes lots "of greater width and area than in other parts of the City," with single-family houses that have side yards.
- RH-1, One-Family. Mostly single-family houses "on lots 25 feet in width, without side yards," which the code compares to small-scale row housing.
- RH-1(S), One-Family with Minor Second Unit. Like RH-1, except that many houses already hold a small second unit, often in a converted ground floor.
- RH-2, Two-Family. One-family and two-family houses, often two large flats, with buildings that "usually do not exceed 25 feet in width or 40 feet in height."
- RH-3, Three-Family. Similar to RH-2, but buildings with three units are common, with lots 25 feet wide and separate entrances for each unit.
| District | Name | Base density in Table 209.1 |
|---|---|---|
| RH-1(D) | One-Family (Detached Dwellings) | Up to 1 unit per lot, or 1 unit per 3,000 sq ft of lot area, with no more than 3 units per lot |
| RH-1 | One-Family | Up to 1 unit per lot, or up to 1 unit per 3,000 sq ft of lot area |
| RH-1(S) | One-Family with Minor Second Unit | Up to 2 units per lot if the second unit is 600 sq ft or less, or up to 1 unit per 3,000 sq ft of lot area, with no more than 3 units per lot |
| RH-2 | Two-Family | Up to 2 units per lot, or up to 1 unit per 1,500 sq ft of lot area |
| RH-3 | Three-Family | Up to 3 units per lot, or up to 1 unit per 1,000 sq ft of lot area |
Source: Ordinance No. 245-25, Table 209.1, row "Dwelling Unit Density, General," pages 63 and 64, checked on the page images. Notes 6 and 11 of the table add ADUs and the four-unit exception on top.
Density in this table means the number of homes a lot may hold. Each row gives two tests, and the owner can use the one that gives more homes. On a 3,000 square foot RH-2 lot, one unit per 1,500 square feet gives two units, the same as the per-lot figure. On a 4,500 square foot RH-2 lot the lot-area test gives three, by VanPlex arithmetic. Note 6 of the table adds that ADUs "may be permitted pursuant to Sections 207.1 and 207.2," and an ADU does not count against the density limit. The ADUs and SB 9 page covers those rules.
The Four-Unit Density Exception
Note 11 of Table 209.1 raises every RH count: "P for up to four dwelling units per lot, excluding Corner Lots, and P for up to six dwelling units in Corner Lots, pursuant to Section 207(c)(8)." P means principally permitted, which is the City's term for a use allowed without a Planning Commission hearing. The rule came from Ordinance No. 210-22, which took effect November 27, 2022. SF Planning's code summary lists the conditions a project must meet:
- it may not also take a density bonus under Planning Code Section 206.5 or 206.6;
- it must not cause "a substantial adverse change to the significance of a historic resource";
- it must replace any demolished units and offer relocation benefits and a right of first refusal to protected lower-income households;
- units built above the base count "will be subject to rent control";
- at least one unit must have three or more bedrooms, or be at least one-third the size of the largest unit;
- the same owner must have held the lot for at least one year before applying, with time counted from a close family member when the lot was inherited.
The summary also sets a building rule: "Projects that provide at least four dwelling units are subject to a 30% rear yard or 15ft, whichever is greater." The three or more homes page compares this exception with the Housing Choice-SF program and SB 79.
RM Districts: Density by Lot Area
RM stands for Residential, Mixed. These districts already hold apartment buildings, and their density is set by lot area alone. The Family Zoning Plan struck an older minimum density line from this row of Table 209.2 and kept the total maximum density shown below.
| District | Total maximum density | Rear yard | Usable open space per unit |
|---|---|---|---|
| RM-1 | 1 unit per 800 sq ft of lot area | 30% of lot depth, at least 15 ft | 100 sq ft private or 133 sq ft common |
| RM-2 | 1 unit per 600 sq ft of lot area | 30% of lot depth, at least 15 ft | 80 sq ft private or 106 sq ft common |
| RM-3 | 1 unit per 400 sq ft of lot area | 25% of lot depth, at least 15 ft | 60 sq ft private or 80 sq ft common |
| RM-4 | 1 unit per 200 sq ft of lot area | 25% of lot depth, at least 15 ft | 36 sq ft private or 48 sq ft common |
Source: Ordinance No. 245-25, Table 209.2, pages 70, 72 and 73, checked on the page images. ADUs are allowed on top of these counts.
By VanPlex arithmetic, a 2,500 square foot lot holds three units in RM-1 (2,500 divided by 800, rounded down), four in RM-2, six in RM-3 and twelve in RM-4. RM lots are outside SB 9, but they are multifamily zones for the state's SB 684 small-lot subdivisions, which the lot size and subdivisions page explains.
The R-4 District and Form-Based Density
A San Francisco lot has two map labels: a use district such as RH-2, and a height and bulk district that sets how tall and how wide buildings may be. The Family Zoning Plan added a new height and bulk district, R-4. Ordinance No. 245-25 says R-4 "will provide for form-based density, and increased height limits for projects using the HC-SF Program." HC-SF is the Housing Choice-San Francisco program, which SF Planning calls the Local Program. Form-based density means there is no fixed cap on the number of units: the building size rules (height, rear yard, open space) decide how many homes fit.
Table 209.1 now carries a row for every RH district: "Form-based density, additional height, and other zoning modifications for eligible projects in the R-4 Height and Bulk District." To be eligible under Section 206.10(b), a project must, among other tests:
- add homes, with at least two dwelling units or group housing bedrooms (ADUs do not count toward the two);
- sit on a lot in the R-4 Height and Bulk District;
- not demolish an Article 10 landmark or district contributor, an Article 11 Significant or Contributory building, or a building on the California or National Register;
- not take a bonus from any other state or local program, including the state density bonus law, SB 684 and Planning Code Section 207(c);
- not sit on a site with more than two residential units where it "would require the demolition of residential uses" under the City's rent increase limits.
The R-4 district leaves out some lots. The ordinance findings say R-4 "would not include any Lot with an existing structure that is landmarked or designated as a contributor to a historic district pursuant to Article 10." SF Planning's historic factsheet says "All projects using the Local Program are subject to form-based density (ie density decontrol) regardless of height limit or underlying zoning district." Outside R-4, or for a project that does not opt in, the counts in Tables 209.1 and 209.2 still apply. SF Planning's main Family Zoning Plan page describes "Removal of density restrictions in residential areas off the corridors," while the same page's FAQ says form-based zoning in those areas "remain unchanged." The ordinance controls: the density removal applies to projects that use the Local Program on R-4 lots.
New Limits on Unit Size and Minimum Density
The Family Zoning Plan added two rules that work in opposite directions. Section 207.10 caps the size of a new home. A project filed after January 31, 2026 that builds new units, merges units or reduces the unit count is "restricted to a maximum Dwelling Unit size of 4,000 square feet of Gross Floor Area or an equivalent Floor Area Ratio for any individual Dwelling Unit of 1.2:1, whichever is greater." Floor area ratio is the floor area divided by the lot area. A project of four to nine units may have one unit above 4,000 square feet, and a project of 10 or more may have 10 percent of its units above that size. A larger home needs Conditional Use Authorization, a hearing before the Planning Commission.
Section 207.9 sets minimum densities near transit for new buildings on sites with no existing housing. Table 209.1 summarizes it: "Varies depending on project location, but generally ranges between 50 and 100 dwelling units per acre." ADUs count toward that minimum. The rule does not apply to additions or conversions of existing buildings, so most owners adding homes to an existing RH house will not meet it.
RTO Districts, Group Housing and Households
The Family Zoning Plan also changed the transit districts. Ordinance No. 244-25, the zoning map part, reclassified properties zoned RTO (Residential Transit Oriented) to RTO-1 and moved some residential properties into a new RTO-C (Residential Transit Oriented-Commercial) district, where more ground floor shops are allowed. Ordinance No. 245-25 explains that RTO-C is an RTO district "where a greater number of ground floor non-residential uses are permitted," though ground floor shops are "not required."
Group housing, meaning rooms or suites that share a kitchen, has its own count. Table 209.1 allows one bedroom for every 415 square feet of lot area in RH-2 and one for every 275 square feet in RH-3. Ordinance No. 04-26, effective February 22, 2026, changed who may live in a dwelling unit: it defines a Family as a "Household" and eliminates "numeric limits on unrelated family members and requirements that family members share meals."
SB 9 Zones and How to Check Your Lot
SB 9 is the 2021 state law that allows two homes or a lot split in single-family zones. SF Planning's Director Bulletin No. 8 says "The parcel must be located in an RH-1, RH-1(D), or RH-1(S) zoning district." RH-2 and RH-3 lots are outside SB 9, but the four-unit exception already lets those lots hold more than SB 9 would. The SB 9 rules themselves are on the SB 9 page.
To check a lot, search its address in the City's Property Information Map, which SF Planning bulletins name for zoning and historic status. Write down three things: the use district (RH-2, RM-1 and so on), the height and bulk district (an R-4 lot shows two height numbers separated by a double slash), and any special use district. Special use districts, such as the Bernal Heights and Dolores Heights districts that ZA Bulletin No. 5 names, can change yards and heights. The parking, setbacks and height page covers the building size rules that apply to every RH lot.
Best For
- ✓ An RH-2 or RH-3 lot of 4,000 sq ft or more, where the lot-area test or the four-unit exception adds homes.
- ✓ A corner RH lot held for a year, where the exception allows six units plus ADUs.
- ✓ A lot in the R-4 district where a project can use form-based density through Housing Choice-SF.
Usually Fails When
- ✕ The design relies on an online code page that predates the January 12, 2026 changes.
- ✕ The project tries to stack the four-unit exception with Housing Choice-SF or the state density bonus.
- ✕ A new home is planned above 4,000 sq ft and the budget has no time for a Conditional Use hearing.
What To Verify Before Spending Money
- → The use district, height and bulk district and any special use district in the Property Information Map.
- → Whether the lot is in R-4, and both height numbers on the map.
- → Historic status under Article 10 or 11, which changes R-4 and four-unit eligibility.
Where to Go Next
Related on VanPlex: the San Francisco overview, SB 9 in California and is your lot eligible.
Frequently Asked Questions
How many homes can I build on an RH-2 lot in San Francisco?
What is the difference between RH-1 and RH-1(D) zoning in San Francisco?
What does RH-1(S) mean in San Francisco zoning?
How many units are allowed in an RM-1 district in San Francisco?
What is the R-4 Height and Bulk District in San Francisco?
Can I combine the four-unit exception with the Housing Choice-SF program in San Francisco?
Is there a maximum home size in San Francisco now?
Which San Francisco zones allow SB 9 duplexes and lot splits?
How do I find the zoning of my lot in San Francisco?
Can unrelated people share a home in San Francisco RH zoning?
Official sources (checked October 2026)
Get new guides by email
New VanPlex guides and articles on multiplex rules, building costs and permits, sent to your inbox.
Planning a multiplex in San Francisco?
VanPlex builds multiplexes in British Columbia, Canada. For a lot in San Francisco, our team makes a custom proforma by hand and emails it to you in 24 to 48 hours.
Get a proforma for your address