Problem to be solved: to provide a handheld working machine capable of contributing to the compactness of the grip portion and improving the handling property of the work machine by optimizing the arrangement of the lock member, the output operating member and the position sensor in the grip portion of the handle.A prime mover 5 serving as a power sourceA handle 9 having a grip part 10 extending in the front and rear directionsAn output operation member 11, which is disposed on the lower surface of the grip portion 10, is pivotally moved upwardly and downwardlyA lock member 13 disposed on the upper surface of the grip portion 10 to lock the output operating member 11 to a non operating positionA position sensor 29 which detects the position of the output operation member 11 and contributes to the control of the prime moverEquipped withThe position of the position sensor 29 isWithin the grip portion 10,The front side of the output operating member 11 and the lower side of the lock member 13 and the lower end 11h of the output operating member 11 and the rear end 13F of the lock member 13 are connected to the front side of the line 310.Diagram【課題】ハンドルのグリップ部におけるロック部材と出力操作部材と位置センサとの配置を適正化することにより、前記グリップ部のコンパクト化に貢献でき、且つ、作業機の取扱性も向上させ得る、手持式作業機を提供する。【解決手段】動力源となる原動機5と、前後方向に延びるグリップ部10を有するハンドル9と、前記グリップ部10の下面に配設されて上下に揺動操作される出力操作部材11と、該出力操作部材11を非操作位置にロックするために前記グリップ部10の上面に配設されるロック部材13と、前記出力操作部材11の位置を検知して前記原動機5の制御に寄与する位置センサ29と、を備え、該位置センサ29の配設位置が、前記グリップ部10の内部であって、前記出力操作部材11の後方位置且つ前記ロック部材13の下方位置且つ前記出力操作部材11の下端11hと前記ロック部材13の後端13fとを結ぶ線310より前側とされる。【選択図】 図4