Margaret Wilson (c. 1667 – 11 May 1685) was a young Scottish Covenanter, from Wigtown in Scotland executed by drowning for refusing to swear an oath declaring James VII (James II of England) as head of the church. She died along with Margaret McLachlan. The two Margarets were known as the Wigtown Martyrs. Wilson became the more famous of the two because of her youth. As a teenager, her faith unto death became celebrated as part of the martyrology of Presbyterian churches.
The Covenanter movement to maintain the reforms of the Scottish Reformation came to the fore with signing of the National Covenant of 1638 in opposition to royal control of the church, promoting Presbyterianism as a form of church government instead of an Episcopal polity governed by bishops appointed by the Crown. The dispute led to the Wars of the Three Kingdoms and the overthrow of the monarchy. With the Restoration of the monarchy in 1660 the Covenants were declared treasonable and Episcopacy was restored. Particularly in the south-west of Scotland, ministers refused to submit. Barred from their churches, they held open air field assemblies called conventicles which the authorities suppressed using military force.
Margaret Wilson was born at Glenvernoch, a farm near Newton Stewart in Wigtownshire. Her parents were dutiful Episcopalians, but her older brothers were Covenanters. By 1684 Covenanters were hiding from the authorities in the hills, and increasingly draconian action had ended the large conventicles. There were still small gatherings held indoors, but now failure to take a test of allegiance to the king, which required renouncing the Covenant, met with the death penalty, as did even attending a conventicle or harbouring Covenanters. Despite the risks, Margaret began attending conventicles with her younger brother Thomas, possibly beginning when there was an opportunity at a local conventicle to see the charismatic James Renwick who had newly become leader of the more extreme Covenanters known as the Cameronians. On occasion they also took along their young sister Agnes.