Middlebury is a town in Wyoming County, New York. The population was 1,508 at the 2000 census. The town is on the north border of the county.
According to the United States Census Bureau, the town has a total area of 35.7 square miles (92 km), of which 35.7 square miles (92 km)is land and 0.04 square miles (0.10 km) (0.08%) is water.
Oatka Creek flows through the southeast corner of the town.
The north town line is the border of Genesee County.
As of the census of 2000, there were 1,508 people, 530 households, and 413 families residing in the town. The population density was 42.3 people per square mile (16.3/km²). There were 554 housing units at an average density of 15.5 per square mile (6.0/km²). The racial makeup of the town was 98.01% White, 0.33% African American, 0.53% Native American, 0.07% Asian, 0.33% from other races, and 0.73% from two or more races. Hispanic or Latino of any race were 0.33% of the population.
There were 530 households out of which 38.3% had children under the age of 18 living with them, 66.8% were married couples living together, 7.4% had a female householder with no husband present, and 21.9% were non-families. 17.4% of all households were made up of individuals and 7.5% had someone living alone who was 65 years of age or older. The average household size was 2.84 and the average family size was 3.21.
In the town, the population was spread out with 28.7% under the age of 18, 6.4% from 18 to 24, 29.6% from 25 to 44, 22.6% from 45 to 64, and 12.7% who were 65 years of age or older. The median age was 37 years. For every 100 females, there were 102.7 males. For every 100 females age 18 and over, there were 98.0 males.
The median income for a household in the town was $43,125, and the median income for a family was $48,000. Males had a median income of $36,667 versus $23,882 for females. The per capita income for the town was $17,032. About 4.2% of families and 5.3% of the population were below the poverty line, including 3.6% of those under age 18 and 5.2% of those age 65 or over.