Multifunctional biomass-based aerogels with mechanically robust and high fire safety are urgently needed for the development of environmentally-friendly intelligent fire fighting but challenging. Herein, a novel polymethylsilsesquioxane (PMSQ)/cellulose/MXene composite aerogel (PCM) with superior comprehensive performance was fabricated by ice-induced assembly and in-situ mineralization. It exhibited light weight (16.2 mg·cm−3), excellent mechanical resilience, and rapidly recovered after being subjected to the pressure of 9000 times of its own weight. Moreover, PCM demonstrated outstanding thermal insulation, hydrophobicity and sensitive piezoresistive sensing. In addition, benefiting from the synergism of PMSQ and MXene, PCM displayed good flame retardancy and improved thermostability. The limiting oxygen index of PCM was higher than 45.0 %, and it quickly self-extinguished after being removed away from fire. More importantly, the rapid electrical resistance reduction of MXene at high temperature endowed PCM with sensitive fire-warning capability (trigger time was less than 1.8 s), which provided valuable time for people to evacuate and relief. This work provides new insights for the preparation and application of the next-generation high performance biomass-based aerogels.