The invention discloses a preparation method of nitrogen-containing phosphaphenanthrene derivative flame retardant. The preparation method includes the following steps that 1, 9,10-dihydro-9-oxa-10-phosphaphenanthrene-10-oxide is added to a reaction kettle, and heating is performed to reach a molten state; 2, triallylisocyanurate and a catalyst are added, full stirring reaction is performed to obtain a coarse product; 3, the coarse product is subjected to washing, filtering and drying to obtain DOPO-TAIC, namely the nitrogen-containing phosphaphenanthrene derivative flame retardant is obtained. The preparation method adopts a melting method to prepare the nitrogen-containing phosphaphenanthrene derivative flame retardant, a reaction principle of the method is consistent to a solvent method, the adopted DOPO is a raw material and is also a solvent in the reaction process, the complicated solvent removing process in the solvent method is omitted, the yields of the same volume of reaction kettles within unit time are greatly increased, the production cost is effectively reduced, harmful organic solvents are not needed, an operation method and production processes are simple, and the method is beneficial to industrialized enlarged production.