Baltimore City answers to no county, and that has been settled law since 1851
For most of its first century Baltimore was the opposite of independent: it was Baltimore County's county seat. The General Assembly moved the seat from Joppa to the growing port town of Baltimore in 1768 and built the county's first courthouse on what is now North Calvert Street the same year. The city stayed inside the county for another 83 years. When Maryland rewrote its constitution in 1851, it designated Baltimore an independent city, and the county went looking for a new seat, settling on Towson in a February 13, 1854 referendum. Maryland's own official handbook records the change in the same terms. The Maryland Manual, the state's government reference published by the Maryland State Archives, states that "As a governmental unit, the City separated from Baltimore County in 1851, and has been considered on a par with county jurisdictions since the adoption of the Maryland Constitution of 1851," and points to the specific articles of that constitution which set the arrangement out.
That split is the whole answer to the question. Baltimore City is not in Baltimore County, and it is not in any other county either. For most purposes under Maryland law the city is treated as a county-level entity, and the Census Bureau counts it as a county equivalent when it publishes statistics, which is why Baltimore appears in county-level data tables on its own rather than being folded into the county around it. It is also the most populous independent city in the United States. Outside Virginia, whose 38 independent cities are a family of their own that the Richmond ZIP code guide sets out, only three American cities sit outside every county: Baltimore, St. Louis and Carson City.
Baltimore County is the older institution by nearly two centuries, founded in 1659 and one of the 23 counties Maryland has today. The territory it now covers is a fraction of the original grant: the first Baltimore County took in most of northeastern Maryland, including land that later became Cecil and Harford counties along with parts of Carroll, Anne Arundel, Frederick, Howard and Kent.
The ZIP prefix that straddles the city-county line
ZIP codes don't respect city limits, and Baltimore is an unusually clean example of why. Postal prefixes are assigned around delivery routes rather than around whichever government collects your property tax, so the boundary between city and county runs straight through the middle of the 212 range.
Of the 39 ZIP codes this site's registry assigns to Baltimore City, every single one begins with 212. The 53 it assigns to the county-side of the line split three ways: 18 in the 210 range, 15 in 211 and 20 in 212. Not one ZIP in the 210 or 211 range falls inside the city.
The practical effect is that 212 on its own tells you nothing. 21201 is downtown Baltimore City. 21204 is Towson, which is the county seat and not in the city at all. Both carry the same prefix.
ZIP codes by prefix, as recorded in this site's GeoNames-derived registry
| ZIP prefix | In Baltimore City | In Baltimore County | What the county side covers |
|---|---|---|---|
| 210 | 0 | 18 | Rural northern county: Hereford, Monkton, Sparks Glencoe |
| 211 | 0 | 15 | Northwest and northeast suburbs: Owings Mills, Reisterstown, White Marsh |
| 212 | 39 | 20 | Downtown, plus the inner ring: Towson, Dundalk, Essex, Catonsville |
A mailing address is not a jurisdiction, even when it says Baltimore
USPS assigns a preferred place name to each ZIP code, and that name can outlive the boundary it was chosen for. 42 ZIP codes in Maryland carry the place name 'Baltimore' and nothing else, and most of them are indeed in Baltimore City. Not all of them are. 21250, the ZIP for the University of Maryland, Baltimore County campus in Catonsville, sits in the county, and 21240 sits in Anne Arundel County, outside both.
So an address that reads 'Baltimore, MD' is a statement about a mail route, not about which government you live under. The county and the city run separate property tax assessments, separate police departments and separate school systems, and the ZIP code on the envelope doesn't indicate which one applies. The city-county line is the one thing a mailing address is reliably silent about.
Both sides of the line dial the same three area codes
Area codes are just as unhelpful as a city-county test. Baltimore City and Baltimore County both sit inside the 410/443/667 overlay, and no prefix separates them.
410 arrived on October 6, 1991, split out of 301, which had covered the entire state since 1947. Numbers ran short quickly enough that 443 was laid over the top of 410 in 1997, and a third code, 667, followed on March 24, 2012. All three now cover the same footprint: Baltimore, Annapolis and Columbia, plus every county and city touching the Chesapeake Bay, the Atlantic Ocean or Delaware. St. Mary's County, in the state's southern tip, was left with 301.
Because overlay codes draw from a shared pool as lines are activated, a Baltimore number's area code reflects when the line was switched on rather than where it is. New York City, by contrast, runs on eight area codes split into two overlay stacks, with one borough reassigned to the other stack years after the original split.
Which of the two has more people?
Baltimore County has more residents than the city it surrounds: 854,535 at the 2020 census against Baltimore City's 585,708. That makes the county the third-most populous in Maryland, behind Montgomery and Prince George's. Baltimore City is the more populous of the two historically, and its relative decline shows up in its own numbers: it counted 620,961 residents in 2010, a drop of about 5.7% over the decade.
The city's footprint also stopped growing a century ago. It annexed county land on its western and northern edges in 1888, then again in 1918 and 1919, when the last major annexation took territory from the county on three sides and, for the first time, reached south of the Patapsco River into Anne Arundel County. Nothing comparable has happened since, and that frozen municipal boundary is a second reason the two sides of the line have drifted apart.