An X-ray detector according to an embodiment includes a plurality of detection arrays, processing circuitry, and an analog-to-digital converter (ADC). The plurality of detection arrays includes a plurality of detecting elements, respectively. The processing circuitry performs the control to change the reading timings of the plurality of detecting elements between the plurality of detection arrays. The ADC processes signals from the plurality of detecting elements.