OquiliaOquilia

Election Data Lab · Analysis · Uttar Pradesh

Uttar Pradesh election 2022: close seats, district by district

In Uttar Pradesh's 2022 assembly election, 131 of 403 seats were won by under 5% of the votes counted, and they lay in 58 of the State's 75 districts; 17 districts had none. Bijnor had the lowest median margin of any district, 1.70%, and Gautam Buddha Nagar the highest, 39.07%.

This piece counts the close seats of 2022 district by district, and sets out which parties' candidates won them and which came second, in the same columns for every party. Each district's own page is on the district map, the spread of margins at all three elections is on Uttar Pradesh in numbers, and the closest individual contests are in a separate story.

Election Commission files as read on 28 November 2026 · Our standards for political coverage · हिन्दी में पढ़ें

131
Seats, of 403, won by under 5% of the votes counted, 2022
58
Districts, of 75, with at least one such seat
1.70%
The lowest median margin of any district: Bijnor
8.87%
The median margin of all the State's seats

1Close seats lay in most districts

Of 403 seats, 30 were won by under 1% of the votes counted, 50 by under 2% and 131 by under 5%. At least one seat won by under 5% lay in 58 of the 75 districts.

The margin here is the winner's votes less the runner-up's, as a share of the votes counted in the seat. In the State's median seat it was 8.87%. In votes, the median margin of the 131 seats won by under 5% was 5,912, and that of the 30 seats won by under 1% was 922.5.

Districts differ widely around that figure. The median margin of a district's seats was below 5% in 20 districts and 20% or more in 7. In 41 of the 75 districts it was below the State's median.

The median margin of a district's seats: how the districts are spread

Assembly election 2022

Assembly election 2022: How many districts fall in each band of the median margin; the same counts are in the table below.20<5%255–10%1210–15%1115–20%720%+Median margin of the district's seatsMedian of all seats 8.87%
Seats won by a narrow margin, 2022
MarginSeatsShare of all seatsDistricts with at least one such seatMedian margin in votes
under 1%307.44%22922.5
under 2%5012.41%341,654.5
under 5%13132.51%585,912

Each row includes the seats of the row above it. A margin is a per cent of the votes counted in the seat, NOTA included.

Districts by band of the median margin
District's median margin<5%5–10%10–15%15–20%20%+
Districts202512117

Each band includes its lower edge and not its upper one.

2Where the median margin was lowest

Bijnor's 8 seats had a median margin of 1.70%, the lowest of the 75 districts: 5 of them were won by under 5% and 4 by under 1%.

In 28 districts at least half of the seats were won by under 5%. Those districts hold 136 of the State's 403 seats and 84 of the 131 close ones. Every seat was that close in Kannauj (3 seats) and Bhadohi (3 seats).

A district with two or three seats has a median that rests on very few results, so the table gives each district's number of seats beside its figures. The chart shows the districts with the lowest medians; the table lists every district, lowest median first.

