Bio-based nickel alginate film and copper alginate film were prepared via a facile ionic exchange and casting approach. Their flame retardancy, thermal degradation and pyrolysis behaviors, thermal degradation mechanism were investigated systemically by limiting oxygen index (LOI), vertical burning (UL-94), microscale combustion calorimetry (MCC), thermogravimetric analysis (TGA), thermogravimetric analyzer coupled with Fourier transform infrared analysis (TG-FTIR) and pyrolysis-gas chromatography-mass spectrometry (Py-GC-MS). It showed that nickel alginate film had much higher LOI value (50.0 %) than those of sodium alginate film (24.5 %) and copper alginate film (23.0 %). Moreover, nickel alginate film passed the UL-94 V-0 rating, while the sodium alginate film and copper alginate film showed no classification. Importantly, peak of heat release rate (PHRR) of nickel alginate film in the MCC test was much lower than those of copper alginate film and sodium alginate film. This indicated that the introduction of nickel ion decreased the release of combustible gases. TGA results showed that the addition of copper ion and nickel ion accelerated the thermal degradation of alginates and changed the thermal degradation mechanism of alginates. TG-FTIR and Py-GC-MS results indicated that the pyrolysises of copper alginate and nickel alginate produced much less flammable products than that of sodium alginate in whole thermal degradation process. Finally, a possible degradation mechanism of copper alginate and nickel alginate were proposed. The results of our study provided useful information for understanding the flame retardant mechanism of alginate as well as for designing biobased materials with excellent fire retardancy.