The 1942 Maryland attorney general election was held on 3 November 1942 in order to elect the attorney general of Maryland. Democratic nominee and incumbent attorney general William C. Walsh defeated Republican nominee Horace P. Whitworth.
General election.
On election day, 3 November 1942, Democratic nominee William C. Walsh won re-election by a margin of 67,928 votes against his opponent Republican nominee Horace P. Whitworth, thereby retaining Democratic control over the office of attorney general. Walsh was sworn in for his second term on 3 January 1943.
Results.
! scope="col" colspan="2" style="width: 15em" |Party
! scope="col" style="width: 17em" |Candidate
! scope="col" style="width: 5em" |Votes
! scope="col" style="width: 3.5em" |%
! colspan="3" style="text-align:right;" | Total votes
References.
 ;templatestyles src="Reflist/styles.css" / ;