In 2004, Dunlap was elected
Secretary of State of Maine by the
Maine Legislature, a role in which he served from 2005 until 2011. During his tenure as secretary of state, Dunlap oversaw the modernization of the way the Secretary of State's office delivers services to the public electronically and directed the implementation of Maine's Military and Overseas Voter Empowerment (MOVE) Act, allowing military personnel and others abroad secure and prompt access to the ballot. Dunlap also served as president of the
National Association of Secretaries of State from 2010 until 2011. Dunlap was again selected to be secretary of state by the Legislature after Democrats regained control of both chambers in the 2012 elections. He took the oath of office on January 7, 2013. He is the first person elected to non-consecutive terms as secretary of state since 1880, when S.J. Chadbourne held the position after holding it from 1876 to 1878. He was re-elected to his position in 2014, 2016, and 2018. In addition to his service as Maine secretary of state, he was also a member of the
Presidential Advisory Commission on Election Integrity from May, 2017 to January, 2018.
Marijuana ballot measure The Campaign To Regulate Marijuana Like Alcohol, a ballot initiative that sought to put the question of marijuana legalization before Maine voters in November 2016, sued the state of Maine for invalidating 26,779 signatures. The campaign had originally turned in 99,229 signatures from registered voters by the February 1 deadline in hopes of meeting the required number of 61,123 valid signatures to make the ballot. Dunlap invalidated the signatures because the signature of the notary who signed the petitions allegedly did not match the signature on file with staff. A court reversed Dunlap's decision after petition circulators sued, stating it was an error of law, and requiring him to reconsider the petitions rejected. Dunlap declined to appeal the decision. == State auditor ==