The tablet capsule metal detection machine is designed to detect and remove tiny ferrous, non-ferrous and stainless steel contaminants in tablets, automatically removing metal contaminants from tablet or capsule flow without interrupting production. The digital pharmaceutical metal detection machine is docked with the tablet press, with strong on-site adaptability, intuitive maintenance, easy operation, compact overall structure, closed conveying channel, non-toxic and harmless production process, ensuring drug safety and hygiene.