An X-ray inspecting apparatus comprising; an X-ray source configured to radiate X-rays onto goods to be inspected; a detection part configured to detect X-rays of a predetermined energy band and visible light rays of a predetermined wavelength band and to generate a signal; an image production part configured to produce an image on the basis of the signal generated by the detection part; and an inspection part configured to inspect the goods on the basis of the image produced by the image production part, characterized in that the detection part has a plurality of detection units each of which individually has: a scintillator which extends in a predetermined direction and which emits visible light rays of the predetermined wavelength band by absorbing X-rays of an energy band higher than the predetermined energy band; a detection main body which is disposed on the side of the scintillator that faces the X-ray source and which includes a plurality of elements aligned in the predetermined direction, the plurality of elements being sensitive to X-rays of the predetermined energy band and visible light rays of the predetermined wavelength band and generating the signal; and a base configured to support the scintillator and the detection main body; and the plurality of detection units are aligned along the predetermined direction within the detection part so that the scintillator and the detection main body of any of the detection units are aligned without gaps with the scintillator and the detection main body of the adjacent detection unit. an X-ray source configured to radiate X-rays onto goods to be inspected; a detection part configured to detect X-rays of a predetermined energy band and visible light rays of a predetermined wavelength band and to generate a signal; an image production part configured to produce an image on the basis of the signal generated by the detection part; and an inspection part configured to inspect the goods on the basis of the image produced by the image production part, characterized in that the detection part has a plurality of detection units each of which individually has: a scintillator which extends in a predetermined direction and which emits visible light rays of the predetermined wavelength band by absorbing X-rays of an energy band higher than the predetermined energy band; a detection main body which is disposed on the side of the scintillator that faces the X-ray source and which includes a plurality of elements aligned in the predetermined direction, the plurality of elements being sensitive to X-rays of the predetermined energy band and visible light rays of the predetermined wavelength band and generating the signal; and a base configured to support the scintillator and the detection main body; and a scintillator which extends in a predetermined direction and which emits visible light rays of the predetermined wavelength band by absorbing X-rays of an energy band higher than the predetermined energy band; a detection main body which is disposed on the side of the scintillator that faces the X-ray source and which includes a plurality of elements aligned in the predetermined direction, the plurality of elements being sensitive to X-rays of the predetermined energy band and visible light rays of the predetermined wavelength band and generating the signal; and a base configured to support the scintillator and the detection main body; and the plurality of detection units are aligned along the predetermined direction within the detection part so that the scintillator and the detection main body of any of the detection units are aligned without gaps with the scintillator and the detection main body of the adjacent detection unit. <EOS>