Farmersville is a town located in the eastern border of Cattaraugus County, New York, United States. The population was 1,090 at the 2010 census.
According to the United States Census Bureau, the town has a total area of 48.0 square miles (124.2 km), of which 47.8 square miles (123.9 km) is land and 0.15 square miles (0.4 km), or 0.29%, is water.
Farmersville is located in northeastern Cattaraugus County. The eastern town line is the border of Allegany County.
New York State Route 16, New York State Route 98, and New York State Route 243 pass through the town.
As of the census of 2000, there were 1,028 people, 389 households, and 282 families residing in the town. The population density was 21.5 people per square mile (8.3/km²). There were 656 housing units at an average density of 13.7 per square mile (5.3/km²). The racial makeup of the town was 99.32% White, 0.19% African American, 0.29% Pacific Islander, 0.10% from other races, and 0.10% from two or more races. Hispanic or Latino of any race were 0.68% of the population.
There were 389 households out of which 34.2% had children under the age of 18 living with them, 60.7% were married couples living together, 7.5% had a female householder with no husband present, and 27.5% were non-families. 19.8% of all households were made up of individuals and 8.2% had someone living alone who was 65 years of age or older. The average household size was 2.64 and the average family size was 3.08.
In the town, the population was spread out with 27.7% under the age of 18, 4.8% from 18 to 24, 31.6% from 25 to 44, 25.0% from 45 to 64, and 10.9% who were 65 years of age or older. The median age was 37 years. For every 100 females, there were 100.4 males. For every 100 females age 18 and over, there were 103.0 males.
The median income for a household in the town was $37,813, and the median income for a family was $42,500. Males had a median income of $31,389 versus $22,137 for females. The per capita income for the town was $16,291. About 6.8% of families and 11.1% of the population were below the poverty line, including 18.4% of those under age 18 and none of those age 65 or over.