in october 2015, gillespie announced his plans to run for governor of virginia in 2017. in june 2017, he became the republican party's candidate for governor in virginia's 2017 election, facing democratic nominee ralph northam who later won the election.