We provide an apparatus and method for analysing a security document. An x-ray source is adapted to illuminate at least one inspection region of the security document when located at an inspection position. An x-ray detector adapted to receive x-rays from the at least one inspection region of the document and to generate a corresponding detector response. A processor analyses the detector response and generates an output signal indicative of the structure of the document in the at least one inspection region.