A transesophageal ultrasonic probe has a probe sound head and a probe tube connecting to the probe sound head. The probe sound head is provided with a chip. The probe sound head is provided with expandable dissolvable materials. When the probe sound head enters the esophagus and reaches the target position, the expandable dissolvable materials expand and drive the probe sound head to move, making the chip on the probe sound head close to the esophagus or the stomach wall. The transesophageal ultrasonic probe can reduce the probe size and diameters of cables, its extracorporeal part is detachable, and the probe can be placed in a patient's body for a long time for real-time ultrasonic image monitoring of the heart.