The utility model relates to the technical field of vehicle suspension shock absorbers, and discloses a variable rigidity
oil pressure shock absorber which comprises a
shock absorber body, a displacement sensor and a damping
assembly, the
shock absorber body comprises an outer cylinder, an inner cylinder, a
piston rod, a first one-way valve and a second one-way valve, and an
oil storage cavity is formed between the outer cylinder and the inner cylinder; the first end of the
piston rod penetrates through the outer cylinder, extends into the inner cylinder, is in
sliding contact with the inner wall of the cavity and divides the cavity of the inner cylinder into a rod cavity and a rodless cavity, and the second end of the
piston rod is used for being connected with an external mechanism; the first one-way valve is used for communicating the rod cavity with the rodless cavity; the second one-way valve is used for communicating the rodless cavity with the
oil storage cavity, and the second one-way valve and the first one-way valve are oppositely arranged; the damping
assembly comprises a damping pipeline, a switch
electromagnetic valve and a damping adjusting unit. The
piston rod can be switched between a slidable state and a non-slidable state through the on-off
electromagnetic valve, so that shaking of a vehicle body is reduced when the vehicle passes through a limited boundary area, and interference with facilities is avoided.