The invention discloses a modular automatic ticketing machine case body which comprises a cubic outer frame (1), a partition frame (2) which is placed inside the outer frame (1) and divides the interior into a plurality of units, and selectable interface modules (3) on partition units. According to the outer frame (1), four outer frame columns (111, 112, 113, 114) with the same length, four outerframe cross beams (121, 122, 123, 124) with the same length, six outer frame longitudinal beams (131, 132, 133, 134, 135, 136) with the same length are fixedly connected by the same 4040 right-angle pieces (14) and T bolts to form an outer contour of the modular automatic ticketing case body with the fixed length, width and height. According to the partition frame (2), the multiple units with adjustable interior spaces are formed by the multiple columns and cross beams with different lengths. According to the modular automatic ticketing case body, the case structure can be quickly and flexiblychanged to adapt to the change of internal function modules, and the design, manufacture and assembly cycles of an automatic ticketing machine are shortened.