In this paper, a new kind of environmental friendly double‐network gel material was prepared. The first network structure was formed by the graft copolymerization of sodium lignosulfonate (LS) and acrylic acid (AA), and the second network structure was formed by the chelation reaction of sodium alginate (SA) and carbide slag clarified solution (Ca2+). Through an orthogonal experiment, the effects of raw material addition on the compressive strength and apparent viscosity of the gel were analyzed. According to the analysis results, the optimal experimental ratio was obtained, i.e., 2 wt% of LS, 0.25 wt% of SA, 15 wt% of AA, 0.1 wt% of MBA and 0.3 wt% of APS. Furthermore, the structure of the gel are characterized by FTIR, XRD, SEM, XPS, and TG‐DTG, and the results prove that the gel successfully polymerized and a stable three‐dimensional network structure is formed. The results of water absorption experiment disclose that the gel is sensitive to ions and pH, and the water absorption rate reaches 121.25 times. In addition, the results of the air leakage experiment and fire extinguishing experiment show that the gel can effectively cover the surface of crushed coal and densely fill the gaps, demonstrating a good plugging capability and fire extinguishing capability.