The invention discloses a device for automatically picking table tennis balls. The device comprises a shell, infrared probes are arranged on the front and rear side faces of the shell, a driving wheelis arranged at the outer side of a driver, a movable guide rail is arranged at the inner side of an opening, slide grooves are formed in the two sides of the movable guide rail, and slide blocks arearranged at the inner sides of the slide grooves and rotatably connected with supporting rods, a mounting plate is fixedly mounted at the upper ends of the supporting rods, a ball is fixedly mounted at the lower end of the mounting plate through a mounting base and slidably connected with a cam, the cam is rotatably connected with a motor, a support is fixedly connected with a piston rod of an aircylinder, a pipeline is arranged above the right end of the movable guide rail, the other end of the pipeline is communicated with a collecting box, a filtering net plate is arranged at the right portion of the collecting box, and an air exhaust fan is arranged at the right side of the collecting box. According to the device for automatically picking the table tennis balls, by firstly shoveling the table tennis balls into the device and then sucking the balls, the situation that impurities are sucked is avoided.