A lens holder (20) used in a digital camera includes a first housing (21) and a second housing (22) complementary thereto. Each housing includes a joining edge (203,204) and a plurality of screw threads (201,202) on an outside surface of the housings. A plurality of mounting holes (211) and a plurality of mounting pins (221) are formed on the joining edges of the housings. A plurality of partition platforms (213,223) is formed inside each housing to define a plurality of rooms for accommodating and securing a plurality of lenses. Each partition platform has a semi-circular opening (214,224) therethrough. In assembly, a plurality of lenses is inserted into the rooms and secured therein. Then, the second housing is assembled with the first housing with the locking pins inserting into the mounting holes of the joining edges. A lens holder used in a digital camera is thus formed.