The present invention relates to a self-moving device (100). The self-moving device (100) includes a body (20), a walking mechanism (40) disposed on the body (20) and configured to drive the self-moving device (100) to walk, a connecting arm (60) connected to the body (20), and a control module (11) configured to control the walking mechanism (40) to drive the self-moving device (100) to walk within a defined area. The connecting arm (60) is selectively connected to at least one of at least two working heads (200) configured to perform different work tasks. The connecting arm (60) includes a connecting structure (64) configured to be connected to the working head (200) and a connecting component (62) configured to connect the connecting structure (64) to the body (20).