A medical device includes: a body electrode disposed in contact with a human body a tubular instrument having a distal electrode at a distal end portion of an insertion portion inserted into the body and a plurality of active joints for changing an orientation and a position of the distal end portion at the insertion portion a plurality of joint position information detecting sections for respectively acquiring joint position information of the plurality of active joints and a storage section for storing the joint position information respectively acquired by the plurality of joint position information detecting sections based on conduction between the body electrode and the distal electrode.