Groundwater is a valuable source of freshwater in coastal areas. The groundwater flux in coastal aquifers generally occurs in two processes: seawater intrusion (SWI) and submarine groundwater discharge (SGD) (Robinson et al., 2018). SWI, the subsurface movement of seawater into freshwater aquifers, is a natural phenomenon in coastal areas (Werner et al., 2013). The hydraulic head difference caused by the density difference between seawater and freshwater drives the landward movement of seawater, thus forming the configuration of a saltwater wedge (SW) (Glover, 1959;Zhang et al., 2019;Zheng et al., 2020). Above the SW, inland fresh groundwater discharges to the sea. Freshwater mixes with saline water at the interface of the SW due to hydrodynamic dispersion. The salinity gradient in this zone drives the convective circulation inside the SW, that is density-driven circulation (Kohout, 1960). The total efflux (including fresh groundwater and circulating seawater) to the sea is commonly termed SGD. Hydrological behaviors in the two processes are not independent, but interrelated. Previous research has shown that increasing fresh groundwater output in coastal aquifers leads to a seaward shift of the SW. The movement of the SW also affects the density-driven circulation flux (Werner et al., 2013). The salinity of groundwater in aquifers can increase due to SWI, thereby reducing the availability of freshwater in coastal areas. Studies have identified SGD as an important source of freshwater, nutrients, metals, and carbon to the ocean, thus impacting coastal water quality and ecosystems (Moore, 2010;Robinson et al., 2018). Research on the hydrological behaviors in the two processes of coastal aquifers is beneficial for the sustainable management of marine and groundwater resources in coastal areas.Most coastlines worldwide experience tidal oscillations that change groundwater flow and solute transport processes in coastal aquifers (Figure 1). Seawater infiltration into coastal aquifers occurs on the rising tide,