The increasing generation of water treatment plant sludge (WTS) represents a relevant environmental challenge, as large volumes of this urban residue are still predominantly directed to final disposal without material valorization. These sludges, however, often exhibit aluminosilicate-rich compositions, indicating potential for reuse in alternative construction materials. Geopolymers have emerged as a promising route for the valorization of mineral residues, enabling the partial or total replacement of conventional precursors by industrial and urban by-products, with potential environmental benefits. Nevertheless, systematic studies evaluating the effective replacement of metakaolin by water treatment sludge, while simultaneously considering technical performance and environmental impacts, remain limited. Here, we demonstrate that water treatment sludge can act as a functional precursor in geopolymer production, enabling the progressive replacement of metakaolin without compromising the overall performance of the material. Formulations with 0%, 50%, and 100% replacement levels were investigated through physicochemical characterization, mechanical properties, performance assessment, microstructural analysis, and environmental indicators. The results show that partial replacement of metakaolin by water treatment sludge maximizes the balance between mechanical performance and impact reduction, whereas total replacement imposes limitations associated with the lower reactivity of the residue. These findings indicate that geopolymer performance arises from the synergy between alkaline activation, particle packing, and precursor mineralogy. This study demonstrates that the valorization of water treatment sludge represents a technically viable and environmentally favorable strategy, contributing to the development of circular construction solutions and to the sustainable management of urban residues.