The present invention discloses a method which can prepare a 
phosphate (borate) 
melamine salt 
flame retardant by a dry process. According to the 
molar ratio of 1:2 to 4, small molecular 
polyol and inorganic acid containing 
phosphor or 
boron are uniformly mixed with lewis acid catalyst with one to one point five percent of the weight of the small molecular 
polyol, the temperature of the produced solution is raised to 100 to 150 DEG C, reaction lasts two to five hours, after 
melamine with the 
molar ratio of 1:1.5 to 2.5 of inorganic acid containing 
phosphor or 
boron is added, the produced 
solid is smashed into 
fine powder which can pass through a 
sieve with one hundred and twenty meshes, under a 
reaction temperature between 180 DEG C and 230 DEG C, reaction lasts one point five to four hours, and after the generated product is washed until the filtrate is neutral, the 
phosphate (borate) 
melamine salt 
flame retardant is produced by 
filtration, 
drying and smash. Because the dry process is applied, the present invention avoids the problem that the organic solvents used by the prior art harm environment and erode equipment, reduces 
energy consumption and production cost and avoids the problem of the 
hydrolysis of 
phosphate, which is caused by a reaction under the water phase; moreover, the present invention has the advantages of simple technique and convenient operation and is suitable for industrialized production.