San Francisco, California

40 ZIP codes · Pacific time

ZIP codes (largest first)

94112 · 79,27794110 · 66,86594122 · 55,81994109 · 54,55394116 · 43,79194121 · 41,99594118 · 39,13094134 · 38,63394117 · 36,19894102 · 35,97694103 · 34,96494124 · 34,47594114 · 33,02094115 · 32,62994107 · 31,82394131 · 28,50494132 · 26,85994123 · 24,05494133 · 23,80494127 · 20,28894105 · 13,86194108 · 11,30594111 · 4,57994129 · 3,83694130 · 2,42994104 · 49894119 (PO box)94120 (PO box)94125 (PO box)94126 (PO box)9412894137 (PO box)94139 (PO box)94140 (PO box)94141 (PO box)94142 (PO box)94143 (PO box)94144 (PO box)94145 (PO box)94146 (PO box)

See the San Francisco ZIP code map

Population830,235
StateCalifornia
CountySan Francisco County, San Mateo County
Time zonePacific
Land area46.68 sq mi

Area codes in this area

341415510628650

These are the area codes that most often serve San Francisco (including overlays). The exact area code depends on the phone number — landlines, mobiles and overlays can differ even on the same street.

Find the ZIP+4 for an address in San Francisco

Addresses are checked through our secure proxy. Bot checks use Cloudflare Turnstile. Each device can run 5 live checks per day; repeats of the same address are free.

Population: U.S. Census Bureau, ACS 5-year estimates, 2024.

More details

San Francisco ZIP codes by population
ZIPPopulationLand (sq mi)People per sq mi
9411279,2773.3423,736
9411066,8652.3927,977
9412255,8193.2617,122
9410954,5531.0850,512
9411643,7912.5317,309
9412141,9952.5316,599
9411839,1302.0119,468
9413438,6332.5515,150
9411736,1981.2728,502
9410235,9760.6654,509
9410334,9641.3725,521
9412434,4754.667,398

ZIP populations are for whole Census ZIP areas, which can reach beyond the city limits, so they do not add up to the city population. Showing the 12 largest of 27.

San Francisco by the numbers
People per square mile17,786
Land area46.68 sq mi (120.9 km²)
ZIP codes40, including 13 PO box or unique ZIPs
Counties2 (San Francisco County, San Mateo County)
Area codes5
How to address mail in San Francisco

Write the city, the state code CA and the ZIP code on the last line, in capitals and without punctuation. For an address in ZIP 94112:

RECIPIENT NAME
123 MAIN ST APT 4
SAN FRANCISCO CA 94112

The street line is only an example. San Francisco has 40 ZIP codes, so check the right one for the street with the address lookup.

How we check this page

City population and land area come from the US Census Bureau (U.S. Census Bureau, ACS 5-year estimates, 2024 and place boundary files). ZIP codes are matched to the city using Census ZIP areas and GeoNames place names, and area codes come from NANPA data. Pages are rebuilt from the same files whenever the data is refreshed, and automated checks look for broken links and missing values before each update goes live.

Last reviewed: October 2026. Updated: October 23, 2026. Read our sources and methodology, or tell us if something looks wrong.