The nearest railway station is Alton, which is 3 miles northwest of the village, although Oakhanger formerly had its own military railway station, Oakhanger Halt railway station on the Longmoor Military Railway, until its closure.