Elmhurst is a city mostly in DuPage County and overlapping into Cook County in the U.S. state of Illinois, and a western suburb of Chicago. As of the 2010 census, the city had a total population of 44,121, which was estimated to have increased to 45,171 by July 2012.