The 10 districts with the lowest median margin, 2022
The median margin of the seats in the districts where it was lowest; the same figures are in the table below.Bijnor · 8 seats1.70%Kannauj · 3 seats1.93%Bhadohi · 3 seats1.95%Raebareli · 6 seats2.44%Jaunpur · 9 seats2.82%Etawah · 3 seats3.06%Baghpat · 3 seats3.14%Shrawasti · 2 seats3.22%Auraiya · 3 seats3.40%Hathras · 3 seats3.44%
Every district: seats, median margin and seats won by a narrow margin, 2022
DistrictSeatsMedian marginClosest marginSeats won by under 1%Seats won by under 2%Seats won by under 5%
Bijnor81.70%0.10%445
Kannauj31.93%0.39%123
Bhadohi31.95%0.73%123
Raebareli62.44%1.05%035
Jaunpur92.82%0.30%338
Etawah33.06%1.62%012
Baghpat33.14%0.16%112
Shrawasti23.22%0.58%111
Auraiya33.40%0.24%112
Hathras33.44%2.65%002
Meerut73.93%0.86%114
Firozabad54.23%0.34%113
Shahjahanpur64.24%0.18%114
Hapur34.51%2.85%002
Sultanpur54.52%0.13%223
Budaun64.55%0.73%113
Chitrakoot24.56%0.50%111
Sitapur94.86%0.54%115
Sant Kabir Nagar34.88%2.16%002
Shamli34.94%3.37%002
Etah45.19%1.68%012
Bahraich75.23%1.76%013
Ambedkar Nagar55.26%3.11%002
Prayagraj125.46%1.11%036
Bareilly95.49%1.26%024
Banda45.65%3.14%002
Chandauli45.69%3.75%001
Kaushambi35.90%3.21%001
Fatehpur66.06%1.99%013
Barabanki66.12%0.08%233
Ayodhya56.16%2.30%001
Sonbhadra46.32%2.68%002
Mainpuri46.47%2.22%002
Basti56.49%0.82%112
Amroha46.51%2.67%002
Ballia77.33%2.76%002
Muzaffarnagar67.83%2.40%002
Balrampur48.20%3.07%001
Kanpur Dehat48.65%5.45%000
Saharanpur78.67%0.12%113
Lucknow98.71%3.17%002
Kheri89.21%2.10%001
Deoria79.34%7.09%000
Azamgarh109.52%6.40%000
Pratapgarh79.94%1.40%011
Mau410.16%1.98%011
Amethi410.38%3.43%001
Hardoi810.48%2.77%003
Siddharthnagar510.78%0.37%222
Kanpur Nagar1011.01%5.21%000
Moradabad611.45%0.24%112
Gonda713.31%3.35%001
Varanasi813.56%3.74%001
Jalaun313.72%1.19%011
Sambhal413.88%9.69%000
Ghazipur714.48%0.75%111
Unnao614.98%7.76%000
Pilibhit415.47%2.67%001
Aligarh716.28%1.99%011
Farrukhabad416.38%7.69%000
Hamirpur216.81%9.70%000
Rampur517.09%0.13%112
Mirzapur517.58%13.69%000
Gorakhpur919.01%9.44%000
Mathura519.18%4.26%001
Agra919.46%12.73%000
Kasganj319.74%1.82%011
Mahoba219.87%18.77%000
Jhansi420.07%14.27%000
Kushinagar720.22%15.74%000
Maharajganj523.63%0.59%111
Bulandshahr725.94%9.95%000
Lalitpur232.49%32.18%000
Ghaziabad535.35%2.75%001
Gautam Buddha Nagar339.07%24.28%000
Uttar Pradesh4038.87%0.08%3050131

Districts are those the Commission's voter services portal gives each seat. The last row's median is that of all the State's seats.

3Districts with no close seat

17 districts, holding 95 seats between them, had no seat won by under 5%. Gautam Buddha Nagar had the highest median margin, 39.07%; the closest of its 3 seats was won by 24.28%.

A high median does not mean that every seat in a district was won by a wide margin. Of the 10 districts with the highest medians, 3 had at least one seat won by under 5%. The table sets each district's closest and widest margins side by side.

The 10 districts with the highest median margin, 2022
The median margin of the seats in the districts where it was highest; the same figures are in the table below.Gautam Buddha Nagar · 3 seats39.07%Ghaziabad · 5 seats35.35%Lalitpur · 2 seats32.49%Bulandshahr · 7 seats25.94%Maharajganj · 5 seats23.63%Kushinagar · 7 seats20.22%Jhansi · 4 seats20.07%Mahoba · 2 seats19.87%Kasganj · 3 seats19.74%Agra · 9 seats19.46%
The districts with the highest median margin, 2022
DistrictSeatsMedian marginClosest marginWidest marginSeats won by under 5%
Gautam Buddha Nagar339.07%24.28%52.12%0
Ghaziabad535.35%2.75%44.60%1
Lalitpur232.49%32.18%32.79%0
Bulandshahr725.94%9.95%35.41%0
Maharajganj523.63%0.59%29.28%1
Kushinagar720.22%15.74%33.87%0
Jhansi420.07%14.27%30.20%0
Mahoba219.87%18.77%20.97%0
Kasganj319.74%1.82%22.66%1
Agra919.46%12.73%46.67%0

4Who won the close seats, and who came second

In the 131 seats won by under 5%, the runner-up was a candidate of Samajwadi Party (SP) in 65 and of Bharatiya Janata Party (BJP) in 50; the winner was a candidate of BJP in 68 and of SP in 47.

BJP candidates won 255 seats in all, 68 of them (26.67%) by under 5%; they were runners-up in 115, and in 50 of those (43.48%) the margin was below 5%. SP candidates won 111 seats in all, 47 of them (42.34%) by under 5%; they were runners-up in 223, and in 65 of those (29.15%) the margin was below 5%.

