The invention discloses a phenylpropanoid compound and a preparation method thereof. The preparation method includes the following steps of: S1, preparing materials are prepared, cleaning up salvia plebeian, and drying the salvia plebeian, wherein the salvia plebeia is widely distributed in China, rich in raw material and low in price, separation and obtaining are easy, the synthesis route is simple, artificial synthesis is easy, and the working efficiency is improved; S2, performing crushing: putting rhizomes of salvia plebeia into preparation equipment, and performing crushing to 30-45 meshes; S3, performing extraction. The present invention provides a preparation device of the phenylpropanoid compound and the preparation method thereof, the preparation device comprises a box body, a feeding pipe is welded to the top of the box body, and a discharging pipe is welded to one side of the box body. The synthetic route is simple, artificial synthesis is easy, the working efficiency is improved, the compound purity is high, subsequent industrial production is easy to realize, the preparation effect is improved, a crushing rod can be driven to rotate and move up and down at the same time to form linkage, and the crushing effect of the device is improved.