The invention discloses an integrated type forklift sidesway mechanism with an internally-installed di-oil cylinder. The mechanism comprises a fixed sliding frame, a moving sliding frame, a bi-sidesway oil cylinder, a folded pallet fork and the like. The fixed sliding frame is fixed on a work mechanism; the moving sliding frame is fixed on the fixed sliding frame by the upper chute and the lower chute of the moving sliding frame and can transversely move; the bi-sidesway oil cylinder is arranged in a space between the moving sliding frame and the fixed sliding frame, so that a plurality of levers are fixed and distributed in an overlapping way, the levers are under the oil-charging state, and a cylinder barrel is under the moving state; and a greater oil cylinder stroke is realized withina smaller cylinder barrel range. The mechanism has the characteristics of being great in sidesway distance, simple in structure, small in volume, flexible in operation, high in movement reliability and the like, so that the lost carrying distance of the forklift caused by an external sidesway device can be reduced. A hydraulic oil way is integrated with a plurality of equipment parts, so that a plurality of connecting pipelines are reduced, and the visual field of the forklift is improved; and the forklift can be fixed in a folding way, thereby being convenient to transport.