Maryville is a village in Madison County, Illinois, United States. The population was 4,651 at the 2000 census. The population grew to 5,899 in 2004, according to a special census.
Maryville is located at 38°43′31″N 89°57′28″W / 38.72528°N 89.95778°W / 38.72528; -89.95778 (38.725298, -89.957674).
According to the United States Census Bureau, the village has a total area of 4.7 square miles (12.2 km²).4.7 square miles (12.1 km²) of it is land and 0.04 square miles (0.1 km²) of it (0.64%) is water.