Annville is located at 40°19'45" North, 76°30'56" West (40.329444, -76.515556).
According to the United States Census Bureau, the township has a total area of 1.59 mi2 (4.11 km2). 1.58 mi2 (4.08 km2) of it is land and 0.01 mi2 (0.02 km2) of it is covered by water. The total area is 0.49% water.
Annville is located in the Eastern Standard Time (EST) timezone, GMT-05:00. It observes Daylight Saving Time (DST).