Midland City is an unincorporated community in Barnett Township, DeWitt County, Illinois, United States.