The invention relates to a method for photoacoustic tomography of a sample, deformations on a measurement surface of the sample being measured as a function of location and time, the deformations resulting from the absorption of a pulsed excitation radiation on at least one spectrally addressable target structure in the sample interior while emitting thermomechanical pressure waves in the direction of the measurement surface, and the measured deformations being fed to a reconstruction method for determining the position of the target structure in the sample interior.