Corsham is a historic market town and civil parish in west Wiltshire, England. It is at the south-eastern edge of the Cotswolds, just off the A4 national route, 28 miles southwest of Swindon, 20 miles southeast of Bristol, 8 miles northeast of Bath and 4 miles southwest of Chippenham.
Historically, Corsham was a centre for agriculture and later, the wool industry, and remains a focus for quarrying Bath Stone. It contains several notable historic buildings; among them the stately home of Corsham Court. During the Second World War and the Cold War it became a major administrative and manufacturing centre for the Ministry of Defence, with numerous establishments both above ground and in disused quarry tunnels. More recently, due in part of the presence of the MOD since WWII, the Corsham area has become a significant national digital hub. The £2.5 million Mansion House project in the town centre provides incubation space for digital entrepreneurs, start-ups and growing SMEs.
The parish includes the villages of Gastard and Neston, which is at the gates of the Neston Park estate.