As an important source of green cleaning flame retardants, bio-based materials have been widely studied by researchers. However, the development of efficient biobased flame retardants and convenient finishing methods was of great significance for the functional finishing of materials. Herein, a convenient and efficient flame retardant cotton fabric was prepared via layer by layer self-assembly (LbL) by alternating precipitation of a novel bio-based flame retardant phosphorylated sodium alginate (PSA) and alkylammonium functionalized siloxane (A-POSS). The effect of coating number on flame retardancy and thermal properties of coated cotton fabric was systematically studied. Thermogravimetric analysis (TGA) results showed that residual char contents of AP/PS-15BL under air and N2 atmospheres increased by 252.0% and 225.2%, respectively, compared with control cotton. In vertical flammability tests, both the AP/PS-10BL and AP/PS-15BL showed self-extinguishing behavior and successfully passed the UL-94 V-0 rating. More importantly, the LOI value of AP/PS-15BL was significantly increased to 35.0% from 20.0% of pure cotton fabric. Additionally, coated samples showed good mechanical properties and washable resistance. In CONE test, the peak heat release rate (PHRR) and total heat release rate (THR) of AP/PS-15BL decreased by 89.3% and 49.3% respectively, compared with control cotton. Therefore, this green and convenient flame-retardant finishing method has great application potential in the multi-functional finishing of cotton fabrics.