===State and federal government===
{{PresHead|place=Niagara County, New York|whig=no|source1=<ref>{{cite web|url=http://uselectionatlas.org/RESULTS|title=Dave Leip's Atlas of U.S. Presidential Elections|first=David|last=Leip|website=uselectionatlas.org}}</ref>}}
{{Hidden begin
<!-- PresRow should be {{PresRow|Year|Winning party|GOP/Whig vote #|Dem vote #|3rd party vote #|State}} -->
|titlestyle = background:#ccccff;
{{PresRow|2020|Republican|56,068|46,029|2,026|New York}}
|title = Presidential election results
{{PresRow|2016|Republican|51,961|35,559|4,882|New York}}
}}
{{PresRow|2012|Democratic|43,240|43,986|1,787|New York}}
{| align="center" border="2" cellpadding="4" cellspacing="0" style="float:right; margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;"
{{PresRow|2008|Democratic|46,348|47,303|1,621|New York}}
|+ '''Presidential elections results'''<ref>{{cite web|url=http://uselectionatlas.org/RESULTS|title=Dave Leip's Atlas of U.S. Presidential Elections|first=David|last=Leip|website=uselectionatlas.org}}</ref>
{{PresRow|2004|Democratic|47,111|47,602|1,867|New York}}
|- bgcolor=lightgrey
{{PresRow|2000|Democratic|40,952|47,781|4,537|New York}}
! Year
{{PresRow|1996|Democratic|31,438|44,203|13,803|New York}}
! [[Republican Party (United States)|Republican]]
{{PresRow|1992|Democratic|30,401|35,649|30,534|New York}}
! [[Democratic Party (United States)|Democratic]]
{{PresRow|1988|Democratic|42,537|43,801|530|New York}}
! [[Third Party (United States)|Third parties]]
{{PresRow|1984|Republican|51,289|41,368|201|New York}}
|-
{{PresRow|1980|Democratic|38,760|40,405|7,229|New York}}
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 2020|2020]]'''
{{PresRow|1976|Republican|46,101|43,667|471|New York}}
| style="text-align:center;" {{Party shading/Republican}}|'''53.9%''' ''56,068''
{{PresRow|1972|Republican|54,777|38,991|323|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|44.2% ''46,029''
{{PresRow|1968|Democratic|38,796|41,999|7,130|New York}}
| style="text-align:center; background:honeyDew;"|2.0% ''2,026''
{{PresRow|1964|Democratic|28,663|67,260|62|New York}}
|-
{{PresRow|1960|Democratic|50,001|51,680|84|New York}}
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 2016|2016]]'''
{{PresRow|1956|Republican|62,433|30,161|0|New York}}
| style="text-align:center;" {{Party shading/Republican}}|'''56.2%''' ''51,961''
{{PresRow|1952|Republican|54,843|36,504|108|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|38.5% ''35,559''
{{PresRow|1948|Republican|35,858|34,119|2,242|New York}}
| style="text-align:center; background:honeyDew;"|5.3% ''4,882''
{{PresRow|1944|Republican|37,614|34,850|202|New York}}
|-
{{PresRow|1940|Republican|36,729|33,207|165|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 2012|2012]]'''
{{PresRow|1936|Republican|30,144|29,207|2,064|New York}}
| style="text-align:center;" {{Party shading/Republican}}|48.6% ''43,240''
{{PresRow|1932|Republican|30,852|20,765|1,274|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|'''49.4%''' ''43,986''
{{PresRow|1928|Republican|33,229|16,881|2,343|New York}}
| style="text-align:center; background:honeyDew;"|2.0% ''1,787''
{{PresRow|1924|Republican|25,874|7,993|4,195|New York}}
|-
{{PresRow|1920|Republican|21,193|7,416|2,423|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 2008|2008]]'''
{{PresRow|1916|Republican|12,212|8,367|645|New York}}
| style="text-align:center;" {{Party shading/Republican}}|48.7% ''46,348''
{{PresRow|1912|Democratic|5,654|7,647|5,507|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|'''49.7%''' ''47,303''
{{PresRow|1908|Republican|11,145|8,574|637|New York}}
| style="text-align:center; background:honeyDew;"|1.7% ''1,621''
{{PresRow|1904|Republican|10,881|7,550|724|New York}}
|-
{{PresRow|1900|Republican|9,352|7,726|523|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 2004|2004]]'''
{{PresRow|1896|Republican|8,626|6,441|423|New York}}
| style="text-align:center;" {{Party shading/Republican}}|48.8% ''47,111''
{{PresRow|1892|Democratic|6,663|6,850|1,024|New York}}
| style="text-align:center;" {{Party shading/Democratic}}|'''49.3%''' ''47,602''
{{PresRow|1888|Republican|6,886|6,429|684|New York}}
| style="text-align:center; background:honeyDew;"|1.9% ''1,867''
{{PresFoot|1884|Democratic|5,875|6,193|569|New York}}
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 2000|2000]]'''
| style="text-align:center;" {{Party shading/Republican}}|43.9% ''40,952''
| style="text-align:center;" {{Party shading/Democratic}}|'''51.2%''' ''47,781''
| style="text-align:center; background:honeyDew;"|4.9% ''4,537''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1996|1996]]'''
| style="text-align:center;" {{Party shading/Republican}}|35.2% ''31,438''
| style="text-align:center;" {{Party shading/Democratic}}|'''49.4%''' ''44,203''
| style="text-align:center; background:honeyDew;"|15.4% ''13,803''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1992|1992]]'''
| style="text-align:center;" {{Party shading/Republican}}|31.5% ''30,401''
| style="text-align:center;" {{Party shading/Democratic}}|'''36.9%''' ''35,649''
| style="text-align:center; background:honeyDew;"|31.6% ''30,534''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1988|1988]]'''
| style="text-align:center;" {{Party shading/Republican}}|49.0% ''42,537''
| style="text-align:center;" {{Party shading/Democratic}}|'''50.4%''' ''43,801''
| style="text-align:center; background:honeyDew;"|0.6% ''530''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1984|1984]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''55.2%''' ''51,289''
| style="text-align:center;" {{Party shading/Democratic}}|44.6% ''41,368''
| style="text-align:center; background:honeyDew;"|0.2% ''201''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1980|1980]]'''
| style="text-align:center;" {{Party shading/Republican}}|44.9% ''38,760''
| style="text-align:center;" {{Party shading/Democratic}}|'''46.8%''' ''40,405''
| style="text-align:center; background:honeyDew;"|8.4% ''7,229''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1976|1976]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''51.1%''' ''46,101''
| style="text-align:center;" {{Party shading/Democratic}}|48.4% ''43,667''
| style="text-align:center; background:honeyDew;"|0.5% ''471''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1972|1972]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''58.2%''' ''54,777''
| style="text-align:center;" {{Party shading/Democratic}}|41.4% ''38,991''
| style="text-align:center; background:honeyDew;"|0.3% ''323''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1968|1968]]'''
| style="text-align:center;" {{Party shading/Republican}}|44.1% ''38,796''
| style="text-align:center;" {{Party shading/Democratic}}|'''47.8%''' ''41,999''
| style="text-align:center; background:honeyDew;"|8.1% ''7,130''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1964|1964]]'''
| style="text-align:center;" {{Party shading/Republican}}|29.9% ''28,663''
| style="text-align:center;" {{Party shading/Democratic}}|'''70.1%''' ''67,260''
| style="text-align:center; background:honeyDew;"|0.1% ''62''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1960|1960]]'''
| style="text-align:center;" {{Party shading/Republican}}|49.1% ''50,001''
| style="text-align:center;" {{Party shading/Democratic}}|'''50.8%''' ''51,680''
| style="text-align:center; background:honeyDew;"|0.1% ''84''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1956|1956]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''67.4%''' ''62,433''
| style="text-align:center;" {{Party shading/Democratic}}|32.6% ''30,161''
| style="text-align:center; background:honeyDew;"|0.0% ''0''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1952|1952]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''60.0%''' ''54,843''
| style="text-align:center;" {{Party shading/Democratic}}|39.9% ''36,504''
| style="text-align:center; background:honeyDew;"|0.1% ''108''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1948|1948]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''49.7%''' ''35,858''
| style="text-align:center;" {{Party shading/Democratic}}|47.2% ''34,119''
| style="text-align:center; background:honeyDew;"|3.1% ''2,242''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1944|1944]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''51.8%''' ''37,614''
| style="text-align:center;" {{Party shading/Democratic}}|48.0% ''34,850''
| style="text-align:center; background:honeyDew;"|0.3% ''202''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1940|1940]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''52.4%''' ''36,729''
| style="text-align:center;" {{Party shading/Democratic}}|47.4% ''33,207''
| style="text-align:center; background:honeyDew;"|0.2% ''165''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1936|1936]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''49.1%''' ''30,144''
| style="text-align:center;" {{Party shading/Democratic}}|47.6% ''29,207''
| style="text-align:center; background:honeyDew;"|3.4% ''2,064''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1932|1932]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''58.3%''' ''30,852''
| style="text-align:center;" {{Party shading/Democratic}}|39.3% ''20,765''
| style="text-align:center; background:honeyDew;"|2.4% ''1,274''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1928|1928]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''63.4%''' ''33,229''
| style="text-align:center;" {{Party shading/Democratic}}|32.2% ''16,881''
| style="text-align:center; background:honeyDew;"|4.5% ''2,343''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1924|1924]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''68.0%''' ''25,874''
| style="text-align:center;" {{Party shading/Democratic}}|21.0% ''7,993''
| style="text-align:center; background:honeyDew;"|11.0% ''4,195''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1920|1920]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''68.3%''' ''21,193''
| style="text-align:center;" {{Party shading/Democratic}}|23.9% ''7,416''
| style="text-align:center; background:honeyDew;"|7.8% ''2,423''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1916|1916]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''57.5%''' ''12,212''
| style="text-align:center;" {{Party shading/Democratic}}|39.4% ''8,367''
| style="text-align:center; background:honeyDew;"|3.0% ''645''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1912|1912]]'''
| style="text-align:center;" {{Party shading/Republican}}|30.1% ''5,654''
| style="text-align:center;" {{Party shading/Democratic}}|'''40.7%''' ''7,647''
| style="text-align:center; background:honeyDew;"|29.3% ''5,507''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1908|1908]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''54.8%''' ''11,145''
| style="text-align:center;" {{Party shading/Democratic}}|42.1% ''8,574''
| style="text-align:center; background:honeyDew;"|3.1% ''637''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1904|1904]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''56.8%''' ''10,881''
| style="text-align:center;" {{Party shading/Democratic}}|39.4% ''7,550''
| style="text-align:center; background:honeyDew;"|3.8% ''724''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1900|1900]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''53.1%''' ''9,352''
| style="text-align:center;" {{Party shading/Democratic}}|43.9% ''7,726''
| style="text-align:center; background:honeyDew;"|3.0% ''523''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1896|1896]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''55.7%''' ''8,626''
| style="text-align:center;" {{Party shading/Democratic}}|41.6% ''6,441''
| style="text-align:center; background:honeyDew;"|2.7% ''423''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1892|1892]]'''
| style="text-align:center;" {{Party shading/Republican}}|45.8% ''6,663''
| style="text-align:center;" {{Party shading/Democratic}}|'''47.1%''' ''6,850''
| style="text-align:center; background:honeyDew;"|7.0% ''1,024''
|-
| style="text-align:center;" {{Party shading/Republican}}|'''[[United States presidential election in New York, 1888|1888]]'''
| style="text-align:center;" {{Party shading/Republican}}|'''49.2%''' ''6,886''
| style="text-align:center;" {{Party shading/Democratic}}|45.9% ''6,429''
| style="text-align:center; background:honeyDew;"|4.9% ''684''
|-
| style="text-align:center;" {{Party shading/Democratic}}|'''[[United States presidential election in New York, 1884|1884]]'''
| style="text-align:center;" {{Party shading/Republican}}|46.5% ''5,875''
| style="text-align:center;" {{Party shading/Democratic}}|'''49.0%''' ''6,193''
| style="text-align:center; background:honeyDew;"|4.5% ''569''
|}
{{Hidden end}}
{| class="wikitable sortable"
|