The invention discloses an X-ray electronic device detection system which comprises a case, a two-dimensional moving worktable arranged in the case, an X-axis stepping motor and a Y-axis stepping motor which drive the two-dimensional moving worktable to move, an X-ray generator arranged below the two-dimensional moving worktable, an X-ray image intensifier arranged above the two-dimensional moving worktable, wherein the two-dimensional moving worktable mainly consists of a bearing sliding plate, a movable table rack, a longitudinal sliding rail, a longitudinal belt, a transverse sliding rail, a transverse belt and a fixing frame; a movable table rack moving and limiting device mainly consists of two metal proximity sensors, a metal sheet and a controller. With the adoption of a bearing sliding plate moving and limiting device and the movable table rack moving and limiting device, movement of the worktable is limited, so that the machine is safe and reliable in operation, and the service lives of the belts and the stepping motors are prolonged.