We report on the detection of diffraction gratings buried below a stack of tens of 18-nm-thick SiO 2 and Si 3 N 4 layers and an optically opaque metal layer, using laser-induced, extremely high-frequency ultrasound. In our experiments, the shape and amplitude of a buried metal grating are encoded on the spatial phase of the reflected acoustic wave. This grating-shaped acoustic reflection of the buried grating is detected by the diffraction of a delayed probe pulse. A detailed understanding of our measurements is essential for nanometrology applications in the semiconductor manufacturing industry, such as wafer alignment. We show that the complex shape of the diffracted signal as a function of time can be reproduced using a comprehensive numerical model that includes the generation, propagation, and optical detection of the acoustic waves. This allows us to identify the salient features in our measurements such as the presence of acoustic-wave-induced gratings inverted with respect to buried grating, the interference between the optical fields diffracted off multiple grating-shaped acoustic waves, and multiple thin dielectric layers behaving as a single effective acoustic medium. Our results show that laser-induced ultrasound is a promising technique for subsurface nanometrology applications.