Despite Donald Trump's victory in the state of Pennsylvania in the 2016 election, Montgomery County was one of the few counties in Pennsylvania which swung in the Democratic presidential candidates' direction with Hillary Clinton winning Montgomery County with 58.87% of the vote, an improvement from Barack Obama's 56.6% vote share in 2012. In the 2016 U.S. Senate elections as well as the Pennsylvania Attorney General elections, Montgomery County voted for Katie McGinty and Josh Shapiro, both Democrats. In 2020, Joe Biden received over 60% of the vote in Montgomery County, the first Democrat to do so in the county's history. Such a lopsided result in Montgomery County was one of several key factors that helped Biden flip Pennsylvania back to the Democratic column.