An ultrasonic device unit includes an ultrasonic device, and a flexible printed wiring board to be connected to the ultrasonic device, the flexible printed wiring board is provided with a device connection to which the ultrasonic device is connected, a first connector including external connection terminals to be connected to the ultrasonic device, a second connector including external connection terminals to be connected to the ultrasonic device, a first inflective part adapted to link the device connection and the first connector to each other, and a second inflective part adapted to link the device connection and the second connector to each other, and a distance between the device connection and the first connector in the first inflective part and a distance between the device connection and the first connector in the second inflective part are different from each other.