An ultrasonic device includes a substrate, a first piezoelectric body, a second piezoelectric body, and an acoustic matching section. The substrate has a first surface that is a flat surface. The first piezoelectric body is disposed on the first surface of the substrate. The second piezoelectric body is disposed on the first surface of the substrate. The second piezoelectric body has a different thickness from a thickness of the first piezoelectric body as measured from the first surface of the substrate. The acoustic matching section is disposed on the first piezoelectric body and the second piezoelectric body. The acoustic matching section has a first side facing the first piezoelectric body and the second piezoelectric body, and a second side opposite from the first side. A surface of the acoustic matching section on the second side is a flat surface parallel with the first surface of the substrate.