The most frequent pairing, in 59 seats, had the winner from BJP and the runner-up from SP; the reverse held in 41. Together the two are 100 of the 131 seats. The Commission records each candidate's party, not an alliance, so parties that fought as allies are separate rows here.

Seats won by under 5%: how many each party's candidates won, and how many they came second in
For each party, how many of the close seats its candidates won and in how many they were runners-up; the same counts are in the table below.BJP6850SP4765RLD56ADAL33SBSP33NINSHAD33BSP11INC10
  • Solid bar: seats won
  • Outlined bar: seats as runner-up
Every party: seats won and seats as runner-up, by margin, 2022
PartySeats wonWon by under 1%Won by under 2%Won by under 5%Share of its wins by under 5%Runner-up inSecond by under 1%Second by under 2%Second by under 5%Share of its second places by under 5%
BJP25515246826.67%11512195043.48%
SP11111214742.34%22315256529.15%
RLD800562.50%1933631.58%
ADAL1223325.00%501360.00%
SBSP600350.00%800337.50%
NINSHAD611350.00%402375.00%
BSP1001100.00%180015.56%
INC211150.00%40000.00%
APNDLK0000–30000.00%
IND0000–30000.00%
JDL20000.00%0000–
JD(U)0000–10000.00%
All seats403305013132.51%403305013132.51%

The table holds every party with a winner or a runner-up in any seat; IND is all independent candidates. A dash stands where a party has no win, or no second place, to take a share of.

Seats won by under 5%: the winner's party and the runner-up's
Winner's partyRunner-up's partySeats
BJPSP59
SPBJP41
BJPRLD6
RLDBJP5
ADALSP3
NINSHADSP3
SBSPBJP3
SPADAL3
SPNINSHAD3
BJPSBSP2
BJPBSP1
BSPSBSP1
INCBJP1
Total131

Parties, as the Commission's list names them

  • ADAL: Apna Dal (Soneylal)
  • APNDLK: Apna Dal (Kamerawadi)
  • BJP: Bharatiya Janata Party
  • BSP: Bahujan Samaj Party
  • INC: Indian National Congress
  • IND: Independent
  • JD(U): Janata Dal (United)
  • JDL: Jansatta Dal Loktantrik
  • NINSHAD: Nirbal Indian Shoshit Hamara Aam Dal
  • RLD: Rashtriya Lok Dal
  • SBSP: Suheldev Bharatiya Samaj Party
  • SP: Samajwadi Party

What the records do not show

  • Why: the files count the votes each candidate polled. They do not say why a seat was won narrowly.
  • Voters: the result files do not record who voted for whom. Nothing here describes the voters of a district or a seat.
  • Alliances: the Commission records each candidate's party, not an alliance. Parties that fought as allies are not added together here.
  • After the count: recounts, election petitions and later by-elections are not in these files; the figures are those of the declared result.
  • What happens next: these are counts from one declared result, not a forecast of the next election.

How it was calculated

A seat's margin is the winner's votes less the runner-up's, as a per cent of the votes counted in the seat for candidates and NOTA; the figures come from the 2022 detailed results. A seat is counted under a limit when its margin is below the limit, not equal to it. The limits are 1%, 2% and 5%, the same as on Uttar Pradesh in numbers.

A district's median is the middle value of its seats' margins; for an even number of seats, the mean of the two middle values. Each seat is counted in the district the Commission's voter services portal gives it, and no seat is left out. A party is the one the Commission records against the candidate. No candidate is named here.

Methodology: every measure's definition, formula and a worked example

Questions

How many seats in Uttar Pradesh were won narrowly in 2022?

Of 403 seats, 30 were won by under 1% of the votes counted, 50 by under 2% and 131 by under 5%.

Which district had the lowest winning margins?

The median margin of a district's seats was lowest in Bijnor: 1.70%. Of its 8 seats, 5 were won by under 5%.

How many districts had no close seat?

17 of the 75 districts had no seat won by under 5%; they hold 95 seats between them.

Does this say anything about the next election?

No. These are counts from one declared result, not a forecast of the next election.

Sources

These files of the Election Commission of India; each file's SHA-256 is kept in our records.

Corrections

If any figure, date, count or description here is inaccurate, send the correcting document to editor@oquilia.com. Corrections supported by a document are published on this page, with a note of what changed and when.