Divanli is one of the localities of Yozgat; it had 374 registered voters at the 2018 parliamentary election.
AK Parti took 67.2% in the village at that election. Across Yozgat the same party stood at 49.4%, putting the village 17.7 points above the district average. In the presidential election Recep Tayyip Erdoğan took 95.1% here and 74.9% across the district. At the 2017 referendum 94.1% of the village voted 'yes'; across the district that was 73.0%.
The picture has not changed since 2014: AK Parti has finished first in all of the last 4 elections. AK Parti stood at 75.7% at the 2015 parliamentary election and fell to 67.2% by 2018.