Guide · updated 2026-09-30
What is an independent city?
Short answer
The Census definition
The Census Bureau's glossary says that in four states, Maryland, Missouri, Nevada and Virginia, one or more incorporated places are independent of any county organization and so are primary divisions of their states. It calls these independent cities and treats them as equivalent to counties.
In practice that means an independent city has its own 5 digit county code, appears as its own row in every county table, and does not count toward the surrounding county's population. The codes start at 500, so Richmond city, Virginia is 51760 while Richmond County is 51159.
Virginia's independent cities
38 of the 41 are in Virginia. Counting them, Virginia has 133 county-equivalents in total. Virginia's independent cities together hold 2,601,250 residents, 29.5% of the state. The smallest is Norton city, with 3,478 people.
Cities and counties with the same name
6 independent cities share a name with a county in the same state. They are separate units with separate codes, and mixing them up is a common error when joining county data by name.
| Independent city | Code | County | Code |
|---|---|---|---|
| Baltimore city, MD | 24510 | Baltimore County | 24005 |
| St. Louis city, MO | 29510 | St. Louis County | 29189 |
| Richmond city, VA | 51760 | Richmond County | 51159 |
| Roanoke city, VA | 51770 | Roanoke County | 51161 |
| Fairfax city, VA | 51600 | Fairfax County | 51059 |
| Franklin city, VA | 51620 | Franklin County | 51067 |
The three outside Virginia
Baltimore, Maryland; St. Louis, Missouri; and Carson City, Nevada are the others. Baltimore city (568,271 residents) and Baltimore County (852,425) are separate, as are St. Louis city (279,695) and St. Louis County (992,929). Carson City has no same-named county. Independent cities as a group hold 3,507,364 residents, 1.03% of the US total.
All independent cities by population
How big independent cities are
Independent cities are small in land. Their median land area is 14.5 square miles, against 616 for all county-equivalents. Their median population is 27,800. Because they pack people into little land, they rank high on density: 39 of them are in the national top 10% of county densities. 32 of the 41 smallest county-equivalents by land are independent cities, which is why the smallest counties list reads like a list of Virginia cities.
Handling independent cities in data
Treat each independent city as its own county. Do not add it to the county with the same name. If another dataset combines a city with its surrounding county, combine the Census rows the same way before joining.
On maps, independent cities appear as small separate shapes, often surrounded by one county. On this site each one has its own page with a "-city" slug, for example Baltimore city, so it never collides with a county of the same name.
Is my city independent?
Check whether the city has its own row in the county FIPS code lookup. If it does and the code is 500 or higher, it is an independent city. Outside Virginia, Maryland, Missouri and Nevada the answer is always no: every other city in the 50 states lies inside at least one county, even where city and county share a government.
Try it
County FIPS code lookup
Search 3,144 counties and county-equivalents by name, or paste a 2 or 5 digit code to find the place it belongs to.
| FIPS | County-equivalent | State | 2024 population | |
|---|---|---|---|---|
| 06037 | Los Angeles County | CA | 9,757,179 | |
| 17031 | Cook County | IL | 5,182,617 | |
| 48201 | Harris County | TX | 5,009,302 | |
| 04013 | Maricopa County | AZ | 4,673,096 | |
| 06073 | San Diego County | CA | 3,298,799 | |
| 06059 | Orange County | CA | 3,170,435 | |
| 12086 | Miami-Dade County | FL | 2,838,461 | |
| 48113 | Dallas County | TX | 2,656,028 | |
| 36047 | Kings County | NY | 2,617,631 | |
| 06065 | Riverside County | CA | 2,529,933 | |
| 32003 | Clark County | NV | 2,398,871 | |
| 53033 | King County | WA | 2,340,211 | |
| 36081 | Queens County | NY | 2,316,841 | |
| 48439 | Tarrant County | TX | 2,230,708 | |
| 06071 | San Bernardino County | CA | 2,214,281 | |
| 48029 | Bexar County | TX | 2,127,737 | |
| 12011 | Broward County | FL | 2,037,472 | |
| 06085 | Santa Clara County | CA | 1,926,325 | |
| 26163 | Wayne County | MI | 1,771,063 | |
| 25017 | Middlesex County | MA | 1,668,956 | |
| 36061 | New York County | NY | 1,660,664 | |
| 06001 | Alameda County | CA | 1,649,060 | |
| 06067 | Sacramento County | CA | 1,611,231 | |
| 12099 | Palm Beach County | FL | 1,582,055 | |
| 12057 | Hillsborough County | FL | 1,581,426 | |
| 42101 | Philadelphia County | PA | 1,573,916 | |
| 36103 | Suffolk County | NY | 1,535,909 | |
| 12095 | Orange County | FL | 1,533,646 | |
| 36059 | Nassau County | NY | 1,392,438 | |
| 36005 | Bronx County | NY | 1,384,724 | |
| 48453 | Travis County | TX | 1,363,767 | |
| 39049 | Franklin County | OH | 1,356,303 | |
| 26125 | Oakland County | MI | 1,296,888 | |
| 27053 | Hennepin County | MN | 1,273,334 | |
| 48085 | Collin County | TX | 1,254,658 | |
| 39035 | Cuyahoga County | OH | 1,240,594 | |
| 37183 | Wake County | NC | 1,232,444 | |
| 42003 | Allegheny County | PA | 1,231,814 | |
| 49035 | Salt Lake County | UT | 1,216,274 | |
| 37119 | Mecklenburg County | NC | 1,206,285 |
Questions people ask
Do independent cities belong to the surrounding county for statistics?
No. Census tables report them separately, and county totals exclude them. Add the rows yourself if you need a combined figure for a city and its surrounding county.
Is Carson City an independent city?
Yes. Carson City, Nevada is a county-equivalent with its own FIPS code, 32510.
Is St. Louis city part of St. Louis County?
No. St. Louis city (29510) and St. Louis County (29189) are separate county-equivalents.
Which states have independent cities?
Virginia, Maryland, Missouri and Nevada, per the Census Bureau glossary.
What is the smallest independent city by population?
Norton city, VA, with 3,478 residents.
What is the largest independent city by population?
Baltimore city, MD, with 568,271 residents in the Vintage 2024 estimates.
How many independent cities are there?
41 in the 50 states: 38 in VA, 1 in MD, 1 in MO, 1 in NV.
Is an independent city part of a county?
No. It is its own county-equivalent with its own FIPS code, and its residents are not counted in any county.
Is Baltimore city the same as Baltimore County?
No. Baltimore city is 24510 and Baltimore County is 24005. They are separate units.
Sources and data as of
Data as of: Census Vintage 2024 population estimates, 2024 Gazetteer land area and internal points, SAIPE 2023 median household income.
- 01Census Bureau geography glossary (last verified 2026-09-30)
- 02Census Vintage 2024 county population estimates
- 03Census 2024 Gazetteer, counties
How every number is computed: methodology. Spotted a wrong figure? Report an error.