The invention provides an environment-friendly flour mixer based on a cooking purpose. The mixer comprises a mixer body and a base; the bottom of the inner cavity of the mixer body is fixedly providedwith a fixing seat; the top of the fixing seat is provided with a slide groove; a bearing seat is fixedly arranged at the center of the bottom of the slide groove; the front surface of the bearing seat is embedded with a first motor; and the output end of the first motor passes through the front surface of the bearing seat and is fixedly connected to a gear. According to the environment-friendlyflour mixer based on a cooking purpose, with the provided sliding groove, the bearing seat, the first motor, the gear, sliding rods, sliding blocks, bearing rods and a rack, the first motor drives thegear to rotate, the gear drives the rack to move horizontally, the sliding blocks move horizontally on the sliding rods, the rack drives a stirring cylinder to horizontally move, so that a stirring shaft and stirring blocks can stir flour more uniformly, and at the same time, with provided cross rods and scraping brushes, the flour is prevented from sticking to the inner wall of the stirring cylinder, and the stirring efficiency is effectively improved.