The Village of Oakfield lies within the Town of Oakfield on the northern border of Genesee County. The village is located at the intersection of Route 63 (Lewiston Road) and Route 262. It is northwest of Batavia.
The community was once called "Caryville" and "Plain Brook" in the past. The village was incorporated in 1858, changing its name to "Oakfield" at that time.