PROBLEM TO BE SOLVED: To provide a flexible endoscope with a shape detection function which can perform accurate detection of an insertion part shape, is easy to assemble/disassemble, and has a conductive coil with no risk of breakage during a bending movement or the like of a bend part.SOLUTION: A coming-off prevention member 22 having a large diameter is fixed to a position near an distal end of a coil unit 20, the coming-off prevention member 22 is loosely inserted, in a freely axially movable manner, in an internal space of an intermediate part 30b of a coil unit distal end hold cylinder 30 attached to the distal end of a protection tube 21, a cylindrical plug body 31 fitted in a front side part 30c of the coil unit distal end hold cylinder 30 and a rear side part 30a of the coil unit distal end hold cylinder 30 function as a stopper of axial movement of the coming-off prevention member 22, and the coil unit distal end hold cylinder 30 and the distal end part of the protection tube 21 are fixed with their distal ends inserted in a coil assembly fixing hole 14a of an distal end part body 14 drilled from behind.COPYRIGHT: (C)2013,JPO&INPIT【課題】正確な挿入部形状検出を行うことができ、組み立てや分解が容易であって、湾曲部の屈曲動作等の際に導電コイルが破損するおそれのない、形状検出機能を備えた軟性内視鏡を提供すること。【解決手段】コイルユニット20の先端近傍位置に外径の大きな抜け止め部材22が固着されて、保護チューブ21の先端に取り付けられたコイルユニット先端保持筒30の中間部分30bの内部空間に抜け止め部材22が軸線方向に遊動可能に緩く内挿され、コイルユニット先端保持筒30の前側部分30cに嵌め込まれた筒状栓体31とコイルユニット先端保持筒30の後側部分30aとが抜け止め部材22の軸線方向移動のストッパになり、先端部本体14に後方から穿設されたコイルアセンブリ固定孔14aに、コイルユニット先端保持筒30と保護チューブ21の先端部分とが差し込まれた状態で固定されている。【選択図】 図2