A piezoelectric micromechanical ultrasonic transducer (PMUT) includes a multilayer stack disposed on a substrate. The multilayer stack may include an anchor structure disposed over the substrate, a piezoelectric layer stack disposed over the anchor structure, and a mechanical layer disposed proximate to the piezoelectric layer stack. The piezoelectric layer stack may be disposed over a cavity. The mechanical layer may seal the cavity and, together with the piezoelectric layer stack, is supported by the anchor structure and forms a membrane over the cavity, the membrane being configured to undergo one or both of flexural motion and vibration when the PMUT receives or transmits ultrasonic signals.