Preserving the quality of groundwater has become Bangladesh’s primary challenge in recent years. This study explores temporal trend variations in groundwater quality on a broader scale across 18 stations within the Dhaka division over 35 years. The data set encompasses an analysis of 15 distinct water quality parameters. Modified Mann-Kendal, Sens Slope and Mann-Kendal tests were performed to determine the trend’s variation and slope. In addition, the spatial–temporal changes in the quality of groundwater are studied through Geographic Information System (GIS) mapping and Piper diagram was applied to identify the unique hydrochemical properties. This is the first study conducted on this area using various trends analysis and no in-depth study is available highlighting the trends analysis of groundwater quality on a larger magnitude. In contrast, the correlation matrix reveals a high association between Mg2+ and SO42−, Na+ and Cl− that affects salinity and overall hardness at the majority of sites. The Piper diagram also demonstrates that the groundwater in Madaripur Sadar has major salinity issues. The analysis reveals a distinctive dominance of bicarbonate (HCO3−) ions across all sampling stations, with (HCO3−) equivalent fractions consistently ranging from 0.70 to 0.99 which can cause a significant impact on groundwater uses. This extensive analysis of long-term groundwater quality trends in the Dhaka Division enables researchers to comprehend the overall transition of groundwater quality for hardness related complications in future. Moreover, it can be a baseline study considering the valuable implications and future steps for sustainable water resource management in this region.