This invention discloses a method for preparing teriflumine, comprising the step of reacting p-trifluoromethylaniline with 5-methylisoxazole-4-
carboxylic acid in the presence of a catalyst; wherein the catalyst comprises one or more of EDC and CDI. This invention employs a one-pot reaction to directly obtain the teriflumine product, resulting in a significantly improved yield compared to existing methods. The raw materials and reagents used are inexpensive and readily available, the
reaction conditions are mild, the operation is simple, and it is
environmentally friendly, making it suitable for large-scale production.