The apparatus for measuring a shape of a tire comprising a scanning part 6 provided with an optical sensor 11 that can measure the distance to the tire tread and a driving part in which the optical sensor 11 can scan in the tire width direction, the supporting portions of the scanning part 1a and 1b that support scanning part 6, a contact plate 2 provided at one end of the supporting portions of the scanning part 1a and 1b, and a contact plate 3 provided at the other end of the supporting portions of the scanning part 1a and 1b and movable in the scanning direction, wherein the scanning part 6 is detachable to the supporting portions of the scanning part 1a and 1b.