Groundwater fluxes in tidal marshes largely control key ecosystem functions and services, such as vegetation growth, soil carbon sequestration, and nutrient cycling. In tidal marshes restored on formerly embanked agricultural land, groundwater fluxes are often limited as compared to nearby natural marshes, as a result of historical agricultural soil compaction. To improve the functioning of restored tidal marshes, knowledge is needed on how much certain design options can optimize soil-groundwater interactions in future restoration projects. Based on measured data on soil properties and tidally induced groundwater dynamics, we calibrated and evaluated a 2D vertical model of a creek-marsh cross-section, accounting for both saturated and unsaturated groundwater flow and solute transport in a variably saturated groundwater flow model. We found that model simulations of common restoration practices such as soil amendments (increasing the depth of porous soil on top of the compact layer) and creek excavation (increasing the creek density) increase the soil aeration depth and time, the drainage depth and the solute flux, and decrease the residence time of solutes in the porewater. Our simulations indicate that increasing the depth to the compact layer from 20 cm to 40 cm, or increasing the creek density from 1 creek to 2 creeks along a 50 m marsh transect (while maintaining the total creek cross-sectional area), in both cases more than doubles the volume of water processed by the marsh soil. We discuss that this may stimulate nutrient cycling. As such, our study demonstrates that groundwater modelling can support the design of marsh restoration measures aiming to optimize groundwater fluxes and related ecosystem services.