# Uttar Pradesh assembly elections: the closest and widest wins

- URL: https://www.oquilia.com/elections/uttar-pradesh-assembly-closest-widest-wins
- Section: Elections
- Published: 1 December 2026, 12:58 IST
- Language: English (en-IN)
- Oquilia exclusive: original reporting by Oquilia
- Hindi edition: https://www.oquilia.com/hi/elections/uttar-pradesh-assembly-closest-widest-wins
- This file: the plain-text version of the page above, for AI assistants. Cite the page URL, not this file.

> Baheri was won by 18 votes in 2012, the closest result in Uttar Pradesh's last three assembly elections, and Sahibabad by 2,14,835 votes in 2022, the widest. Seats won by 1,00,000 votes or more went from none in 2012 to 5 in 2017 and 11 in 2022; seats won by fewer than 1,000 votes numbered 24, 8 and 15.

- 18 votes — the closest result, Baheri in 2012
- 2,14,835 — votes: the widest win, Sahibabad in 2022
- 24 · 8 · 15 — seats won by fewer than 1,000 votes in 2012, 2017, 2022
- 0 · 5 · 11 — seats won by 1,00,000 votes or more in 2012, 2017, 2022

**The closest result in Uttar Pradesh's last three assembly elections was in Baheri in 2012, won by 18 votes; the widest was in Sahibabad in 2022, won by 2,14,835 votes.** In 2012 no seat was won by 1,00,000 votes or more; in 2017 there were 5, and in 2022 11. Seats won by fewer than 1,000 votes went from 24 in 2012 to 8 in 2017 and 15 in 2022.

This page lists the 10 closest and the 10 widest wins of each election, with the winning and runner-up parties, in the same columns for every party, and counts how all 403 margins were spread. The middle seat's margin, half the seats below it and half above, was 11,344 votes in 2012, 25,884 in 2017 and 19,684 in 2022.

## How the margins were spread

The chart counts the seats in each band of margin, in votes, for the three elections on one scale. In 2012 the largest group of seats, 149, was won by 10,000 to 24,999 votes. The seats won by 25,000 votes or more numbered 73 in 2012, 206 in 2017 and 165 in 2022.

Seats by winning margin in votes, 2012, 2017 and 2022 (403 seats each year)

Image: Bar chart: the number of seats in each band of winning margin, for 2012, 2017 and 2022

2012 — 2017 — 2022 — Source: Election Commission of India, Uttar Pradesh 2012, 2017 and 2022 results.

**Seats in each band of winning margin**

| Margin (votes) | 2012 | 2017 | 2022 |
| --- | --- | --- | --- |
| Fewer than 1,000 | 24 | 8 | 15 |
| 1,000 to 4,999 | 65 | 39 | 38 |
| 5,000 to 9,999 | 92 | 30 | 71 |
| 10,000 to 24,999 | 149 | 120 | 114 |
| 25,000 to 49,999 | 67 | 137 | 114 |
| 50,000 to 99,999 | 6 | 64 | 40 |
| 1,00,000 or more | 0 | 5 | 11 |

## Party by party

The table lists every party that won a seat in any of the three elections: the seats it won, how many of those by fewer than 1,000 votes, and how many by 1,00,000 or more. In 2012 the Samajwadi Party won the most seats by fewer than 1,000 votes, 14 of its 224. In 2017 the Bharatiya Janata Party won the most seats by fewer than 1,000 votes, 5 of its 312. In 2022 the Bharatiya Janata Party won the most seats by fewer than 1,000 votes, 8 of its 255. In 2022 the Bharatiya Janata Party won all 11 of the seats won by 1,00,000 votes or more.

**Every party that won a seat in 2012, 2017 or 2022**

