An ultrasonic device unit includes a substrate having a planar part and a recess part recessed from the planar part, an ultrasonic device which has an element array including a plurality of thin film ultrasonic transducer elements disposed in an array and is disposed in the recess part, a first flexible printed board, one end of which is superimposed on a portion of an array surface of the ultrasonic device and connected to the same, the other end of which is superimposed on a portion of the planar part and connected to the same, wherein the array surface of the ultrasonic device which the one end of the first flexible printed board is superimposed on is positioned within a plane including the planar part or a plane outside of the recess part.