The Department of Elections publishes unofficial results for all Virginia elections to its website on the night of the election. The results are entered by each of Virginia’s local general registrar offices into the Department’s centralized results reporting system, which then publishes the updated results every 10 minutes to the website.
The results are available in both a viewable HTML version and in a downloadable, comma-delimited text version (CSV). Additional downloadable files are available which show precincts reporting and changes to results after midnight on election night. To access these files, view the following links:
- 2017 June Democratic Primary
- 2017 June Republican Primary
- CSV Results:
Right click on the above link(s) and save to desktop. Import file into spreadsheet software. Detailed instructions with screen shots (.pdf)
- CSV Results Change Log: https://apps.elections.virginia.gov/SBE_CSV/ELECTIONS/ELECTIONCHANGES/
- JSON Results:
Registration statistics for Virginia voters are updated monthly. Statistics are broken out into segments including, but not limited to, Congressional District, State Senate, House of Delegates and locality.
As of 6/30/17, the Commonwealth of Virginia has 5,483,656 registered voters.
Important Notes Regarding Results in Virginia
State and federal contest results are unofficial until certified by the State Board of Elections (SBE). The SBE must meet to certify the November election results on the fourth Friday in November (§ 24.2-679).
Results are likely to shift some during the days immediately following an election as the local electoral boards complete their canvass.
In most cases, provisional results are not reported until the canvass is completed by the local electoral board. If provisional votes have been cast by voters who do not have the proper form of identification, those voters have until 12:00 noon on the Friday following the election to provide their proper identification.
Write-in candidate who are winners will have their names added to the results links as the local electoral boards work through their canvass process. If non-winning write-in candidate details are needed, please contact the appropriate local general registrar’s office after the canvass has completed (Tuesday after the election).
CSV Results File Details
The CSV results file contains a single line for each candidate for each precinct involved in the election. For example, if you have two candidates running for an office statewide, the file will contain one row for the first candidate for the first precinct and will contain another row for the second candidate for the first precinct. For referendums, there will only be one line per precinct. The “yes” votes appear in the “total_votes” column and the “no” votes appear in the “negative_votes” column.
To arrive at the number of precincts reporting, you can parse the CSV file to count the distinct precincts for each contest and subtract the provisional precincts. To see which precincts have reported, use the CSV Precincts Reporting CSV file indicated above.
The CSV file is updated simultaneously with the HTML site.