A polyaxial bone anchoring device is provided includinga bone anchoring element (1) having a shank (2) for anchoring in the bone and a head (3)a receiving part (5) for coupling a rod (6) to the bone anchoring element (1) the receiving part includinga rod receiving portion (9, 9, 9") having a first end (9a) and a second end (9b) and a recess (12) with a bottom for receiving the rod (6) therein,a head receiving portion (19, 19, 19") having a first end (19a) and an open second end (19b) with a bounding edge and a hollow interior portion (23) in communication with the open second end (19b) for introduction of the head (3), the head receiving portion being flexible so as to allow introduction and clamping of the head (83)a locking ring (8) mounted around the head receiving portion (19, 19, 19")wherein the head (3) is pivotable in the head receiving portion (19, 19, 19") and can be locked at an angle by compressing the head receiving portion (19) by means of the locking ring (8)wherein the bounding edge is configured to permit the anchoring element to pivot at a larger pivot angle at a first location of the bounding edge than at a second location of the bounding edgeand wherein the head receiving portion (19) is rotatably connected to the rod receiving portion (9, 9, 9").