A lens module includes a lens barrel having a first bonding surface; a first lens received in the lens barrel and having a second bonding surface which is a side surface of the first lens. At least one of the first bonding surface and the second surface is uneven, and the first bonding surface and the second surface are glued by adhesive. The first bonding surface and the second surface and the adhesive form a gluing structure.