A dustproof lens assembly includes a holder and a barrel. The holder has an inner space, in which an image sensor is received. The holder and the barrel have connecting portions for engagement and a block portion is provided between the inner space and the connecting portions to block dust between the first connecting portion and the second connecting portion out of the inner space of the holder and give the image sensor a clean environment.