Coastal aquifers provide an important hydrologic connection between terrestrial freshwater and oceanic seawater. Understanding the water flow and salinity distributions in those aquifers is essential to manage seawater intrusion and regional groundwater resources. For the last 50\ua0yr, these processes have been extensively examined; however, previous studies typically assumed isothermal conditions and overlooked groundwater-seawater temperature contrasts, as commonly found along the global coastline. Here, we validated a solute and heat transport model against laboratory experiments and then revisited the classical Henry problem for coastal confined aquifers. We found that as the seawater temperature increases or freshwater temperature dec...