The invention discloses an automatic electromagnetic partition-changing and positioning device of a full-automatic cleaning device for a tubular heater, which comprises a machine frame, caster wheels, positioning caster wheels, an x-axis rack, a y-axis driving device, two x-axis slide rails, an x-axis driving device, a machine frame centre positioning seat and a center rotation device. The center rotation device, the caster wheels and the positioning caster wheels are mounted at the lower part of the machine frame; a positioning device is mounted on each positioning caster wheel; an ejector rod device is mounted at the lower part of the y-axis driving device; and the ejector rod device is a magnet sucking disc device. The automatic electromagnetic area-change and positioning device has the advantages of small size, light weight, simple structure, convenience in installation and good reliability; and two driving forces are adopted to realize x-axis, y-axis and circular motion, and automatic partitioning, so that partition-changing and positioning can be realized.