A leak detector for detecting a leak in a line includes a transmitting device for generating radiation to be coupled into the line. By a receiving device, radiation that has emerged from the line through a leak is received, as a result of which the leak becomes detectable.