A ball bearing (B) comprising: an outer bearing ring having an outer raceway surface on an inner periphery of the outer bearing ring ; an inner bearing ring having an inner raceway surface on an outer periphery of the inner bearing ring ; a plurality of balls disposed between the outer raceway surface and the inner raceway surface ; and a cage which is made of a resin, and by which the balls are arranged at equal intervals in a circumferential direction, wherein the cage has, in plural circumferential portions of the cage , pockets maintaining circumferential positions of the balls , and wherein the pockets are open to a side surface of the cage on one side thereof in one axial direction, wherein at least one bearing ring of the outer bearing ring and the inner bearing ring includes a radially protruding engaging portion at a position of the inner or outer periphery thereof on one side of the raceway surface thereof, in the other axial direction, wherein the cage includes at least one engagement portion engageable with the engaging portion in the other axial direction, wherein a relationship between a pocket axial depth H of each of the pockets and a ball diameter d of a corresponding one of the balls is set at 0.15d ≤ H ≤ 0.65d, wherein the at least one engagement portion is disposed on one side of the pockets , in the other axial direction, characterised in that the at least one engagement portion includes protrusions defining, between the protrusions and the engaging portion , spaces which narrow in axial dimension in the circumferential direction, and wherein an axial clearance is defined between the engaging portion and the protrusions . an outer bearing ring having an outer raceway surface on an inner periphery of the outer bearing ring ; an inner bearing ring having an inner raceway surface on an outer periphery of the inner bearing ring ; a plurality of balls disposed between the outer raceway surface and the inner raceway surface ; and a cage which is made of a resin, and by which the balls are arranged at equal intervals in a circumferential direction, wherein the cage has, in plural circumferential portions of the cage , pockets maintaining circumferential positions of the balls , and wherein the pockets are open to a side surface of the cage on one side thereof in one axial direction, wherein at least one bearing ring of the outer bearing ring and the inner bearing ring includes a radially protruding engaging portion at a position of the inner or outer periphery thereof on one side of the raceway surface thereof, in the other axial direction, wherein the cage includes at least one engagement portion engageable with the engaging portion in the other axial direction, wherein a relationship between a pocket axial depth H of each of the pockets and a ball diameter d of a corresponding one of the balls is set at 0.15d ≤ H ≤ 0.65d, wherein the at least one engagement portion is disposed on one side of the pockets , in the other axial direction, characterised in that the at least one engagement portion includes protrusions defining, between the protrusions and the engaging portion , spaces which narrow in axial dimension in the circumferential direction, and wherein an axial clearance is defined between the engaging portion and the protrusions . <EOS>