A camera module comprising: a housing assembly; a driving assembly received in the housing assembly; and a lens assembly received in the driving assembly and including at least one lens aligned in a first direction, wherein the driving assembly includes: an auto focus, AF, magnetic member fixed to one side surface of the driving assembly and driven in the first direction, wherein the housing assembly includes: an AF coil disposed to face the AF magnetic member and configured to generate a magnetic field in response to a first signal to drive the AF magnetic member; and an AF position sensor disposed at one side of the AF coil and configured to measure a position of the AF magnetic member, and wherein the AF position sensor is disposed to be partially overlapped with a first virtual expansion area formed by expanding the AF magnetic member in a second direction (610, 620) that uniformly maintains spacing from the AF coil, said second direction being perpendicular to the first direction in which the AF magnetic member is driven by the driving assembly. a housing assembly; a driving assembly received in the housing assembly; and a lens assembly received in the driving assembly and including at least one lens aligned in a first direction, wherein the driving assembly includes: an auto focus, AF, magnetic member fixed to one side surface of the driving assembly and driven in the first direction, wherein the housing assembly includes: an AF coil disposed to face the AF magnetic member and configured to generate a magnetic field in response to a first signal to drive the AF magnetic member; and an AF position sensor disposed at one side of the AF coil and configured to measure a position of the AF magnetic member, and wherein the AF position sensor is disposed to be partially overlapped with a first virtual expansion area formed by expanding the AF magnetic member in a second direction (610, 620) that uniformly maintains spacing from the AF coil, said second direction being perpendicular to the first direction in which the AF magnetic member is driven by the driving assembly. an auto focus, AF, magnetic member fixed to one side surface of the driving assembly and driven in the first direction, wherein the housing assembly includes: an AF coil disposed to face the AF magnetic member and configured to generate a magnetic field in response to a first signal to drive the AF magnetic member; and an AF position sensor disposed at one side of the AF coil and configured to measure a position of the AF magnetic member, and wherein the AF position sensor is disposed to be partially overlapped with a first virtual expansion area formed by expanding the AF magnetic member in a second direction (610, 620) that uniformly maintains spacing from the AF coil, said second direction being perpendicular to the first direction in which the AF magnetic member is driven by the driving assembly. an AF coil disposed to face the AF magnetic member and configured to generate a magnetic field in response to a first signal to drive the AF magnetic member; and an AF position sensor disposed at one side of the AF coil and configured to measure a position of the AF magnetic member, and wherein the AF position sensor is disposed to be partially overlapped with a first virtual expansion area formed by expanding the AF magnetic member in a second direction (610, 620) that uniformly maintains spacing from the AF coil, said second direction being perpendicular to the first direction in which the AF magnetic member is driven by the driving assembly.