Endoscope 1 e is connected to the distal end portion 11 of the insertion portion 2 of the electronic parts 54,42,43,45,46 are built, a metal frame 20 which holds the observation window 22, the patient side ground of the external device a grounding member 58, which is, being disposed to be insulated from the metal frame 20 in the tip 11, the grounding member 58 and are electrically connected, so that the static electricity E applied to the distal end portion 11 flows to the ground member 58 and electric member 60 to the, by comprising a, defective electronic component to be incorporated in the distal end portion I by static electricity applied, to prevent the occurrence of malfunction.電子内視鏡1は、電子部品54,42,43,45,46が内蔵された挿入部2の先端部11と、観察窓22を保持する金属枠20と、外部機器の患者側グランドに接続されるアース部材58と、先端部11内に金属枠20と絶縁されて配設され、アース部材58と電気的に接続されて、先端部11に印加された静電気Eがアース部材58に流れるようにするための避静電気部材60と、を具備することで、印加された静電気よって先端部に内蔵される電子部品に不具合、故障などの発生を防止する。