A bone anchoring device includes a receiving part for receiving a rod, the receiving part having a first bore coaxial with a longitudinal axis and a second bore. The bone anchoring device also includes an anchoring element having a first end for insertion into the bone and a second end positionable within a second bore, the second end having a spherically shaped surface portion. The bone anchoring device further has a locking device provided to the second bore of the receiving part The locking device protrudes from an inner wall of the second bore and engages with a recessed surface portion of the second end of the anchoring element, such that the anchoring element is pivotable relative to the receiving part around a single axis of rotation. The locking device may comprise pins inserted into through holes formed in the receiving part, which engage with the recessed surface portion of the second end.