This work aimed to investigate the effect of two types of phosphorus-containing flame retardants (P-FRs) with different chemical surroundings (phenylphosphonate-based (PO-Ph) and phenylphosphoric-based (PO-OPh)) on the flameretardant efficiency for diglycidyl ester of bisphenol-A type epoxy (EP) resin. The two series of P-FRs which were named as FPx and FPOx (x=1, 2 and 3), respectively, showed reactivity with epoxy group that was examined by differential scanning calorimetric (DSC) and variable temperatures FTIR spectrum (VT-FTIR). A comparative study between the FPx and FPOx (x=1, 2 and 3) contaning flame-retardamt epoxy was carried out via investigating their flammability, thermal stability and mechanical properties. The most significant difference on flame retardancy between them was that FPx (x=1, 2 and 3) endowed EP with V-0 rating in UL 94 test at 5 wt% loading, while FPOx (x=1, 2 and 3) showed no rating at such loading. Importantly, it is found that there was almost 10 times difference in the flame-retardant efficiency for epoxy resin between FPx and FPOx, though they had similar chemically molecular structures. Moreover, TGA-FTIR and TGA-MS coupling techniques (TGA, thermalgravimetric analysis; MS, mass spectroscopy) were employed to study the thermal decomposition of FP1 and FPO1; the impacts of FP1 and FPO1 on the thermal decomposition of EP were studied by TGA-FTIR as well. Furthermore, an online temperature detection experiment was designed to collect the temperatures by thermocouple and infrared thermometers, respectively in the UL 94 test. Based on the above results, the flame-retardant mechanisms of FP1 and FPO1 in EP were discussed. In addition, the impact of P-FRs on mechanical properties of EP was studied by means of tensile test and dynamic mechanical analysis .