To address the growing global need for freshwater, it has become essential to use nonpotable saline water. Solar membrane distillation is a potential desalination method that does not need conventional electricity and may cut water production costs. In this study, we develop a photothermal surface heating membrane distillation using a new class of photothermal spacers constructed with Ti 3 C 2 T x MXene-based nanocomposites. In contrast to traditional membrane distillation, which utilizes energyintensive bulk feed heating, solar-powered surface heating membrane distillation removes the external thermal energy input requirements, hence reducing operating costs significantly. In particular, three-dimensional (3D)-printing technology was used to fabricate the functional spacer, which allowed the design and materials to be fine-tuned per the needs of the process. Under solar illumination, the printed spacer can exhibit a localized photothermal conversion-driven heating effect near the surface of distillation membranes, which generates vapor pressure strong enough to operate distillation across membranes. Importantly, a two-dimensional Ti 3 C 2 T x MXene with outstanding photothermal conversion efficiency and stability in hypersaline ionic solutions was incorporated into the 3D-printed spacers as the crucial nanofiller for imparting a local heating effect of feed. The fabricated nanocomposite spacers showed superior photothermal heating response under sunlight with an average permeate flux and energy conversion efficiency of 0.49 kg•m −2 •h −1 and 30.6%, respectively. An enhancement in both photothermal efficiency and permeate flux was noticed as the amount of MXene nanosheets increased in the 3D-printed spacers. This study demonstrates the feasibility of using 3D-printed photothermal spacers for high-performance and sustainable surface heating membrane distillation, providing a promising avenue for further improvement with other photothermal nanofillers or spacer modifications.