| Party | Won, 2012 | Under 1,000, 2012 | 1,00,000 or more, 2012 | Won, 2017 | Under 1,000, 2017 | 1,00,000 or more, 2017 | Won, 2022 | Under 1,000, 2022 | 1,00,000 or more, 2022 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Bharatiya Janata Party | 47 | 3 | 0 | 312 | 5 | 4 | 255 | 8 | 11 |
| Samajwadi Party | 224 | 14 | 0 | 47 | 1 | 0 | 111 | 6 | 0 |
| Apna Dal (Soneylal) | 0 | 0 | 0 | 9 | 0 | 0 | 12 | 0 | 0 |
| Rashtriya Lok Dal | 9 | 0 | 0 | 1 | 0 | 0 | 8 | 0 | 0 |
| Suheldev Bharatiya Samaj Party | 0 | 0 | 0 | 4 | 0 | 0 | 6 | 0 | 0 |
| Nirbal Indian Shoshit Hamara Aam Dal | 0 | 0 | 0 | 1 | 0 | 0 | 6 | 1 | 0 |
| Indian National Congress | 28 | 1 | 0 | 7 | 0 | 0 | 2 | 0 | 0 |
| Jansatta Dal Loktantrik | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 |
| Bahujan Samaj Party | 80 | 5 | 0 | 19 | 2 | 0 | 1 | 0 | 0 |
| Independent | 6 | 1 | 0 | 3 | 0 | 1 | 0 | 0 | 0 |
| Peace Party | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Quami Ekta Dal | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Apna Dal | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Ittehad-E-Millait Council | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Nationalist Congress Party | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |

## The closest wins

