Batavia Township is in Kane County, Illinois. It is divided by the Fox River. As of the 2010 census, its population was 35,221 and it contained 12,892 housing units. The western part of the United States Department of Energy's Fermilab is at the township's eastern edge (formerly in the village of Weston), although most of the facility is in neighboring Winfield Township in DuPage County.