The present invention relates to a self-propelled robotic lawnmower, specifically the present invention relates to a self-propelled robotic lawnmower with an edge cutting system. The robotic lawnmower (100, 300) includes a body (102, 302) covered by a housing, a main cutting unit (104, 304) and a trimming unit (106, 306). The trimming unit (106, 306) is arranged to change between an active state to a passive state. In the passive state the trimming unit (106, 306) does not perform cutting and in the active state the trimming unit (106, 306) performs cutting.