American incomes in 2019 reached an all-time high, with the median household income rising to $65,712. While incomes vary widely from state to state, many have at least one major city in which residents tend to be far wealthier than average.

Using data from the Census Bureau’s 2019 American Community Survey, 24/7 Wall St. identified America’s richest city in every state. We considered all 621 U.S. cities, towns, villages, municipalities, and Census designated places with available data. Vermont, West Virginia, and Wyoming have no cities covered in the latest Census release and were excluded from the analysis.

Supplemental data on median home value, the percentage of adults age 25 and older with at least a bachelor’s degree, and unemployment also came from the ACS.

Walmart’s new store design:Self-checkout kiosks, contactless options rolling out to Supercenters

Investing:Here’s the secret to surviving an unstable stock market: Long-term investments

Many of the cities on this list are located within commuting distance of much larger cities and the wider variety of high-paying jobs available there. Another common characteristic in these cities is education. Areas with higher levels of educational attainment tend to have higher incomes, as workers with college degrees are more likely to have high-paying, secure jobs. Nationwide, the typical college-educated worker earns $56,344 a year, well above the median earnings of $41,801 for all workers. Often, the wealthiest city in a given state is also the most educated. This is the most educated city in every state.