Corsham is a historic market town and civil parish in west Wiltshire, England. It is at the south-western edge of the Cotswolds, just off the A4 national route, which was formerly the main turnpike road from London to Bristol, 7.5 miles (12.1 km) east of Bath and 4.5 miles (7.2 km) west of Chippenham. Corsham was historically a centre for agriculture and later, the wool industry, and remains a focus for quarrying Bath Stone. It contains several notable historic buildings, such as 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 the old quarry tunnels. The early 21st century saw some growth in Corsham's role in the film industry.