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, a housing accommodating the X-ray inspection unit, the metal detection unit, and at least a part of the transporting unit therein, and a data management unit storing result data of the X-ray inspection unit and result data of the metal detection unit in a storage unit in association with each other.