Altavista is located at 37°6'42" North, 79°17'8" West (37.111667, -79.285833).
According to the United States Census Bureau, the town has a total area of 4.92 mi2 (12.74 km2). 4.89 mi2 (12.67 km2) of it is land and 0.02 mi2 (0.06 km2) of it is covered by water. The total area is 0.48% water.
Altavista is located in the Eastern Standard Time (EST) timezone, GMT-05:00. It observes Daylight Saving Time (DST).