Sir William Wray, 1st Baronet, of Ashby (1625 – 17 October 1669) was an English politician who sat in the House of Commons at various times between 1645 and 1660.
In the Civil War, his father raised a regiment in the Parliamentarian army and he may have served as a captain.
He succeeded to the estates of Ashby on the death of his father in February 1645 and was travelling abroad later in the year when he was elected Member of Parliament for Great Grimsby as a recruiter to the Long Parliament.
He was elected MP for Grimsby again in 1654 for the First Protectorate Parliament and became deputy governor of Beaumaris Castle in the same year.
[2] In April 1660, Wray was elected again for Grimsby in the Convention Parliament by which time he was reckoned a Royalist.