PROBLEM TO BE SOLVED: To provide a configuration capable of miniaturization in a three-dimensional scanner having a built-in focus variable portion for mechanically moving the position of a lens. The present invention is a three-dimensional scanner that acquires shape information of an object. The three-dimensional scanner includes a light source unit 81, a focus variable unit 82, an optical sensor 85, and a control unit. The focus variable unit 82 includes a plurality of lenses having a positive combined lens power value, and a drive unit that drives at least one of the plurality of lenses along the optical axis direction. The plurality of lenses include a combination of at least one set of positive lenses 82b and negative lenses 82a. [Selection diagram] Fig. 3【課題】本発明は、レンズの位置を機械的に可動させる焦点可変部を内蔵する三次元スキャナにおいて、小型化が可能な構成を提供する。【解決手段】本発明は、対象物の形状情報を取得する三次元スキャナである。三次元スキャナは、光源部81と、焦点可変部82と、光学センサ85と、制御部とを備えている。焦点可変部82は、合成したレンズパワーの値が正となる複数のレンズと、複数のレンズのうち少なくとも一つのレンズを光軸方向に沿って駆動する駆動部とを含む。複数のレンズは、少なくとも1組の正レンズ82bと負レンズ82aとの組み合わせを含んでいる。【選択図】図3