Column experiments containing an aquifer sand were subjected to static and oscillating water tables to investigate the impact of natural fluctuations and rainfall infiltration on the groundwater bacterial community just below the phreatic surface, and its association with the geochemistry. Once the columns were established, the continuously saturated zone was anoxic in all three columns. The rate of soil organic matter (SOM) mineralization was higher when the water table varied cyclically than when it was static due to the greater availability of NO 3 − and SO 4 2−. Natural fluctuations in the water table resulted in a similar NO 3 − concentration to that observed with a static water table but the cyclic wetting of the intermittently saturated zone resulted in a higher SO 4 2− concentration. Rainfall infiltration induced cyclic water-table variations resulted in a higher NO 3 − concentration than those in the other two columns, and a SO 4 2− concentration intermediate between those columns. As rainwater infiltration resulted in slow downward displacement of the groundwater, it is inferred that NO 3 − and SO 4 2− were being mobilized from the vadose zone. NO 3 − was mainly released by SOM mineralization (which was enhanced by the infiltration of oxygenated rainwater), but the larger amount of SO 4 2− release required a second mechanism (possibly desorption). Different groundwater bacterial communities evolved from initially similar populations due to the different groundwater histories. K E Y W O R D S bacterial communities, groundwater histories, natural fluctuations, NO 3 − , rainfall infiltration, SO 4 2 − , SOM mineralization, water-table variations 1 | INTRODUCTION Groundwater represents 95% of global freshwater and is thus an essential resource for drinking water, agriculture and industry (Igor, 1993). The microbial community in an aquifer can have a profound impact on groundwater quality, as microorganisms break down organic matter, consume oxygen, change the oxidation state of inorganic compounds, recycle nutrients and break down pollutants (Kim & Gadd, 2008). Thus, it is important to understand how microbial community varies as a function of location, and how its metabolic activity varies as a function of time (Griebler, Malard, & Lefébure, 2014). The groundwater table in an aquifer can fluctuate in short term, seasonally and from year to year in response to variations in rainfall infiltration, groundwater flow, groundwater extraction and recharge, surface water levels and other natural causes (Dobson, Schroth, &