A lens driving device comprising: a driving part including a movable part (10; 11) where a lens part is disposed and a fixing part (20; 12) where the movable part (10; 11) is fixed; a base member having a rectangular shape in plan view, wherein a shield cover is attached at a peripheral portion of the base member, and a side surface of the peripheral portion and a lower inner peripheral surface of the shield cover are bonded to each other with an adhesive agent; and a ground terminal part (221, 222) disposed in the base member and configured to be electrically connected with the shield cover, wherein: the base member includes at a first side of the peripheral portion a plurality of terminal housing parts (231, 232) recessed from the side surface, the ground terminal part (221, 222) includes a first ground terminal part integrally attached to the first side, the first ground terminal part includes a plurality of first ground terminals (221A, 221B) having different lengths, the first ground terminals (221A, 221B) being in contact with the shield cover and being respectively disposed in the plurality of terminal housing parts (231A, 231B) to be separated from the side surface, and a space allowing the adhesive agent to enter is formed between the plurality of first ground terminals (221A, 221B) and edges of the corresponding terminal housing parts (231A, 231B) in the length direction of the first ground terminals (221A, 221B). a driving part including a movable part (10; 11) where a lens part is disposed and a fixing part (20; 12) where the movable part (10; 11) is fixed; a base member having a rectangular shape in plan view, wherein a shield cover is attached at a peripheral portion of the base member, and a side surface of the peripheral portion and a lower inner peripheral surface of the shield cover are bonded to each other with an adhesive agent; and a ground terminal part (221, 222) disposed in the base member and configured to be electrically connected with the shield cover, wherein: the base member includes at a first side of the peripheral portion a plurality of terminal housing parts (231, 232) recessed from the side surface, the ground terminal part (221, 222) includes a first ground terminal part integrally attached to the first side, the first ground terminal part includes a plurality of first ground terminals (221A, 221B) having different lengths, the first ground terminals (221A, 221B) being in contact with the shield cover and being respectively disposed in the plurality of terminal housing parts (231A, 231B) to be separated from the side surface, and a space allowing the adhesive agent to enter is formed between the plurality of first ground terminals (221A, 221B) and edges of the corresponding terminal housing parts (231A, 231B) in the length direction of the first ground terminals (221A, 221B). the base member includes at a first side of the peripheral portion a plurality of terminal housing parts (231, 232) recessed from the side surface, the ground terminal part (221, 222) includes a first ground terminal part integrally attached to the first side, the first ground terminal part includes a plurality of first ground terminals (221A, 221B) having different lengths, the first ground terminals (221A, 221B) being in contact with the shield cover and being respectively disposed in the plurality of terminal housing parts (231A, 231B) to be separated from the side surface, and a space allowing the adhesive agent to enter is formed between the plurality of first ground terminals (221A, 221B) and edges of the corresponding terminal housing parts (231A, 231B) in the length direction of the first ground terminals (221A, 221B).