The application discloses a pet feeder, a first cylinder, a second cylinder and a third cylinder are coaxially arranged in a box from inside to outside, two ends of the first cylinder are fixedly connected with front and rear inner walls of the box, the second cylinder is sleeved on the first cylinder, a plurality of support plates are arranged between an outer wall of the second cylinder and an inner wall of the first cylinder, a notch is arranged on the second cylinder between adjacent support plates, a grain outlet is concavely arranged on the first cylinder and matched with the notch, a guide plate is arranged in the first cylinder, an opening is arranged on the box, an annular tooth is protrusively arranged on an outer wall of the third cylinder, a driving gear is meshingly connected on the annular tooth, and a motor is arranged in the box and used for driving the driving gear to rotate. The feeder realizes automatic feeding by the cooperation of the structure and the grain moving out of the notch, the outlet, the guide plate and the opening. When the feeding is not needed, the inner wall of the second cylinder covers the feeding opening, so that the feeding opening is closed, insects, dust and the like are prevented from entering the box, the quality of the grain is ensured, and the subsequent feeding is facilitated.