In the 1977 Virginia gubernatorial election, incumbent Governor Mills E. Godwin, Jr., a Republican, was unable to seek re-election due to term limits. John N. Dalton, the Lieutenant Governor of Virginia, was nominated by the Republican Party to run against the Democratic nominee, former Lieutenant Governor of Virginia Henry Howell.
This was the only instance in Virginia's history in which the Republican Party won the gubernatorial election for a third time consecutively.
Primaries.
Democratic.
Henry Howell, who was elected lieutenant governor in 1971 and unsuccessful ran for governor in 1973, was an opponent of the Byrd machine and one of the most liberal politicians in Virginia at the time. Attorney General Andrew P. Miller was the highest elected Democratic official in the state. Miller's father, Francis Pickens Miller, ran as an anti-Byrd candidate in the 1949 gubernatorial election.
14.4% of the voting age population participated in the Democratic primary.
Republican.
Governor Mills Godwin, a former Democrat, was supported by the Byrd machine, but John N. Dalton was a lifelong Republican and his father, Theodore Roosevelt Dalton, ran as the Republican nominee against a Byrd-backed Democrat in the 1953 gubernatorial election.
Results.
! scope="col" colspan="2" style="width: 130px"|Party
! scope="col" style="width: 17em"|Candidate
! scope="col" style="width: 5em"|Votes
! scope="col" style="width: 3.5em"|%
! scope="col" style="width: 3.5em"| ;templatestyles src="Template:Tooltip/styles.css" / ;±%
! colspan="3" style="text-align: right; margin-right: 0.5em" | Majority
! colspan="3" style="text-align: right; margin-right: 0.5em" scope=row | Turnout
! style="text-align:right;" | Swing
References.
 ;templatestyles src="Reflist/styles.css" / ;