A camera module includes a lens barrel (10) including at least one lens group (11); a moving frame (200) that includes the lens barrel and moves in an optical axis direction and in a first direction and a second direction that are perpendicular to the optical axis direction; a fixed frame (100) that movably supports the moving frame and provides the moving frame with a driving force in the optical axis direction, a driving force in the first direction, and a driving force in the second direction; and a base (20) that fixes the fixed frame and includes an image sensor (21) that is spaced apart from the at least one lens group in the optical axis direction.