PROBLEM TO BE SOLVED: To provide an X-ray detector and an X-ray CT apparatus which can suppress increase in the length of wiring.SOLUTION: The X-ray detector according to an embodiment includes: a detector pack having an X-ray detection unit for detecting an X-ray entering from one side a control substrate on the other side of the detector pack a flexible substrate for connecting the detector pack to the control substrate and an X-ray shielding part having a first shielding member and a second shielding member, the first shielding member disposed between the detector pack and the control substrate, and the second shielding member having a space allowing the passage of the flexible substrate between the second shielding member and the first shielding member.SELECTED DRAWING: Figure 3COPYRIGHT: (C)2017,JPO&INPIT【課題】 配線長さの増大を抑制できるX線検出器及びX線CT装置を提供する。【解決手段】 一形態にかかるX線検出器は、一方側から入射するX線を検出するX線検出部を有する検出器パックと、前記検出器パックの他方側に配される制御基板と、前記検出器パックと前記制御基板とを接続するフレキシブル基板と、前記検出器パックと前記制御基板との間に配される第1遮蔽部材、及び前記第1遮蔽部材との間に前記フレキシブル基板が通過可能な間隙を有して配される第2遮蔽部材、を有するX線遮蔽部と、を備える。【選択図】図3