Composite phase change materials (PCMs) with photothermal functionality play a crucial role in efficiently storing and utilizing solar energy. However, the challenge of effectively removing of contaminants on photothermal conversion coatings has long puzzled researchers. In this study, we propose a novel approach to enhancing both photothermal conversion performance and self-cleaning properties of wood-based composite phase change materials, ultimately facilitating the sustainable and effective utilization of solar energy. The method utilized metal-organic frameworks (MOFs) as a precursor to form rough layered double hydroxides (LDH) on the wood surface through hydrolysis-induced exchange. Subsequently, polypyrrole (PPy) was deposited through vapor phase onto the LDH, and paraffin wax (PW) is utilized as the phase change material to prepare a novel composite phase change material. This modified wood structure facilitates leak-proof PW encapsulation and effective heat storage (167.6 J/g). PPy acts as a proficient photothermal converter and improves the composite material's heat transfer efficiency by establishing thermal conduction pathways, resulting in an 87.4 % enhancement in thermal conductivity compared to pure PW. The rough surface of LDH promotes multiple light reflections and scattering within the material, leading to increased light absorption by the PPy coating and achieving a photothermal conversion efficiency of up to 96.4 %. Furthermore, the high roughness of the LDH layer combined with the low surface energy of PW imparts superhydrophobic self-cleaning properties to the material, ensuring sustained effectiveness of the photothermal conversion coating over time. This research presents a viable approach for maintaining the cleanliness and efficiency of solar energy systems.