An X-ray device is disclosed. In one embodiment, the device includes an X-ray detector and a power contactor which includes a contact terminal. The device may further include an X-ray table that provides a space into which the X-ray detector is inserted and that includes a push pin pressing the power contactor, wherein the power contactor selectively protrudes from the inside to the outside of the X-ray detector due to a pressure applied by the push pin, and the contact terminal is electrically connected to a power terminal of the X-ray table. The X-ray detector prevents exposure of the power contactor to the outside thereof when the X-ray detector is carried or transported and thus prevents a malfunction of the X-ray detector.