Flammable wood has a negative impact on safety, however flame-retardant coatings can help to mitigate these risks. In this work, the epoxy-modified silicon (SiR) coating was formed by the condensation of dimethyldiethoxysiloxane with 3-glycidoxypropyltrimethoxysilane (KH-560), while the resin cured by nitrogen-containing phosphorus flame-retardant (PTDP) curing agent. The flame-retardant coating (PTDP/SiR) has outstanding hardness, water resistance, solvent resistance and it is appropriate for utilizing in wood surfaces. Meanwhile, PTDP/SiR-1 exhibits obvious flame retardancy. The PTDP/SiR-1-coated spline received a UL-94 V-1 rating and a 31.0% LOI, compared to 26.0% and 21.5% for the control coating and uncoated splines, respectively. Compared with the control spline, the peak heat release rate (pHRR) decreased by 23%. SEM, XPS and TGA-FTIR revealed the N/P/Si synergistic flame-retardant mechanism. The mechanism of improving the flame retardancy is due to a dense char layer, incombustible gas, and phosphorus-containing segment formed by pyrolysis. The combination of these factors improves the coatings flame retardant.