Duke William II of Bavaria-Straubing KG (5 April 1365—31 May 1417) was also count William VI of Holland, count William IV of Hainaut and count William V of Zeeland.
He ruled from 1404 until 1417, when he died from an infection caused by a dog bite.
William was a son of Albert I and Margaret of Brieg.