1842 South Carolina gubernatorial election

The 1842 South Carolina gubernatorial election was held on 8 December 1842 in order to elect the Governor of South Carolina. Democratic candidate and former member of the United States House of Representatives from South Carolina's 4th district James H. Hammond was elected by the South Carolina General Assembly against fellow Democratic candidate and incumbent member of the South Carolina Senate Robert Francis Withers Allston.

General election
On election day, 8 December 1842, Democratic candidate James H. Hammond was elected by the South Carolina General Assembly by a margin of 7 votes against his opponent fellow Democratic candidate Robert Francis Withers Allston, thereby retaining Democratic control over the office of Governor. Hammond was sworn in as the 60th Governor of South Carolina on 3 January 1843.