Naperville (/ˈneɪpərˌvɪl/ NAY-pər-vil) is a city in DuPage and Will counties in the U.S. state of Illinois. It is a southwestern suburb of Chicago located 28 miles (45 km) west of the city on the DuPage River.