The accumulation of ice on the surfaces of equipment/facilities can result in energy wastage, substantial economic losses, and even pose a threat to personal safety. In this work, a three-dimensional (3D) liquid-based porous resin coating doped with oleophilic molybdenum carbide (Mo2C) MXene nanoflakes was fabricated on a pre-coated oleogel sealer layer of aluminum plate. The results showed a reduction of approximately 99.1 % in ice adhesion strength (∼4.66 kPa) compared to the sandblasted aluminum plate and consistently maintained ice adhesion strength below 10 kPa for 70 days. Moreover, the coating exhibited excellent photothermal properties, with icing time delayed by a factor of 33.2 under simulated solar radiation power of 96 mW/cm2 (1 sun) at an ambient temperature of − 15 °C. The ice adhered to the coating could easily slide off without the external force under “1 sun” at − 10 °C. The superior anti/de-icing performance of the coating can be primarily attributed to the low interfacial modulus of the porous structure, the exceptional retention of silicone-oil, and the excellent photothermal effect of embedded MXene nanoflakes. The 3D liquid-based porous coating, possessing extremely low ice adhesion and remarkable de-icing stability, demonstrates the substantial potential for practical applications that require sustained anti/de-icing performance.