Samuel Cooper (June 12, 1798 – December 3, 1876) was a career United States Army officer, serving during the Second Seminole War and the Mexican-American War. Although little-known today, Cooper was also the highest ranking Confederate general during the American Civil War. After the conflict, he remained in Virginia as a farmer.