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 · हिन्दी में पढ़ें
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.
Assembly election 2022
| Margin | Seats | Share of all seats | Districts with at least one such seat | Median margin in votes |
|---|---|---|---|---|
| under 1% | 30 | 7.44% | 22 | 922.5 |
| under 2% | 50 | 12.41% | 34 | 1,654.5 |
| under 5% | 131 | 32.51% | 58 | 5,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.
| District's median margin | <5% | 5–10% | 10–15% | 15–20% | 20%+ |
|---|---|---|---|---|---|
| Districts | 20 | 25 | 12 | 11 | 7 |
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.
| District | Seats | Median margin | Closest margin | Seats won by under 1% | Seats won by under 2% | Seats won by under 5% |
|---|---|---|---|---|---|---|
| Bijnor | 8 | 1.70% | 0.10% | 4 | 4 | 5 |
| Kannauj | 3 | 1.93% | 0.39% | 1 | 2 | 3 |
| Bhadohi | 3 | 1.95% | 0.73% | 1 | 2 | 3 |
| Raebareli | 6 | 2.44% | 1.05% | 0 | 3 | 5 |
| Jaunpur | 9 | 2.82% | 0.30% | 3 | 3 | 8 |
| Etawah | 3 | 3.06% | 1.62% | 0 | 1 | 2 |
| Baghpat | 3 | 3.14% | 0.16% | 1 | 1 | 2 |
| Shrawasti | 2 | 3.22% | 0.58% | 1 | 1 | 1 |
| Auraiya | 3 | 3.40% | 0.24% | 1 | 1 | 2 |
| Hathras | 3 | 3.44% | 2.65% | 0 | 0 | 2 |
| Meerut | 7 | 3.93% | 0.86% | 1 | 1 | 4 |
| Firozabad | 5 | 4.23% | 0.34% | 1 | 1 | 3 |
| Shahjahanpur | 6 | 4.24% | 0.18% | 1 | 1 | 4 |
| Hapur | 3 | 4.51% | 2.85% | 0 | 0 | 2 |
| Sultanpur | 5 | 4.52% | 0.13% | 2 | 2 | 3 |
| Budaun | 6 | 4.55% | 0.73% | 1 | 1 | 3 |
| Chitrakoot | 2 | 4.56% | 0.50% | 1 | 1 | 1 |
| Sitapur | 9 | 4.86% | 0.54% | 1 | 1 | 5 |
| Sant Kabir Nagar | 3 | 4.88% | 2.16% | 0 | 0 | 2 |
| Shamli | 3 | 4.94% | 3.37% | 0 | 0 | 2 |
| Etah | 4 | 5.19% | 1.68% | 0 | 1 | 2 |
| Bahraich | 7 | 5.23% | 1.76% | 0 | 1 | 3 |
| Ambedkar Nagar | 5 | 5.26% | 3.11% | 0 | 0 | 2 |
| Prayagraj | 12 | 5.46% | 1.11% | 0 | 3 | 6 |
| Bareilly | 9 | 5.49% | 1.26% | 0 | 2 | 4 |
| Banda | 4 | 5.65% | 3.14% | 0 | 0 | 2 |
| Chandauli | 4 | 5.69% | 3.75% | 0 | 0 | 1 |
| Kaushambi | 3 | 5.90% | 3.21% | 0 | 0 | 1 |
| Fatehpur | 6 | 6.06% | 1.99% | 0 | 1 | 3 |
| Barabanki | 6 | 6.12% | 0.08% | 2 | 3 | 3 |
| Ayodhya | 5 | 6.16% | 2.30% | 0 | 0 | 1 |
| Sonbhadra | 4 | 6.32% | 2.68% | 0 | 0 | 2 |
| Mainpuri | 4 | 6.47% | 2.22% | 0 | 0 | 2 |
| Basti | 5 | 6.49% | 0.82% | 1 | 1 | 2 |
| Amroha | 4 | 6.51% | 2.67% | 0 | 0 | 2 |
| Ballia | 7 | 7.33% | 2.76% | 0 | 0 | 2 |
| Muzaffarnagar | 6 | 7.83% | 2.40% | 0 | 0 | 2 |
| Balrampur | 4 | 8.20% | 3.07% | 0 | 0 | 1 |
| Kanpur Dehat | 4 | 8.65% | 5.45% | 0 | 0 | 0 |
| Saharanpur | 7 | 8.67% | 0.12% | 1 | 1 | 3 |
| Lucknow | 9 | 8.71% | 3.17% | 0 | 0 | 2 |
| Kheri | 8 | 9.21% | 2.10% | 0 | 0 | 1 |
| Deoria | 7 | 9.34% | 7.09% | 0 | 0 | 0 |
| Azamgarh | 10 | 9.52% | 6.40% | 0 | 0 | 0 |
| Pratapgarh | 7 | 9.94% | 1.40% | 0 | 1 | 1 |
| Mau | 4 | 10.16% | 1.98% | 0 | 1 | 1 |
| Amethi | 4 | 10.38% | 3.43% | 0 | 0 | 1 |
| Hardoi | 8 | 10.48% | 2.77% | 0 | 0 | 3 |
| Siddharthnagar | 5 | 10.78% | 0.37% | 2 | 2 | 2 |
| Kanpur Nagar | 10 | 11.01% | 5.21% | 0 | 0 | 0 |
| Moradabad | 6 | 11.45% | 0.24% | 1 | 1 | 2 |
| Gonda | 7 | 13.31% | 3.35% | 0 | 0 | 1 |
| Varanasi | 8 | 13.56% | 3.74% | 0 | 0 | 1 |
| Jalaun | 3 | 13.72% | 1.19% | 0 | 1 | 1 |
| Sambhal | 4 | 13.88% | 9.69% | 0 | 0 | 0 |
| Ghazipur | 7 | 14.48% | 0.75% | 1 | 1 | 1 |
| Unnao | 6 | 14.98% | 7.76% | 0 | 0 | 0 |
| Pilibhit | 4 | 15.47% | 2.67% | 0 | 0 | 1 |
| Aligarh | 7 | 16.28% | 1.99% | 0 | 1 | 1 |
| Farrukhabad | 4 | 16.38% | 7.69% | 0 | 0 | 0 |
| Hamirpur | 2 | 16.81% | 9.70% | 0 | 0 | 0 |
| Rampur | 5 | 17.09% | 0.13% | 1 | 1 | 2 |
| Mirzapur | 5 | 17.58% | 13.69% | 0 | 0 | 0 |
| Gorakhpur | 9 | 19.01% | 9.44% | 0 | 0 | 0 |
| Mathura | 5 | 19.18% | 4.26% | 0 | 0 | 1 |
| Agra | 9 | 19.46% | 12.73% | 0 | 0 | 0 |
| Kasganj | 3 | 19.74% | 1.82% | 0 | 1 | 1 |
| Mahoba | 2 | 19.87% | 18.77% | 0 | 0 | 0 |
| Jhansi | 4 | 20.07% | 14.27% | 0 | 0 | 0 |
| Kushinagar | 7 | 20.22% | 15.74% | 0 | 0 | 0 |
| Maharajganj | 5 | 23.63% | 0.59% | 1 | 1 | 1 |
| Bulandshahr | 7 | 25.94% | 9.95% | 0 | 0 | 0 |
| Lalitpur | 2 | 32.49% | 32.18% | 0 | 0 | 0 |
| Ghaziabad | 5 | 35.35% | 2.75% | 0 | 0 | 1 |
| Gautam Buddha Nagar | 3 | 39.07% | 24.28% | 0 | 0 | 0 |
| Uttar Pradesh | 403 | 8.87% | 0.08% | 30 | 50 | 131 |
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.
| District | Seats | Median margin | Closest margin | Widest margin | Seats won by under 5% |
|---|---|---|---|---|---|
| Gautam Buddha Nagar | 3 | 39.07% | 24.28% | 52.12% | 0 |
| Ghaziabad | 5 | 35.35% | 2.75% | 44.60% | 1 |
| Lalitpur | 2 | 32.49% | 32.18% | 32.79% | 0 |
| Bulandshahr | 7 | 25.94% | 9.95% | 35.41% | 0 |
| Maharajganj | 5 | 23.63% | 0.59% | 29.28% | 1 |
| Kushinagar | 7 | 20.22% | 15.74% | 33.87% | 0 |
| Jhansi | 4 | 20.07% | 14.27% | 30.20% | 0 |
| Mahoba | 2 | 19.87% | 18.77% | 20.97% | 0 |
| Kasganj | 3 | 19.74% | 1.82% | 22.66% | 1 |
| Agra | 9 | 19.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.
- Solid bar: seats won
- Outlined bar: seats as runner-up
| Party | Seats won | Won by under 1% | Won by under 2% | Won by under 5% | Share of its wins by under 5% | Runner-up in | Second by under 1% | Second by under 2% | Second by under 5% | Share of its second places by under 5% |
|---|---|---|---|---|---|---|---|---|---|---|
| BJP | 255 | 15 | 24 | 68 | 26.67% | 115 | 12 | 19 | 50 | 43.48% |
| SP | 111 | 11 | 21 | 47 | 42.34% | 223 | 15 | 25 | 65 | 29.15% |
| RLD | 8 | 0 | 0 | 5 | 62.50% | 19 | 3 | 3 | 6 | 31.58% |
| ADAL | 12 | 2 | 3 | 3 | 25.00% | 5 | 0 | 1 | 3 | 60.00% |
| SBSP | 6 | 0 | 0 | 3 | 50.00% | 8 | 0 | 0 | 3 | 37.50% |
| NINSHAD | 6 | 1 | 1 | 3 | 50.00% | 4 | 0 | 2 | 3 | 75.00% |
| BSP | 1 | 0 | 0 | 1 | 100.00% | 18 | 0 | 0 | 1 | 5.56% |
| INC | 2 | 1 | 1 | 1 | 50.00% | 4 | 0 | 0 | 0 | 0.00% |
| APNDLK | 0 | 0 | 0 | 0 | – | 3 | 0 | 0 | 0 | 0.00% |
| IND | 0 | 0 | 0 | 0 | – | 3 | 0 | 0 | 0 | 0.00% |
| JDL | 2 | 0 | 0 | 0 | 0.00% | 0 | 0 | 0 | 0 | – |
| JD(U) | 0 | 0 | 0 | 0 | – | 1 | 0 | 0 | 0 | 0.00% |
| All seats | 403 | 30 | 50 | 131 | 32.51% | 403 | 30 | 50 | 131 | 32.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.
| Winner's party | Runner-up's party | Seats |
|---|---|---|
| BJP | SP | 59 |
| SP | BJP | 41 |
| BJP | RLD | 6 |
| RLD | BJP | 5 |
| ADAL | SP | 3 |
| NINSHAD | SP | 3 |
| SBSP | BJP | 3 |
| SP | ADAL | 3 |
| SP | NINSHAD | 3 |
| BJP | SBSP | 2 |
| BJP | BSP | 1 |
| BSP | SBSP | 1 |
| INC | BJP | 1 |
| Total | 131 |
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.
- Uttar Pradesh assembly election 2022: Detailed Results (read 28 November 2026)
- Uttar Pradesh assembly election 2022: Constituency Data Summary (read 28 November 2026)
- Uttar Pradesh assembly election 2022: Performance of Political Parties (read 28 November 2026)
- Uttar Pradesh assembly election 2022: List of Political Parties Participated (read 28 November 2026)
- Voter services portal: Uttar Pradesh districts (English and Hindi names) (read 28 November 2026)
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.