Mahomet is a town in Champaign County, Illinois, United States. The population was 7,258 at the 2010 census. Mahomet is about ten miles northwest of the city of Champaign. Interstate 74 and Illinois Route 47 meet in the town. Mahomet has two ZIP codes: 61840 and 61875.