A lens driving apparatus for driving a lens assembly, the lens driving apparatus comprising: a housing comprising a first housing and a second housing, the second housing comprising a portion disposed under the first housing, wherein the first housing comprises a side portion and an upper portion extending in a horizontal direction from an end of the side portion; a barrel disposed in the first housing and configured to receive the lens assembly; a first elastic member connecting the barrel and the upper portion of the first housing such that the barrel moves relative to the first housing in a vertical direction; a second elastic member for movably fixing the first housing to the second housing; a first coil attached to an outer side of the barrel; a magnet disposed on an inner surface of the side portion of the first housing and interacting with the first coil to move the barrel and the first coil relative to the first housing in the vertical direction; and a second coil disposed on the second housing and interacting with the magnet to move the first housing and the magnet such that the barrel moves relative to the second housing in the horizontal direction; wherein the magnet comprises a lower surface, an upper surface, and side surfaces; wherein the side surfaces of the magnet comprise a first side surface facing the first coil and a second side surface opposite to the first side surface, the second side surface of the magnet disposed at the inner surface of the side portion of the first housing; characterized in that the first coil is facing the first side surface of the magnet in the horizontal direction and the second coil is facing the lower surface of the magnet in the vertical direction such that the first coil and the second coil interact with the magnet; and wherein the second coil is disposed between the lower surface of the magnet and an upper surface of the second housing in the vertical direction, wherein in the vertical direction a width of the first side surface of the magnet is greater than a width of the first coil facing the first side surface of the magnet, wherein in the horizontal direction a width between the first side surface of the magnet and the second side surface of the magnet is smaller than a width of the second coil facing the lower surface of the magnet, wherein the second coil comprises a central portion overlapping with the lower surface of the magnet in the vertical direction, and an outer portion extending horizontally from the central portion to a direction opposite to the barrel, and wherein the outer portion of the second coil faces a bottom surface of the side portion of the first housing. a housing comprising a first housing and a second housing, the second housing comprising a portion disposed under the first housing, wherein the first housing comprises a side portion and an upper portion extending in a horizontal direction from an end of the side portion; a barrel disposed in the first housing and configured to receive the lens assembly; a first elastic member connecting the barrel and the upper portion of the first housing such that the barrel moves relative to the first housing in a vertical direction; a second elastic member for movably fixing the first housing to the second housing; a first coil attached to an outer side of the barrel; a magnet disposed on an inner surface of the side portion of the first housing and interacting with the first coil to move the barrel and the first coil relative to the first housing in the vertical direction; and a second coil disposed on the second housing and interacting with the magnet to move the first housing and the magnet such that the barrel moves relative to the second housing in the horizontal direction; wherein the magnet comprises a lower surface, an upper surface, and side surfaces; wherein the side surfaces of the magnet comprise a first side surface facing the first coil and a second side surface opposite to the first side surface, the second side surface of the magnet disposed at the inner surface of the side portion of the first housing; characterized in that the first coil is facing the first side surface of the magnet in the horizontal direction and the second coil is facing the lower surface of the magnet in the vertical direction such that the first coil and the second coil interact with the magnet; and wherein the second coil is disposed between the lower surface of the magnet and an upper surface of the second housing in the vertical direction, wherein in the vertical direction a width of the first side surface of the magnet is greater than a width of the first coil facing the first side surface of the magnet, wherein in the horizontal direction a width between the first side surface of the magnet and the second side surface of the magnet is smaller than a width of the second coil facing the lower surface of the magnet, wherein the second coil comprises a central portion overlapping with the lower surface of the magnet in the vertical direction, and an outer portion extending horizontally from the central portion to a direction opposite to the barrel, and wherein the outer portion of the second coil faces a bottom surface of the side portion of the first housing.