Looking for a San Francisco ZIP code or trying to match a ZIP to its telephone area code? This directory maps the ZIP codes of San Francisco, California, to their neighborhoods, counties, and the area codes that serve them. Use it to address mail correctly, verify a caller’s location, or understand how San Francisco’s postal and telephone geography line up.

San Francisco ZIP Codes & Area Codes at a Glance

DetailInformation
Total ZIP Codes30+
Primary & Overlay Area Codes415, 628
Major CountiesSan Francisco County
Time ZonePacific Time (PT, UTC-8 / UTC-7)

San Francisco ZIP Code Directory

The table below lists major San Francisco ZIP codes with the neighborhood or district each covers, the telephone area code that serves it, and the county it falls in.

ZIP CodeNeighborhood / DistrictArea CodeCounty
94102Civic Center / Tenderloin415San Francisco
94103SoMa415San Francisco
94104Financial District415San Francisco
94105SoMa / Embarcadero415San Francisco
94107Potrero Hill / Mission Bay415San Francisco
94108Chinatown / Nob Hill415San Francisco
94109Russian Hill / Polk Gulch415San Francisco
94110Mission District415San Francisco
94114Castro / Noe Valley415San Francisco
94116Outer Sunset415San Francisco
94117Haight-Ashbury415San Francisco
94118Inner Richmond415San Francisco
94121Outer Richmond415San Francisco
94122Sunset District415San Francisco
94123Marina District415San Francisco
94131Glen Park / Twin Peaks415San Francisco

Beyond the neighborhoods listed above, San Francisco also has ZIP codes reserved for post-office boxes, large-volume business mailers, universities, and government facilities that do not correspond to a single residential district. When you are unsure which code to use, the USPS ZIP Code Lookup confirms the exact ZIP for any street address, while the area code shown in each row indicates the telephone prefix that most commonly serves that part of San Francisco. Mail sorted to the correct ZIP+4 moves faster and is less likely to be delayed or returned.

How San Francisco ZIP Codes and Area Codes Align

A ZIP code is a postal routing number, while an area code is a telephone routing number, so the two systems do not map one-to-one. In San Francisco, the 415, 628 area codes overlap the same territory that dozens of ZIP codes divide up. A single ZIP code can contain phone numbers from more than one area code, and a single area code spans many ZIP codes. For a full breakdown of the telephone side, see the San Francisco area code guide.

Because California uses 10-digit dialing, always dial the area code plus the seven-digit number when calling a San Francisco line, even locally. When you only have a ZIP code, the directory above is the quickest way to see which area code most likely serves that part of the city.

Postal & Telecom Scam Warnings in San Francisco

In this tech and tourism hub, watch for fake tech-support, rental-deposit, and event-ticket scams targeting residents and visitors. Across San Francisco ZIP codes, watch for USPS “undelivered package” smishing texts that ask you to pay a small redelivery fee, address-change and mail-hold fraud, and area-code spoofing that makes robocalls appear to come from a local San Francisco number. The Postal Service never texts you a payment link for a package, and legitimate callers do not demand gift cards or wire transfers. Report mail fraud to the U.S. Postal Inspection Service and unwanted calls to the FTC at reportfraud.ftc.gov.

Frequently Asked Questions

How many ZIP codes does San Francisco have?

San Francisco has approximately 30+ ZIP codes covering its neighborhoods and districts across San Francisco County.

What area codes serve San Francisco?

San Francisco is served by the 415, 628 area codes. See the San Francisco area code guide for full details.

Do ZIP codes and area codes match up in San Francisco?

Not exactly. ZIP codes route mail and area codes route calls, so one ZIP code can include more than one area code and each area code spans many ZIP codes. The directory above shows the most common pairing for each ZIP.

What is the main ZIP code for San Francisco?

San Francisco’s core ZIP codes are listed at the top of the directory table above; downtown and central neighborhoods usually carry the lowest-numbered ZIP codes in the city.

Are ZIP codes and area codes the same thing?

No. A ZIP code is a five-digit postal code used to route mail, while an area code is the three-digit prefix used to route telephone calls. San Francisco uses both systems, but they were designed independently and cover different-sized areas, which is why one ZIP code can overlap more than one area code.

What time zone is San Francisco in?

San Francisco observes Pacific Time (PT, UTC-8 / UTC-7).