24/7 Wall Street looked at factors such as crime rates, unemployment, and housing, and posted a list of each state's worst city to live in. Here's what they had to say about Illinois and Iowa.

ThinkStock

Illinois' worst city to live in if Rockford. With a population of 149,346, the median home value is way below the state's median home value, $87,200 versus $180,300. In Rockford's case, that points to economic and social difficulties.

Rockford also has an annual violent crime rate of 1,585 incidents for every 100,000 residents. That's four times the national violent crime rate.

Getty Images

Des Moines takes the position of worst city in Iowa to live in. The low cost of living is contrasted with high property taxes, it's 1.2% above the statewide average. The high crime rate includes 14 violent crimes and 4,011 property crimes for every 100,000 residents.

Read more at 24/7 Wall Street.