Zip Codes In Los Angeles Are Not What You Think
Los Angeles has 113 ZIP codes. That number sounds small until you realize it covers 500+ square miles of urban sprawl. I once spent three days debugging a delivery routing script because I assumed the 90210 area was contiguous. It's not. Beverly Hills sits inside a ring of 90069, 90048, and 90024. Your mail might arrive faster from a distribution center 15 miles away than from one in the same neighborhood. The USPS assigns these codes for route efficiency, not geography. A ZIP code is a delivery path, not a boundary. When I started working with address data for a logistics company, we had to reconcile three separate systems that used completely different definitions of what "Chinatown" or "The Arts District" meant. The USPS doesn't care about those names. They care about whether your carrier can close the loop without backtracking uphill.
The Hidden World Of Zip Codes Unveiling The Secrets Of Los Angeles City
Here's how the system actually works. Each ZIP code has a five-digit base and optionally a four-digit extension. The first digit covers a group of states. The 90xxx series is California. The second and third digits pin down a regional sorting facility. In LA, most codes route through the Los Angeles Distribution Center or the newer facilities in San Bernardino and Riverside that handle overflow. The last two digits are the local post office or delivery sector. The +4 extension is where the precision lives. It identifies a specific block, a building, or even a single high-volume recipient. A PO Box gets its own +4. A large employer like UCLA Medical Center has hundreds of them spread across a few base codes. When I audited a dataset once, I found 47 distinct +4 sequences for a single 90025 block because each building on that street had its own delivery point code. The public five-digit code couldn't tell you which building anything belonged to. There's a common mistake people make with LA address validation. They think if an address says "Los Angeles" as the city, it falls inside the city limits. It doesn't. The postal city and the municipal city are different things. The USPS creates postal cities based on where mail gets sorted and delivered, not where city boundaries draw lines. I've seen addresses in what is legally unincorporated Los Angeles County get "Los Angeles" as the postal city because a nearby post office handles the routing. Conversely, places like Culver City or parts of Hawthorne push their own postal identity to reduce routing through downtown LA centers.
Here's an edge case that costs people money if they don't catch it. Some ZIP codes cross city lines. 90301 covers parts of both Inglewood and Los Angeles. 90056 sits in LA but its mail sometimes routes through the Westlake distribution point that also serves South LA neighborhoods. If you're doing shipping rate calculations based on distance from a warehouse in Long Beach, the ZIP code alone won't tell you which side of the jurisdictional line a customer sits on. You need to run the address through a geocoder, not just a ZIP lookup. Another thing that trips people up: ZIP code changes happen regularly but rarely make news. When a new apartment complex gets built with enough mail volume, the USPS may split a sector or create a new delivery point group. I tracked a change in 90028 where a high-rise near Hollywood and Highland got its own +4 range, effectively carving it out from the surrounding blocks in the sorting system even though the base five digits stayed the same. Your old validation rules would have accepted the new building as part of the old zone. They weren't. If you're building something that depends on LA zip code accuracy, don't rely solely on the USPS postal code lookup tool. It's free and reasonably current, but it won't give you the +4 precision you need for granular routing. The Commercial Mailer Database, which costs money but updates quarterly, has the extended data. For most small projects, combining the USPS API with a geographic library that resolves coordinates to ZIP codes gives you enough accuracy. I use a setup where I geocode the address first, then reverse-map the coordinates to the correct ZIP. This catches the cases where the street address and the postal zone disagree, which happens more often than you'd expect in areas like the San Fernando Valley where neighborhood boundaries and mail routes diverge.
Get the Full Details

The biggest practical gotcha I keep running into is the distinction between delivery ZIP and mailing ZIP. A business can choose a different postal code for its correspondence if it uses a PO Box or a private mail receiving service. I found this when reconciling payment records for a client whose vendor listed a 90017 address but physically operated out of a warehouse in 90058. The vendor's invoices went to a downtown LA PO Box cluster. The delivery happened from a completely different zone. If your fulfillment logic trusts the invoice ZIP, you'll route packages to the wrong facility. Don't assume ZIP codes are stable over time either. Urban development in LA pushes new codes into areas like Harbor Gateway and the Northeast Valley. Residential growth in West LA has carved new sectors out of existing codes. If your system caches ZIP data, set a refresh interval. Six months is about as long as you can safely go before something shifts in a high-growth corridor.