The invention provides a lens module. The lens module comprises a shell with an accommodating space, a lens accommodated in the accommodating space, a sensor assembly and a driving device, wherein thesensor assembly is movably accommodated in the accommodating space and is arranged opposite to the lens in the optical axis direction of the lens, and the driving device drives the sensor assembly tomove in/around the optical axis direction or in the direction vertical to the optical axis relative to the lens. Compared with the prior art, the above lens module increases the degree of freedom ofjitter 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 directly drives theimage 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 is small, sothat the size of the shell can be reduced, and the axial thickness of the lens module is reduced.