Mechanicsburg Township is located in Sangamon County, Illinois. As of the 2010 census, its population was 2,293 and it contained 969 housing units.
According to the 2010 census, the township has a total area of , of which (or 99.97%) is land and (or 0.03%) is water.