Mahomet is a village in Champaign County, Illinois, United States, along the Sangamon River. The population was 9,434 at the 2020 census. Mahomet is located approximately 10 miles northwest of Champaign at the junction of Interstate 74 and Illinois Route 47.