BACKGROUNDMetals and nonmetals in drinking water could potentially influence cardiovascular health. The relationship between poor-quality drinking water, major adverse cardiovascular events (MACE), and diet is not well studied.OBJECTIVESThe aim of this study was to determine whether long-term exposure to metals (copper, manganese, aluminum, zinc, and cadmium) and nonmetals (selenium, sulfate, and nitrate-nitrogen) in drinking water was associated with MACE outcomes, and whether the dietary patterns could modify the association between long-term exposure to low-quality drinking water and MACE.METHODSData from a prospective population-based cohort from Yinzhou District, Ningbo (follow-up between 2016 and 2022) were linked to Yinzhou Health Information System. MACE endpoints included acute myocardial infarction (AMI), heart failure, stroke, angina, and cardiovascular death. Effect modification of the associations between exposure and MACE by dietary factors was determined.RESULTSIn the final cohort of 24,212 participants, 57 had an AMI; 886 developed heart failure; 733 had a stroke; 23 had angina; and 134 had a cardiovascular death. An increased risk of: 1) AMI was seen with exposure to copper, aluminum, cadmium, and selenium; 2) stroke with exposure to zinc, copper, and selenium; 3) angina with exposure to zinc and copper; and 4) cardiovascular death with exposure to zinc and aluminum in drinking water. Consuming fish, white meat, and grain products attenuated MACE outcomes induced by metals and nonmetals in drinking water.CONCLUSIONSIn this study, long-term exposure to higher metallic and nonmetallic elements in drinking water was associated with an increased risk of MACE. Specific dietary patterns modified the associations. Further studies are needed in this area.