William Johnson (December 17 or December 27, 1771 – August 4, 1834) was a state legislator and judge in South Carolina and an Associate Justice of the U.S. Supreme Court from 1804 until his death in 1834.