An ultrasonic device includes: a substrate provided with a first opening and a second opening; a support film that is provided on the substrate and closes the first opening and the second opening; a transmitting piezoelectric film that is provided on the support film at a position which overlaps the first opening when viewed in a thickness direction of the substrate and that is sandwiched between a pair of electrodes in the thickness direction of the substrate; and a receiving piezoelectric film that is provided on the support film at a position which overlaps the second opening when viewed in the thickness direction of the substrate and that is sandwiched between a pair of electrodes in an intersecting direction intersecting with the thickness direction of the substrate.