The invention is applicable to the technical field of positioning, and provides an indoor positioning device. The indoor positioning device comprises a base, a light source, a rotating member, a rotating shell and a controller, wherein the rotating shell is divided into a plurality of coding rings, each coding ring is divided into a plurality of coding bits, an angle of each coding bit is 360/N degrees in the latitudinal direction, and the coding bits of different coding rings are different in configuration mode; a plurality of coding bits of the coding rings are of a light transmitting state, more than two continuous light-proof coding bits do not exist, and a plurality of coding bits, which are configured in a specific mode, form a start bit and a stop bit; each coding ring comprises a special coding bit; and the base is further provided with an optical coupler, the side, which faces to the base, of the rotating member is provided with a light blocking piece, and frequency hopping occurs every time when the rotating member drives the light blocking piece to penetrate through a clamping slot. The indoor positioning device realizes positioning by being combined with light signal sensing of a receiving terminal through the special rotating shell and the hopping light source, the structure is simple, and the positioning method is novel, accurate, good in stability and low in cost, thereby being suitable for indoor high-precision positioning.