Salty and brackish groundwater has been observed at least 100 km inland in some aquifers contained within Quaternary delta plains. This phenomenon limits access to fresh groundwater resources, particularly in the densely populated deltas of Southeast Asia. However, the causes of inland salinity are unclear. Here we present borehole and geophysical data that show that in the Red River delta plain of Vietnam, salty and brackish groundwater primarily occurs in incised valleys that were formed during sea-level lowstands during the Pleistocene. During the mid-Holocene, these valleys were filled with fine-grained marine deposits containing trapped seawater. We conduct groundwater flow simulations that show that the age, thickness, and permeability of the marine sediments are the primary controls on the leaching of salty porewater into the freshwater aquifer. We find that salty groundwater originating from this trapped seawater is still present in Holocene-aged sediments with low permeability, and a ects groundwater salinity in adjacent aquifers. In contrast, trapped seawater from all Pleistocene-aged sediments has been leached. We identify a number of brackish to saline delta aquifers elsewhere in Asia and throughout the world that have a similar sedimentary history, and thus are likely to be influenced by this leaching process.T he coastal zone can be defined to encompass the continental shelf (water depth <200 m), and the adjacent 100 km of land from the coastline 1 , which hosts an estimated 20-40% of the global population and 20 of the world's 33 megacities 1,2 . The stresses on water resources in the densely populated coastal zones are thus high, and are likely to be compounded by future sea-level rise, although the impact of this on the groundwater resource is still debated 3 . Groundwater constitutes a significant proportion of the water resources in the coastal zone, but is frequently salty or brackish due to mixing with recent or palaeo-seawater 4 . Therefore, a better hydrogeological understanding of the processes controlling the distribution of fresh, brackish and saltwater in the coastal zone is warranted for the utilization of deltaic water resources.Processes resulting in high-salinity groundwater in coastal aquifers are: recent natural or pumped induced saltwater intrusion 5-7 , salinization due to intrusion from rivers by surfacegroundwater interactions 8-11 and the occurrence of palaeo-saltwater, generated under climatic and hydraulic conditions prevailing during the Quaternary period 12 .The ∼100 kyr Milankovitch cycles have during the Quaternary period generated large ice caps on continents and led to a sealevel lowerings of 120 to 140 m below the present level 13,14 . These sea-level lowerings have caused the erosion of valley structures into Pleistocene delta plain sediments 15 , which during Holocene transgressions were filled up with marine sediments 16,17 . The valleyfill sediments tend to constitute aquifers when they are coarsegrained 16 , and aquitards with salty porewater when they are fineg...