It is important to gain an in-depth understanding of the structure of fire prevention and extinguishing materials during self-heating of coal. In this paper, an Al3+-CMC/PAM-MMT fire prevention and extinguishing gel with double-network was prepared using sodium carboxymethyl cellulose (CMC) and polyacrylamide (PAM) as raw materials, and aluminum citrate (AlCit) and sodium montmorillonite (Na-MMT) as auxiliary materials, by introducing the fully physically crosslinking effect. The optimal amounts of CMC, PAM, AlCit and MMT were determined to be 2 %, 3 %, 8 %, and 3 %, respectively, based on gelation time, stability, and resistance of the gel. The micromorphological image of the double-network gel exhibited a laminar structure of parallel-aligned fibrous networks, where the pores and channels exhibited more complex shapes and became smaller in size, highlighting the superiority of the double-network architecture. The rheological tests showed that the double-network gel had superior structural stability and viscosity under varying shear rates, making it more effective in covering the fire source, enhancing extinguishing efficiency. Additionally, its higher storage and loss moduli indicated stronger elasticity and mechanical properties compared to the single-network gel, emphasizing its advantages in energy storage and recovery. The characterization of active functional groups showed that there was an effective suppression of reactions involving hydroxyl, hydrocarbon, and carbonyl functional groups, during the spontaneous combustion process of coal, following treatment with the gel. Additionally, a proposed mechanism for the gel formation was presented. In the sealing performance test, the pressure-bearing capacity of the double-network gel was approximately twice that of the single-network gel. It indicated that the multi-level structure formed by the gel led to higher density of physical cross-linking points, which provided better sealing performance. Thermogravimetric analysis showed significant decrease in total calorific value and increase in activation energy of coal, after treatment with the gel, rendering it more difficult for spontaneous coal combustion. In the small-scale fire extinguishing performance test, the double network of Al3+-CMC/PAM-MMT gel demonstrated effective suppression of spontaneous combustion of coal and reduced the susceptibility to re-ignition. The fire prevention mechanism of the gel was further explored experimentally.