A traveling work machine comprising: a machine body provided with a travel apparatus ; a position detection unit configured to detect position information of the machine body on the basis of a positioning signal of a navigation satellite; a travel trajectory obtainment unit configured to obtain a travel trajectory of the machine body on the basis of detection, over time, of the position information; a target heading calculation unit configured to calculate a target heading (LA) on the basis of the travel trajectory; a maneuvering control unit configured to control the travel apparatus to maneuver along the target heading (LA); a display unit configured to display information pertaining to setting of the target heading (LA); and a single operating tool configured to set both a start point (Ts) and an end point (Tf) of the travel trajectory obtained when calculating the target heading (LA), characterized in that : the target heading calculation unit is configured to set the end point (Tf) through an operation of the operating tool after the start point (Ts) has been set through an operation of the operating tool and the machine body has traveled a pre-set distance after the start point (Ts) has been set; and when setting of the end point (Tf) through an operation of the operating tool has become possible, the display unit is configured to display an indication that the setting of the end point (Tf) is possible. a machine body provided with a travel apparatus ; a position detection unit configured to detect position information of the machine body on the basis of a positioning signal of a navigation satellite; a travel trajectory obtainment unit configured to obtain a travel trajectory of the machine body on the basis of detection, over time, of the position information; a target heading calculation unit configured to calculate a target heading (LA) on the basis of the travel trajectory; a maneuvering control unit configured to control the travel apparatus to maneuver along the target heading (LA); a display unit configured to display information pertaining to setting of the target heading (LA); and a single operating tool configured to set both a start point (Ts) and an end point (Tf) of the travel trajectory obtained when calculating the target heading (LA), characterized in that : the target heading calculation unit is configured to set the end point (Tf) through an operation of the operating tool after the start point (Ts) has been set through an operation of the operating tool and the machine body has traveled a pre-set distance after the start point (Ts) has been set; and when setting of the end point (Tf) through an operation of the operating tool has become possible, the display unit is configured to display an indication that the setting of the end point (Tf) is possible. the target heading calculation unit is configured to set the end point (Tf) through an operation of the operating tool after the start point (Ts) has been set through an operation of the operating tool and the machine body has traveled a pre-set distance after the start point (Ts) has been set; and when setting of the end point (Tf) through an operation of the operating tool has become possible, the display unit is configured to display an indication that the setting of the end point (Tf) is possible. <EOS>