Margrave Wilhelm of Baden (8 April 1792 in Karlsruhe – 11 October 1859 in Karlsruhe) was the second son of Karl Friedrich, Grand Duke of Baden and his second wife, Luise Karoline, Baroness Geyer von Geyersberg (26 May 1768—23 July 1820), the daughter of Lt. Col. Baron Ludwig Heinrich Philipp Geyer von Geyersberg and his wife, Countess Maximiliana Christiane of Sponeck. Because his marriage to Luise was considered by the House of Baden as morganatic, Wilhelm, for a time, had no succession rights to the Grand Duchy.
He married on 16 October 1830, Duchess Elisabeth Alexandrine of Württemberg (27 February 1802—5 December 1864), the daughter of Duke Louis of Württemberg. They had the following children: