This digital dataset includes 266 samples from 208 groundwater wells and 481 samples of produced water from 408 sites (including 199 wells) located within 3 miles of the Edison, Mountain View and Ant Hill Oil Fields in Kern County, California. Historical geochemistry data were compiled from multiple data sources for selected water-quality indicators, major and minor ions, nutrients, trace elements, naturally occurring radioactive material, volatile organic compounds, and hydrocarbons. Ancillary data in the form of top perforation or top of sample interval (petroleum wells), bottom perforation or bottom of sample interval (petroleum wells), well depth, or hole depth (water wells), land-surface (water wells) or reference point (petroleum wells) elevation at the well head, well location, and identifier information were also compiled.