Provided is an ultrasonic endoscope. A treatment tool lead-out portion having an erecting base that erects a treatment tool led out of a treatment tool channel is arranged on a base end side of an ultrasonic transducer in a tip part rigid portion of an endoscope insertion section. 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.