Sir William Oglander, 6th Baronet (13 September 1769 – 17 January 1852) was an English politician who sat in the House of Commons from 1807 to 1812.
William Oglander was born at Parnham, near Bridport, Dorset, the son of Sir William Oglander, 5th Baronet and his wife Sukey Serle, daughter of Peter Serle of Testwood. He was educated at Winchester College and matriculated at New College, Oxford, on 3 March 1787 aged 17 and was awarded a BA in 1790. He succeeded to the baronetcy on the death of his father on 5 January 1806.
In 1807 he was elected Member of Parliament for Bodmin and sat until 1812. He was High Sheriff of Dorset from 1817 to 1818.
He married Maria Anne Fitzroy, daughter of George FitzRoy, 4th Duke of Grafton at St George's, Hanover Square on 24 May 1810 and around 1820 he commissioned a portrait of her by Sir Thomas Lawrence, probably intended to hang in the newly renovated home at Parnham.
Oglander died at the age of 82 at Parnham. He was succeeded in the baronetcy by his son Henry.