A foreign-matter inspection device includes a transporting unit transporting an object to be inspected, an X-ray inspection unit detecting a foreign matter included in the object transported by the transporting unit by using permeability of X-rays, a metal detection unit detecting a foreign matter included in the object transported by the transporting unit by using an interaction between a magnetic field and a metal, and a housing accommodating the X-ray inspection unit, the metal detection unit, and at least a part of the transporting unit therein and keeping the X-rays of the X-ray inspection unit from leaking outside. The housing is provided with a door part opening and closing the housing. The door part abuts against the housing via an insulating body in a closed state.