The present invention relates to a solid-state X-ray detector comprising a photosensitive sensor associated with a radiation converter, known as a scintillator, transforming the X-rays into a radiation to which the sensor is sensitive, and an entry window through which the X-rays pass upstream of the scintillator. The entry window is mounted on the scintillator, without being fixed to the scintillator, and the entry window and the sensor are fixed by a water vapor-tight seal. The scintillator consists of a support, distinct from the sensor, and a scintillating substance.