William Hoffman (1807–1884) was a 19th-century officer in the United States Army. The West Point graduate was involved in the Black Hawk War, Seminole Wars, Mexican–American War and the American Civil War. During the Civil War he served as the Commissary-General of Prisoners and set policy for the treatment and release of prisoners.