William Wilkins was an American judge and politician from Pennsylvania who served as a Jacksonian member of the United States Senate from 1831 to 1834 and as a Democratic member of the United States House of Representatives for Pennsylvania's 21st congressional district from 1843 to 1844. He served as a member of both houses of the Pennsylvania General Assembly, a United States District Judge of the United States District Court for the Western District of Pennsylvania, United States Minister to Russia and the 19th United States Secretary of War.