What county is San Francisco, CA in?
California · 1 county · 406,575 homes counted
San Francisco is in San Francisco County. Every one of the 406,575 homes the 2020 Census counted inside the city limits is in that county, and the county holds no homes outside the city: the city and San Francisco County are one and the same place.
Every county in San Francisco, by homes
The Census Bureau names this place San Francisco city, and counts 406,575 homes and 873,766 residents inside its limits in the 2020 Census. Each county below is placed by the census blocks it holds, on the county lines of the 2026 boundary file.
Every track below is 35 cells long and stands for all 406,575 homes counted in San Francisco, so one cell is 11,616 homes, rounded to the nearest whole cell. Cells lit solid are the homes one county holds, and the unlit cells are the homes in the other counties of the same city.
- San Francisco County406,575 of 406,575 homes100%
ZIP Codes in San Francisco that cross a county line
Of the 27 ZIP Code areas with at least 30 homes inside San Francisco, 1 cross a county line and 26 lie in one county. The areas that cross are listed below with the share of the homes in the whole ZIP Code area each county holds; a ZIP Code area often runs past the city limits, so these shares are of the area, not of the city.
- 94134 ยท San Francisco, CaliforniaSan Francisco County 100%, San Mateo County under 0.5%
For one street address in San Francisco, the Census Bureau geocoder returns its county from the current boundary files. Check an exact address with the Census Geocoder
School districts in San Francisco
One school district holds every share of the homes in San Francisco worth naming: San Francisco Unified School District, with 406,575 of the city's 406,575 homes. A city line and a district line are drawn separately, so that is a fact about this city rather than a rule.
Other cities in California
Besides San Francisco, 9 cities in California have a county page here. The next 4 in the list are Modesto, Fresno, Fontana and Clovis, and none of them cross a county line.
What to do next
Ask the district office to confirm your street address: look on its site for a school locator, a find my school tool or an attendance zone map, or call the office.
A ZIP Code is a set of mail delivery routes, not a boundary: 17,865 of the 33,555 ZIP Code areas in the country with homes in them are served by more than one school district, and the line between two of them runs along streets. Only the district can say which side of that line an address is on.
District websites and phone numbers here come from the NCES Common Core of Data directory, 2024-25 school year, filed under the same district ID as the Census boundary files. Where it lists no usable website, none is printed rather than guessed.
What this site can hand you instead:
- What county am I in? County lookup by ZIP Code33,559 ZIP Code areas
- School districts in California1,788 ZIP Code areas
If a house purchase depends on the answer, ask the district itself for written confirmation of that exact address. A listing is not a district record, and neither is this page.
Where these numbers come from
The homes were counted in the 2020 Census and the district lines are the 2026 boundary file, so a fast-growing area may have changed since; ZIP Codes here are the Census Bureau's ZIP Code Tabulation Areas; a share is a share of homes, not the chance that one address is in a district; and a district is not a school attendance zone. Every source, file and caveat is on the method page.