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 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 recessed from the side surface, the ground terminal part includes a first ground terminal part integrally attached to the first side, the first ground terminal part includes a plurality of first ground terminals having different lengths, the first ground terminals being in contact with the shield cover and being respectively disposed in the plurality of terminal housing parts 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 and edges of the corresponding terminal housing parts in the length direction of the first ground terminals . 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 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 recessed from the side surface, the ground terminal part includes a first ground terminal part integrally attached to the first side, the first ground terminal part includes a plurality of first ground terminals having different lengths, the first ground terminals being in contact with the shield cover and being respectively disposed in the plurality of terminal housing parts 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 and edges of the corresponding terminal housing parts in the length direction of the first ground terminals . the base member includes at a first side of the peripheral portion a plurality of terminal housing parts recessed from the side surface, the ground terminal part includes a first ground terminal part integrally attached to the first side, the first ground terminal part includes a plurality of first ground terminals having different lengths, the first ground terminals being in contact with the shield cover and being respectively disposed in the plurality of terminal housing parts 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 and edges of the corresponding terminal housing parts in the length direction of the first ground terminals . <EOS>