The invention discloses a roof-mounted type hydraulic cylinder lifting mechanism for a damper of a light and medium truck. The mechanism comprises an outer protective cylinder body (4), an outer cylinder body (5), a moveable spherical hinge (7) and a piston rod (9), wherein an oil inlet and a sealing member are arranged on the outer cylinder body. The mechanism is characterized by further comprising a lower installation shaft (1), an upper installation shaft (3), a dirt receiving ring (6) and a reinforcing plate (2). Both ends of the lower installation shaft are connected with a frame, the reinforcing plate is welded in the middle of the lower installation shaft, the lower installation shaft is in fastened connection with the outer cylinder body through a screw thread, the upper installation shaft is welded with the outer protective cylinder body, both shaft ends of the upper installation shaft are connected with an automobile container, the moveable spherical hinge is welded on the upper part of the piston rod, the outer protective cylinder body is sleeved on the moveable spherical hinge, and the top of the piston rod is sleeved with a shock absorbing gasket and is fixed by a locking nut. According to the invention, the oil cylinder is automatically leveled in the using process and still maintained vertical to the automobile body, so that, the quality product is greatly improved, and the safety and the stability of the product are ensured.