The present invention discloses a self-moving gardening robot, including a positioning module, a control module, a material cavity, and a working module. The positioning module of the self-moving gardening robot is configured to perform path planning, and the control module controls the self-moving gardening robot to travel according to planned path; and the working module performs a corresponding work when the self-moving gardening robot travels. When the material cavity contains different materials, the self-moving gardening robot may finish different functional tasks based on a same control procedure. Preferably, the self-moving gardening robot is further provided with an accessory interface. By connecting different functional accessories through the accessory interface, the self-moving gardening robot implements multiple functions. The present invention provides a self-moving gardening robot capable of performing path planning and integrated with multiple functions, thereby increasing an efficiency of using the machine and reducing use costs for a user.