The invention discloses a fall prevention device which comprises a sole plate, a pressure sensor, a bolt, a signal transmission line, a first gear, a motor, a second gear, a cable, a data processing device, an acceleration sensor and a myoelectricity sensor. The pressure sensor is installed at one end of the bolt and connected with the data processing device through the signal transmission line; the first gear is connected with the other end of the bolt; the motor is connected with the data processing device through the cable; the second gear is in transmission connection with the motor and the first gear; the data processing device is used for processing signals, real-time status of human body poses is obtained, the motor is controlled according to the human body poses, and height of the bolt is adjusted. The fall prevention device can comprehensively and accurately reflect whether a human body is about to fall, the signals are classified by adopting artificial intelligence technology, current human body pose status is obtained, and the motor is controlled further to adjust the height of the sole bolt so as to prevent patients from falling.