OquiliaOquilia

Open data · CC BY 4.0

Uttar Pradesh assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segment

One row for each Uttar Pradesh district at each of the 2012, 2017 and 2022 assembly general elections, and one for the 2024 Lok Sabha count by assembly segment: the seats in the district, the party with the most seats (or a tie), seats won and vote share for each listed party, electors, turnout, votes counted, NOTA, the median winning margin, the seats whose winning party changed from 2017 to 2022, candidates, women candidates and winners as counts, and deposits lost, summed from the Election Commission of India's seat results. Parties and counts only.

Rows
300
Columns
50
Last updated
28 November 2026
Covers
2012 to 2024

Licence and credit

Free to reuse, including commercially, under CC BY 4.0. Credit Oquilia and link to this page:

Source: <a href="https://www.oquilia.com/data/election-lab-up-districts">Oquilia</a>, CC BY 4.0

The data comes from www.oquilia.com/elections/lab/uttar-pradesh-district-map. More on reuse: how to use our work.

Read before you use it

  • Election Commission of India files, summed over the seats the Commission lists in each district today. By-elections are not included.
  • Shares are per cent of the votes counted in the district's seats for candidates and NOTA (none of the above); a party's share counts every seat in the district, including seats where it had no candidate.
  • The parties with their own columns are those that won a seat or had at least 1% of the State's votes counted at one of the elections: BJP, SP, BSP, INC, RLD, ADAL, SBSP, PECP, NINSHAD, JaKP, AD, QED, NCP, IEMC, JDL. Every other party's seats are in seats_by_party.
  • The 2024 row counts the assembly segments each party led in the Lok Sabha count, by electronic voting machine (EVM) votes; it is not an assembly result.
  • Measures are defined at https://www.oquilia.com/elections/lab/methodology.

Columns

ColumnTypeWhat it holds
statetextState.
zilatextDistrict (zila), as the Election Commission lists the seat today.
zila_hinditextDistrict in Hindi, from the same list.
electiontextassembly_<year> for an assembly general election; lok_sabha_2024_segments for the 2024 Lok Sabha count read by assembly segment.
seatsintegerAssembly seats in the district (for the 2024 row: the assembly segments the Commission's report 34 has a row for).
most_seats_partytextThe party whose candidates won the most of the district's seats (2024: led the most segments); tie where two or more parties share the most.
seats_by_partytextEvery party that won a seat (2024: led a segment), with the number, most first; Independent is an independent candidate.
electorsintegerElectors on the roll in the district's seats.
turnout_pctnumberVoters as per cent of electors in the seats whose voters the Constituency Data Summary records (see turnout_seats_covered).
turnout_seats_coveredintegerSeats in the turnout figure; fewer than seats where the summary leaves a seat out.
votes_countedintegerVotes counted for candidates and NOTA in the district's seats: the denominator of every share in this file.
nota_votesintegerVotes for NOTA (none of the above); empty where the Commission's file has none (2012, before NOTA).
nota_pctnumberNOTA as per cent of the votes counted.
median_margin_pctnumberThe middle value of the district's seat margins, each the winner's votes less the runner-up's as per cent of the votes counted in the seat.
seats_changed_partyintegerAt the latest election only: seats whose winning party differs from the one before (matched by the abbreviation the Commission prints).
candidatesintegerCandidates in the district's seats.
women_candidatesintegerCandidates the Commission records as female.
women_winnersintegerWinners the Commission records as female.
deposits_lostintegerCandidates who polled not more than one-sixth of the votes polled for candidates in their seat and were not elected, computed from the votes.
seats_bjpintegerSeats won by the Bharatiya Janata Party (BJP); 2024 row: segments led.
vote_share_pct_bjpnumberVotes for the Bharatiya Janata Party (BJP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_spintegerSeats won by the Samajwadi Party (SP); 2024 row: segments led.
vote_share_pct_spnumberVotes for the Samajwadi Party (SP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_bspintegerSeats won by the Bahujan Samaj Party (BSP); 2024 row: segments led.
vote_share_pct_bspnumberVotes for the Bahujan Samaj Party (BSP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_incintegerSeats won by the Indian National Congress (INC); 2024 row: segments led.
vote_share_pct_incnumberVotes for the Indian National Congress (INC) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_rldintegerSeats won by the Rashtriya Lok Dal (RLD); 2024 row: segments led.
vote_share_pct_rldnumberVotes for the Rashtriya Lok Dal (RLD) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_adalintegerSeats won by the Apna Dal (Soneylal) (ADAL); 2024 row: segments led.
vote_share_pct_adalnumberVotes for the Apna Dal (Soneylal) (ADAL) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_sbspintegerSeats won by the Suheldev Bharatiya Samaj Party (SBSP); 2024 row: segments led.
vote_share_pct_sbspnumberVotes for the Suheldev Bharatiya Samaj Party (SBSP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_pecpintegerSeats won by the Peace Party (PECP); 2024 row: segments led.
vote_share_pct_pecpnumberVotes for the Peace Party (PECP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_ninshadintegerSeats won by the Nirbal Indian Shoshit Hamara Aam Dal (NINSHAD); 2024 row: segments led.
vote_share_pct_ninshadnumberVotes for the Nirbal Indian Shoshit Hamara Aam Dal (NINSHAD) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_jakpintegerSeats won by the Jan Kranti Party(Rashtrawadi) (JaKP); 2024 row: segments led.
vote_share_pct_jakpnumberVotes for the Jan Kranti Party(Rashtrawadi) (JaKP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_adintegerSeats won by the Apna Dal (AD); 2024 row: segments led.
vote_share_pct_adnumberVotes for the Apna Dal (AD) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_qedintegerSeats won by the Quami Ekta Dal (QED); 2024 row: segments led.
vote_share_pct_qednumberVotes for the Quami Ekta Dal (QED) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_ncpintegerSeats won by the Nationalist Congress Party (NCP); 2024 row: segments led.
vote_share_pct_ncpnumberVotes for the Nationalist Congress Party (NCP) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_iemcintegerSeats won by the Ittehad-E-Millait Council (IEMC); 2024 row: segments led.
vote_share_pct_iemcnumberVotes for the Ittehad-E-Millait Council (IEMC) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
seats_jdlintegerSeats won by the Jansatta Dal Loktantrik (JDL); 2024 row: segments led.
vote_share_pct_jdlnumberVotes for the Jansatta Dal Loktantrik (JDL) as per cent of the votes counted in the district; empty where it had no candidate in the district, and in the 2024 row.
oquilia_pageurlThe district's page on Oquilia, with every seat.

Source documents

First 10 rows

statezilazila_hindielectionseatsmost_seats_party
Uttar PradeshAgraआगराassembly_20129BSP
Uttar PradeshAgraआगराassembly_20179BJP
Uttar PradeshAgraआगराassembly_20229BJP
Uttar PradeshAgraआगराlok_sabha_2024_segments9BJP
Uttar PradeshAligarhअलीगढ़assembly_20127SP
Uttar PradeshAligarhअलीगढ़assembly_20177BJP
Uttar PradeshAligarhअलीगढ़assembly_20227BJP
Uttar PradeshAligarhअलीगढ़lok_sabha_2024_segments7BJP
Uttar PradeshAmbedkar Nagarअम्बेडकर नगरassembly_20125SP
Uttar PradeshAmbedkar Nagarअम्बेडकर नगरassembly_20175BSP

The downloads have every row and every column.

Errors and requests

Found an error, or need the data in another shape? Write to editor@oquilia.com with the row and, for a correction, the document that shows it. Corrections are recorded on the source page and in our corrections log.