On April 26, 2016, in the presidential primaries, Maryland voters expressed their preferences for the Democratic, and Republican parties' respective nominees for president. Registered members of each party only voted in their party's primary, while voters who were unaffiliated only voted in nonpartisan primary elections (e.g. School Board).
Hillary Clinton won Maryland with 60.3% of the vote. Donald Trump received 33.9% of the vote. Maryland was among the eleven states in which Clinton improved on Barack Obama's 2012 performance, winning by a larger margin than any presidential candidate since 1964.  Maryland was one of four states in which Clinton received over 60% of the vote, the others being Massachusetts, Hawaii and California. Clinton continued the tradition of Democratic dominance in the state of Maryland, capturing large majorities of the vote in the densely populated and heavily nonwhite Democratic Baltimore–Washington metropolitan area, while Trump easily outperformed her in more white, sparsely-populated regions elsewhere in the state that tend to vote Republican. Clinton became the first Democrat to win Anne Arundel County since Lyndon B. Johnson in 1964.
Following his second term, President Barack Obama is not eligible for another reelection. In October 2015, Obama's running-mate and two-term Vice President Joe Biden decided not to enter the race for the Democratic presidential nomination either. With their terms expiring on January 20, 2017, the electorate is asked to elect a new president, the 45th president and 48th vice president of the United States, respectively.