Mattoon is a city in Coles County, Illinois, United States. The population was 18,291 as of the 2000 census. It is a principal city of the Charleston–Mattoon Micropolitan Statistical Area. Mattoon was the site of the "Mad Gasser" attacks of the 1940s.