Malmesbury is a town and civil parish in Wiltshire, England. As a market town it became prominent in the Middle Ages as a centre for learning focused on and around Malmesbury Abbey, the bulk of which forms a rare survival of the dissolution of the monasteries.