PROBLEM TO BE SOLVED: To provide a coil unit which can detect a three-dimensional position of a distal end surface of a distal end part of an insertion portion, has excellent assembly properties even in the insertion portion having an extremely small diameter, and is configured to be arranged by ensuring strength.SOLUTION: A coil unit includes: a base plate 101 provided in a distal end part a signal cable 102 electrically connected to the base plate 101 in the distal end part a first coil 103 whose axial direction J1 is set in substantially parallel with a longitudinal direction N, and which is fixed to the base plate 101 in the distal end part and is electrically connected to the signal cable 102 through the base plate 101 and a second coil 104 which is provided to make contact with or to be separated from the first coil 103 in the distal end part and is electrically connected to the signal cable 102 through the base plate 101.SELECTED DRAWING: Figure 6COPYRIGHT: (C)2018,JPO&INPIT【課題】挿入部の先端部の先端面の3次元位置を検出でき、非常に小径な挿入部内であっても組立性良く、強度を確保して配置できる構成を具備するコイルユニットを提供する。【解決手段】先端部内に設けられた基板101と、先端部内において基板101に電気的に接続された信号ケーブル102と、軸方向J1が長手軸方向Nと略平行に設定されるとともに先端部内において基板101に固定された、基板101を介して信号ケーブル102に電気的に接続された第1のコイル103と、先端部内において第1のコイル103に接触または離間して設けられた、基板101を介して信号ケーブル102に電気的に接続された第2のコイル104と、を具備する。【選択図】図6