Silicate-based adsorbents offer significant advantages over traditional materials, particularly due to their superior thermal and chemical stability, enhanced regenerability, and the ability to endure more rigorous operating conditions. In this study, an amorphous Na−Ca−magnesium silicate adsorbent (SAAM) and its g-C 3 N 4 -modified counterpart (gCN-SAAM) were synthesized via alkali activation and a subsequent thermal process, respectively. The g-C 3 N 4 modification resulted in a novel hybrid adsorbent with a remarkable methylene blue (MB) adsorption capacity of 420 mg g −1 , four times higher than the unmodified sample, setting a new benchmark. Solid-state 29 Si (MAS and CP/MAS), 1 H MAS, and 13 C CP/MAS NMR spectroscopy were used to investigate the complex structures of these adsorbents and their interactions with MB. The local structure of SAAM primarily consists of Q 3 Si units, with minor Q 0 and Q 1 Si species, structural water, and Mg−OH sites. Exposure to MB caused an upfield shift in the 29 Si CP/MAS spectrum and enhanced resonances in the high-field region, indicating MB interaction with Si sites. 1 H MAS NMR spectra revealed significant interactions between water molecules in the geopolymer-like framework of SAAM and MB. The thermal treatment of SAAM with urea to produce gCN-SAAM enhanced the polymerization of Q 3 Si species and increased the relative fraction of Q 4 Si sites. This treatment also reduced the intensity of some Mg−OH units, showing interaction with g-C 3 N 4 . After MB adsorption on gCN-SAAM, NH 2 groups of g-C 3 N 4 disappeared, and shifts in the C 2N-NHx and C 3N sites indicated their involvement in adsorption, while Si sites remained intact. This thermal method creates a sustainable, cost-effective and efficient adsorbent for MB removal from wastewater. Multinuclear NMR spectroscopy provides detailed insights into the adsorbent's complex structure and MB interactions, potentially guiding the design of improved future adsorbents.