Metal detector for installment into pumping tubular lines for detection of liquid and pasty products such as for example baby formula. The variants for agressive media, aseptic filling or high temperatures of the product are available upon the request.