Background Environmental contamination resulting from the release of untreated industrial wastewater has emerged as a critical worldwide issue. These effluents frequently have high levels of heavy metals and antibiotics, which are bad for aquatic ecosystems and human health. Oftentimes, conventional wastewater treatment techniques fall short of effectively eliminating these pollutants. Innovative materials that may efficiently absorb or break down contaminants from contaminated water sources are, therefore, desperately needed. Hydrothermally produced MXene cadmium sulfide (CdS) composites have shown great promise as an adsorbent material because of their special qualities, which include high surface area, chemical stability, and customizable surface functions that improve their adsorption capacity for heavy metals and antibiotics alike. Aim The aim of this study is to produce MXene-CdS nanoparticles in a cost-effective method for the simultaneous removal of heavy metals from aqueous contaminants for water pollution control. Methods and materials MXenes were synthesized by selectively etching Ti3AlC2 MAX-phase ceramics using aqueous HF. CdS nanoparticles were synthesized separately and integrated with MXenes via a hydrothermal process. The resulting MXene CdS nanocomposites were characterized using scanning electron microscopy (SEM) for morphology, energy dispersion spectrum (EDS) for elemental composition, X-ray diffraction(XRD) study for phase identification, and removal of heavy metals viaMXene CdS. Results Consistent distribution of CdS nanoparticles on the MXene surface and the creation of MXene CdS nanomembranes with a well-defined shape were observed by SEM analysis. Ti, C, Cd, and S elements, indiciaries of a successful composite formation, were confirmed to be present by EDS. The crystalline structure of both the MXene and CdS phases was confirmed by the distinctive peaks seen in the XRD patterns. MXene-CdS composites facilitate the effective removal of chromium ions from contaminated water. The excellent hydrophilicity of the produced nanomembrane allowed for effective interaction with watery contaminants. Conclusion This study showcases the successful synthesis and characterization of MXene-CdS nanocomposites for environmental remediation, particularly in removing toxic metals like chromium from industrial effluents. SEM analysis confirmed the uniform distribution of CdS nanoparticles on the MXene surface, while elemental composition validated their integration. XRD analysis confirmed the crystalline structures of both components. The nanocomposite exhibited excellent hydrophilicity, enhancing the efficient adsorption of heavy metals. Its large surface area and chemical stability contribute to high adsorption efficiency, making it ideal for wastewater treatment. The scalable synthesis process supports practical applications. This research highlights MXene-CdS nanocomposites as a cost-effective, sustainable solution for water pollution control.