Provided is an ultrasonic endoscope (10). A treatment tool lead-out portion (54) having an erecting base (74) that erects a treatment tool led out of a treatment tool channel is arranged on a base end side of an ultrasonic transducer (60) in a tip part rigid portion of an endoscope insertion section (22). The ultrasonic transducer and the treatment tool lead-out portion are arranged at a position shifted in the direction orthogonal to a scanning plane (scanning center plane) of an ultrasonic wave, and the erecting base is rotated around a rotational axis in a direction orthogonal to the scanning plane, and a guide surface is formed so as to guide the treatment tool in a direction intersecting the scanning plane.