The invention provides a lens module, which comprises a shell with an accommodating space, a lens accommodated in the accommodating space, a sensor assembly and a driving device, and is characterizedin that the sensor assembly is movably accommodated in the accommodating space and is arranged opposite to the lens along the optical axis direction of the lens; the driving device drives the sensor assembly to move relative to the lens along / around the optical axis or along the direction perpendicular to the optical axis. Compared with the prior art, the above lens module increases the degree offreedom of jitter compensation by moving the image sensor, i.e., compensates the jitter rotating around the optical axis, thereby improving the optical anti-jitter effect. The driving device directlydrives the image sensor to move, the structure is simple, and the occupied space is small; the size of the image sensor is small, and the activity space of the sensor assembly reserved in the shell issmall, so that the size of the shell can be reduced, and the axial thickness of the lens module is reduced.