The present invention relates to an X-ray photographing device, which senses the height of an elevating unit to ascend and descend through a sensing unit to control the operation of a pole unit. Especially, the present invention fundamentally prevents the elevating unit from colliding against the ceiling and prevents a failure of the device by controlling the operation of the pole unit so as to restrict ascent of the elevating unit to a previously inputted set height. The X-ray photographing device of the present invention comprises: a rotation unit equipped with an X-ray source and an X-ray sensor faced with each other the elevating unit configured to ascend and descend the rotation unit for controlling the height of the rotation unit a sensing unit equipped with the rotation unit or the elevating unit and configured to sense the height of the rotation unit and a control unit configured to control the elevating unit based on the height of the rotation unit sensed from the sensing unit.본 발명은 감지부를 통해 상하로 승하강하는 승강부의 높이를 감지하여 기둥부의 동작을 제어하며, 특히, 미리 입력된 설정높이 이상으로 상기 승강부가 상승하는 것이 제한되도록 기둥부의 동작을 제어함에 따라 상기 승강부가 천장에 충돌되는 것을 근본적으로 방지하여 장치의 고장을 방지할 수 있도록 하는 X선 촬영장치에 관한 것이다. 이를 위한 본 발명의 X선 촬영장치는, 서로 마주하는 X선 소스와 X선 센서가 구비된 회전부 상기 회전부의 높이조절을 위해 상기 회전부를 승하강시키는 승강부 상기 회전부 또는 승강부에 구비되어 상기 회전부의 높이를 감지하는 감지부 상기 감지부에서 감지된 상기 회전부의 높이에 근거하여 상기 승강부를 제어하는 제어부를 포함하여 구성된다.