Batavia is an unincorporated community in Solano County, California, United States. Batavia is along a railroad line 3.5 miles southwest of Dixon. It was a California Pacific Railroad station that was named around 1870 for the Latin name of The Netherlands.