Disclosed is an apparatus for inspecting empty containers in order to detect dirt therein. Said apparatus comprises a radiation source (1) for generating exciting radiation, and the exciting radiation is directed onto the inner wall of a container and excites dirt to be detected in such a way that the dirt emits luminescent radiation. The apparatus further comprises at least one device (5) for detecting the luminescent radiation emitted by the dirt as well as a device for analyzing the detected luminescent radiation. The invention also relates to a corresponding method for inspecting empty containers in order to detect dirt therein.