The invention belongs to the technical field of flame retardance, and particularly relates to a resveratrol-based flame retardant as well as a preparation method and application thereof. The molecular structural formula of the resveratrol-based flame retardant is shown in the description. The preparation method comprises the steps of dissolving resveratrol in an organic solvent, adding inorganic and organic bases, then dropwise adding diphenyl phosphinyl chloride, raising the temperature after dropwise adding is finished, continuing the reaction, filtering and precipitating the obtained product after the reaction is finished to remove the solvent, and finally obtaining the resveratrol-based flame retardant through purification and drying. According to the invention, the biomass raw material resveratrol is selected to react with the phosphorus-containing diphenyl phosphinyl chloride, and the phosphorus element is introduced, so that in the heating or combustion process of the composite material, the carbonization of the polymer can be rapidly promoted, the oxygen insulation and the heat insulation can be rapidly achieved, the release of the combustible gas and the toxic flue gas can be reduced, and the flame retardation of the composite material can be improved. Meanwhile, the resveratrol-based flame retardant has relatively high thermal stability, contains double bonds, can be subjected to an addition reaction at high temperature to form a macromolecular chain structure, and is interwoven and wound with a polymer molecular chain, so that the mechanical property of the polymer is improved.