Provided is a construction machine including an air cleaner and allowing the air cleaner to be easily installed with no enlargement of an installed space while surely avoiding the interference with other structure. The construction machine includes: an air cleaner (22); a pipe (32) connected to an exhaust port of the air cleaner (22); a seat plate (34) on which the air cleaner (22) and the pipe (32) are mounted to form a subassembly (A1); and a device (19) including an upper surface on which the subassembly (A1) is mounted to form a device-assembly. The subassembly (A1) is allowed to be displaced between a first position apart from a first structure (14) and a second position close to the first structure (14) and apart from a second structure (19a) and to be fixed at each of the positions.