The narrowest win of each election: Dhampur in 2022, by 203 votes (Bharatiya Janata Party over Samajwadi Party); Domariyaganj in 2017, by 171 votes (Bharatiya Janata Party over Bahujan Samaj Party); Baheri in 2012, by 18 votes (Samajwadi Party over Bharatiya Janata Party). Each table is in order of the margin, smallest first. Each seat's page has every candidate's votes in 2012, 2017, 2022 and the 2024 segment; the full list of seats is at [Uttar Pradesh's 403 seats](https://www.oquilia.com/elections/uttar-pradesh-2027/seats). The data is in the CSV: [uttar-pradesh-assembly-closest-widest-wins.csv](https://www.oquilia.com/data/elections/up/uttar-pradesh-assembly-closest-widest-wins.csv).

**2022: the 10 closest wins, smallest margin first**

| Seat (AC) | District | Won by | Runner-up | Margin | Margin, % of votes counted |
| --- | --- | --- | --- | --- | --- |
| [Dhampur (20)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/dhampur) | Bijnor | Bharatiya Janata Party | Samajwadi Party | 203 | 0.10 |
| [Kursi (266)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/kursi) | Barabanki | Bharatiya Janata Party | Samajwadi Party | 217 | 0.08 |
| [Chandpur (23)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/chandpur) | Bijnor | Samajwadi Party | Bharatiya Janata Party | 234 | 0.10 |
| [Nehtaur (21)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/nehtaur) | Bijnor | Bharatiya Janata Party | Rashtriya Lok Dal | 258 | 0.13 |
| [Ram Nagar (267)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/ram-nagar) | Barabanki | Samajwadi Party | Bharatiya Janata Party | 261 | 0.11 |
| [Isauli (187)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/isauli) | Sultanpur | Samajwadi Party | Bharatiya Janata Party | 269 | 0.13 |
| [Bilaspur (36)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/bilaspur) | Rampur | Bharatiya Janata Party | Samajwadi Party | 307 | 0.13 |
| [Nakur (2)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/nakur) | Saharanpur | Bharatiya Janata Party | Samajwadi Party | 315 | 0.12 |
| [Baraut (51)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/baraut) | Baghpat | Bharatiya Janata Party | Rashtriya Lok Dal | 315 | 0.16 |
| [Katra (131)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/katra) | Shahjahanpur | Bharatiya Janata Party | Samajwadi Party | 357 | 0.18 |

**2017: the 10 closest wins, smallest margin first**

| Seat (AC) | District | Won by | Runner-up | Margin | Margin, % of votes counted |
| --- | --- | --- | --- | --- | --- |
| [Domariyaganj (306)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/domariyaganj) | Siddharthnagar | Bharatiya Janata Party | Bahujan Samaj Party | 171 | 0.08 |
| [Meerapur (16)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/meerapur) | Muzaffarnagar | Bharatiya Janata Party | Samajwadi Party | 193 | 0.09 |
| [Mant (82)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mant) | Mathura | Bahujan Samaj Party | Rashtriya Lok Dal | 432 | 0.21 |
| [Shrawasti (290)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/shrawasti) | Shrawasti | Bharatiya Janata Party | Samajwadi Party | 445 | 0.18 |
| [Mohanlalganj (176)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mohanlalganj) | Lucknow | Samajwadi Party | Bahujan Samaj Party | 530 | 0.24 |
| [Muhammadabad-Gohna (355)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/muhammadabad-gohna) | Mau | Bharatiya Janata Party | Bahujan Samaj Party | 538 | 0.25 |
| [Rampur Maniharan (6)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/rampur-maniharan) | Saharanpur | Bharatiya Janata Party | Bahujan Samaj Party | 595 | 0.27 |
| [Mubarakpur (346)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mubarakpur) | Azamgarh | Bahujan Samaj Party | Samajwadi Party | 688 | 0.36 |
| [Duddhi (403)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/duddhi) | Sonbhadra | Apna Dal (Soneylal) | Bahujan Samaj Party | 1,085 | 0.55 |
| [Bhadohi (392)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/bhadohi) | Bhadohi | Bharatiya Janata Party | Samajwadi Party | 1,105 | 0.46 |

**2012: the 10 closest wins, smallest margin first**

| Seat (AC) | District | Won by | Runner-up | Margin | Margin, % of votes counted |
| --- | --- | --- | --- | --- | --- |
| [Baheri (118)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/baheri) | Bareilly | Samajwadi Party | Bharatiya Janata Party | 18 | 0.01 |
| [Sikandrabad (64)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/sikandrabad) | Bulandshahr | Bharatiya Janata Party | Bahujan Samaj Party | 123 | 0.06 |
| [Farrukhabad (194)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/farrukhabad) | Farrukhabad | Independent | Bharatiya Janata Party | 147 | 0.08 |
| [Patti (249)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/patti) | Pratapgarh | Samajwadi Party | Bharatiya Janata Party | 156 | 0.08 |
| [Balamau (160)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/balamau) | Hardoi | Samajwadi Party | Bahujan Samaj Party | 173 | 0.10 |
| [Ghazipur (375)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/ghazipur) | Ghazipur | Samajwadi Party | Bahujan Samaj Party | 241 | 0.13 |
| [Thana Bhawan (9)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/thana-bhawan) | Shamli | Bharatiya Janata Party | Rashtriya Lok Dal | 265 | 0.15 |
| [Mahoba (230)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mahoba) | Mahoba | Bahujan Samaj Party | Samajwadi Party | 354 | 0.20 |
| [Karachhana (260)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/karachhana) | Prayagraj | Bahujan Samaj Party | Samajwadi Party | 404 | 0.23 |
| [Allahabad South (263)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/allahabad-south) | Prayagraj | Samajwadi Party | Bahujan Samaj Party | 414 | 0.28 |

## The widest wins

The widest win of each election: Sahibabad in 2022, by 2,14,835 votes (Bharatiya Janata Party over Samajwadi Party); Sahibabad in 2017, by 1,50,685 votes (Bharatiya Janata Party over Indian National Congress); Kunda in 2012, by 88,255 votes (Independent over Bahujan Samaj Party). Each table is in order of the margin, largest first.

**2022: the 10 widest wins, largest margin first**

| Seat (AC) | District | Won by | Runner-up | Margin | Margin, % of votes counted |
| --- | --- | --- | --- | --- | --- |
| [Sahibabad (55)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/sahibabad) | Ghaziabad | Bharatiya Janata Party | Samajwadi Party | 2,14,835 | 44.60 |
| [Noida (61)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/noida) | Gautam Buddha Nagar | Bharatiya Janata Party | Samajwadi Party | 1,81,513 | 52.12 |
| [Dadri (62)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/dadri) | Gautam Buddha Nagar | Bharatiya Janata Party | Samajwadi Party | 1,38,218 | 39.07 |
| [Meerut Cantt. (47)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/meerut-cantt) | Meerut | Bharatiya Janata Party | Rashtriya Lok Dal | 1,18,072 | 48.29 |
| [Agra North (89)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/agra-north) | Agra | Bharatiya Janata Party | Bahujan Samaj Party | 1,12,370 | 46.67 |
| [Mehroni (227)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mehroni) | Lalitpur | Bharatiya Janata Party | Bahujan Samaj Party | 1,10,451 | 32.79 |
| [Mathura (84)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mathura) | Mathura | Bharatiya Janata Party | Indian National Congress | 1,09,803 | 41.65 |
| [Lalitpur (226)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/lalitpur) | Lalitpur | Bharatiya Janata Party | Bahujan Samaj Party | 1,07,215 | 32.18 |
| [Ghaziabad (56)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/ghaziabad) | Ghaziabad | Bharatiya Janata Party | Samajwadi Party | 1,05,537 | 43.12 |
| [Gorakhpur Urban (322)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/gorakhpur-urban) | Gorakhpur | Bharatiya Janata Party | Samajwadi Party | 1,03,390 | 41.34 |

**2017: the 10 widest wins, largest margin first**

| Seat (AC) | District | Won by | Runner-up | Margin | Margin, % of votes counted |
| --- | --- | --- | --- | --- | --- |
| [Sahibabad (55)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/sahibabad) | Ghaziabad | Bharatiya Janata Party | Indian National Congress | 1,50,685 | 35.38 |
| [Rath (229)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/rath) | Hamirpur | Bharatiya Janata Party | Indian National Congress | 1,04,643 | 43.24 |
| [Noida (61)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/noida) | Gautam Buddha Nagar | Bharatiya Janata Party | Samajwadi Party | 1,04,016 | 40.89 |
| [Kunda (246)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/kunda) | Pratapgarh | Independent | Bharatiya Janata Party | 1,03,647 | 51.56 |
| [Mathura (84)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mathura) | Mathura | Bharatiya Janata Party | Indian National Congress | 1,01,161 | 39.97 |
| [Mehroni (227)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/mehroni) | Lalitpur | Bharatiya Janata Party | Bahujan Samaj Party | 99,564 | 32.35 |
| [Maharajpur (217)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/maharajpur) | Kanpur Nagar | Bharatiya Janata Party | Bahujan Samaj Party | 91,826 | 38.79 |
| [Muradnagar (54)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/muradnagar) | Ghaziabad | Bharatiya Janata Party | Bahujan Samaj Party | 89,612 | 35.35 |
| [Rae Bareli (180)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/rae-bareli) | Raebareli | Indian National Congress | Bahujan Samaj Party | 89,163 | 43.01 |
| [Agra North (89)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/agra-north) | Agra | Bharatiya Janata Party | Bahujan Samaj Party | 86,320 | 37.41 |

**2012: the 10 widest wins, largest margin first**

| Seat (AC) | District | Won by | Runner-up | Margin | Margin, % of votes counted |
| --- | --- | --- | --- | --- | --- |
| [Kunda (246)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/kunda) | Pratapgarh | Independent | Bahujan Samaj Party | 88,255 | 53.84 |
| [Jaswantnagar (199)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/jaswantnagar) | Etawah | Samajwadi Party | Bahujan Samaj Party | 81,084 | 37.58 |
| [Rampur (37)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/rampur) | Rampur | Samajwadi Party | Indian National Congress | 63,269 | 36.54 |
| [Goshainganj (276)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/goshainganj) | Ayodhya | Samajwadi Party | Bahujan Samaj Party | 58,681 | 28.06 |
| [Bisalpur (130)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/bisalpur) | Pilibhit | Bharatiya Janata Party | Indian National Congress | 56,071 | 24.94 |
| [Rasara (358)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/rasara) | Ballia | Bahujan Samaj Party | Samajwadi Party | 52,825 | 29.29 |
| [Gorakhpur Urban (322)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/gorakhpur-urban) | Gorakhpur | Bharatiya Janata Party | Samajwadi Party | 47,454 | 28.76 |
| [Gunnaur (111)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/gunnaur) | Sambhal | Samajwadi Party | Indian National Congress | 46,658 | 23.11 |
| [Kannauj (198)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/kannauj) | Kannauj | Samajwadi Party | Bahujan Samaj Party | 45,682 | 22.01 |
| [Handia (258)](https://www.oquilia.com/elections/uttar-pradesh-2027/seats/handia) | Prayagraj | Samajwadi Party | Pragatisheel Manav Samaj Party | 45,379 | 24.88 |

## The documents

- [Uttar Pradesh assembly election 2022: Detailed Results](https://old.eci.gov.in/files/file/14185-uttar-pradesh-general-legislative-election-2022/)
- [Uttar Pradesh assembly election 2022: List of Political Parties Participated](https://old.eci.gov.in/files/file/14185-uttar-pradesh-general-legislative-election-2022/)
- [Uttar Pradesh assembly election 2017: Detailed Results](https://old.eci.gov.in/files/file/3471-uttar-pradesh-general-legislative-election-2017/)
- [Uttar Pradesh assembly election 2017: List of Political Parties Participated](https://old.eci.gov.in/files/file/3471-uttar-pradesh-general-legislative-election-2017/)
- [Uttar Pradesh assembly election 2012: Statistical Report](https://old.eci.gov.in/files/file/3262-uttar-pradesh-2012/)

## How we counted

For each seat and year we took the candidates' votes from the Commission's Detailed Results (2017 and 2022) and its statistical report (2012). The winner is the candidate with the most votes and the runner-up the next; the margin is the difference. The lists are in order of the margin, with ties broken by the seat's number; in all three years the tenth seat on each list has a margin no seat left off the list shares. The bands count all 403 seats in each year. The files were parsed by a script that stops if any of its checks fail; nothing was typed.

Parties are named as the Commission's list of participating parties for that year names them; the party table uses the name of the latest year in which the party won a seat. It counts each party's own seats, so every seat appears once in each year's columns.

The figures are published as a CSV on this page, with the document each row comes from. Reuse is governed by our [intellectual property policy](https://www.oquilia.com/intellectual-property): the data is free to reuse under CC BY 4.0 with credit to Oquilia and a link ([how to use our work](https://www.oquilia.com/use-our-work)).

## Limits

A margin counts votes, not voters' reasons: the figures do not say why a contest was close or one-sided, and seats differ in the number of electors, so a margin of the same size is a larger share of a smaller seat's vote. The share column shows that.

All three years are general elections; by-elections held since are not included, and the figures say nothing about 2027.

## Questions

### What is the winning margin here?

The winner's votes less the runner-up's, as the Commission's results print them, postal ballots included. The share is the margin as a part of all the votes counted in the seat, for candidates and, in 2017 and 2022, for None of the Above.

### Are these the same 403 seats in all three years?

Yes. The seats were redrawn by the Delimitation Order of 2008, and the 2012, 2017 and 2022 elections were all held on those boundaries, so a seat's number and area are the same in each year.

### Are by-elections included?

No. All three years are general elections. Seats that have since had a by-election keep their general election result here; the seat pages say the same.

### Does a close result mean the seat is likely to change hands?

No such conclusion can be drawn from these figures. They record how many votes separated the first two candidates in past elections and say nothing about the next one.

## Corrections

If any figure here is wrong, send the correcting document to editor@oquilia.com; we will correct it and record the change on this page. No corrections so far.

## Sources

- Election Commission of India: Uttar Pradesh assembly election 2017 and 2022 Detailed Results, and the 2012 Statistical Report
- [Uttar Pradesh assembly election 2022: Detailed Results](https://old.eci.gov.in/files/file/14185-uttar-pradesh-general-legislative-election-2022/)
- [Uttar Pradesh assembly election 2017: Detailed Results](https://old.eci.gov.in/files/file/3471-uttar-pradesh-general-legislative-election-2017/)
- [Uttar Pradesh assembly election 2012: Statistical Report](https://old.eci.gov.in/files/file/3262-uttar-pradesh-2012/)

## How to cite

Oquilia, "Uttar Pradesh assembly elections: the closest and widest wins", 1 December 2026, https://www.oquilia.com/elections/uttar-pradesh-assembly-closest-widest-wins

Article text: all rights reserved; quote with a link.

## 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.
