Oakfield is a village in Genesee County, New York, United States. As of the 2010 census, the village population was 1,813. The village lies within the town of Oakfield in northern Genesee County. The village is at the intersection of Route 63 (Lewiston Road) and Route 262. It is northwest of Batavia.
The village is in the southern part of the town of Oakfield, 6 miles (10 km) northwest of Batavia, the county seat, by NY Route 63, and 16 miles (26 km) southeast of Medina. NY Route 262 leads east 4 miles (6 km) to Elba.
According to the United States Census Bureau, the village has a total area of 0.66 square miles (1.7 km). None of the area is covered with water.
As of the census of 2000, there are 1,805 people, 648 households, and 465 families residing in the village. The population density is 2,721.4 people per square mile (1,055.9/km²). There are 702 housing units at an average density of 1,058.4 per square mile (410.7/km²). The racial makeup of the village is 96.95% White, 1.22% Black or African American, 0.06% Native American, 0.22% Asian, 0.66% from other races, and 0.89% from two or more races. 0.94% of the population are Hispanic or Latino of any race.
There are 648 households out of which 39.4% have children under the age of 18 living with them, 57.3% are married couples living together, 11.0% have a female householder with no husband present, and 28.2% are non-families. 22.1% of all households are made up of individuals and 11.4% have someone living alone who is 65 years of age or older. The average household size is 2.77 and the average family size is 3.25.
In the village, the population is spread out with 29.7% under the age of 18, 7.5% from 18 to 24, 30.4% from 25 to 44, 19.4% from 45 to 64, and 13.0% who are 65 years of age or older. The median age is 34 years. For every 100 females, there are 93.0 males. For every 100 females age 18 and over, there are 88.6 males.
The median income for a household in the village is $40,580, and the median income for a family is $45,270. Males have a median income of $32,981 versus $21,897 for females. The per capita income for the village is $15,962. 11.6% of the population and 8.0% of families are below the poverty line. Out of the total population, 15.8% of those under the age of 18 and 7.8% of those 65 and older are living below the poverty line.