The invention relates to a ball bearing switch that comprises a base, a emitter, a receiver, a ball bearing, and a outer cover which covers said subassembly. The base includes a bottom block, a center block, a first bearing block, a second bearing block are extended from the bottom block, a containing groove which is set on the center block to contain the ball bearing, a emitting head which is set on the first bearing block and the second bearing block to bear the emitter, a first bearing surface, a second bearing surface of a receiving head, and the first channel, the second channel which link the two bearing surface. The outer cover includes a first pressing block, a second pressing block and a stopper which prevents light beam to be reflected which are pressed on the emitter and the receiver. So, the invention can prevent light beam to be reflected and scattered effectively, and without fault operation.