BackgroundHeat stress is associated with adverse health outcomes among workers, including acute kidney injury. We aimed to estimate the incidence of acute kidney injury over the course of the work shift and the association with heat stress among agricultural workers in Spain, where summer temperatures are high and heatwaves are expected to be frequent. MethodsMale agricultural workers were enrolled in two different harvesting seasons and provinces, as follows: summer in Alacant (n=43; September, 2018) and winter in Tarragona (n=52; November, 2018, and January, 2019). For each participant, we estimated exposure to heat stress during a work shift based on the wet bulb globe temperature (WBGT) index and acute kidney injury cross-shift incidence, defined as an increase in post-shift serum creatinine by at least 0·3 mg/dL or at least 1·5 times the pre-shift serum creatinine concentration. We collected information on confounders. For a subsample of participants (n=54), we measured neutrophil gelatinase-associated lipocalin (NGAL) concentrations before and after the working shift. We used regression models to assess if heat stress was a risk factor for acute kidney injury and increase in NGAL concentrations. FindingsThe mean WBGT was 24·5°C (SD 2·0; range 20·2–27·1) during the summer season and 14·2°C (8·0–20·7) during the winter season. Nine (21%) of 43 workers harvesting during summer were exposed to heat stress. Incidence of acute kidney injury was higher during the summer season (14 [33%] of 43 workers vs two [4%] of 52 workers). Heat stress was associated with cross-shift incidence of acute kidney injury (age-adjusted odds ratio 9·6, 95% CI 1·4–67·9). No differences in NGAL concentrations were observed between participants exposed to heat stress. InterpretationHeat stress is a risk factor for acute kidney injury among agricultural workers in Spain, even when environmental temperatures are not extreme. Monitoring acute kidney injury incidence among agricultural workers in Spain is important in the context of climate change, as frequent episodes of acute kidney injury can lead to chronic kidney disease. FundingCarlos III Health Institute and European Union.