An endoscope system includes an endoscope provided with an image pickup section that picks up an image of an object in a body cavity, a position setting section that sets information on a predetermined position in the object based on information obtained from the image of the object picked up by the image pickup section and a position correction section that corrects the information on the predetermined position set by the position setting section based on information on a boundary line extracted in the image of the object picked up by the image pickup section and outputs information on the corrected position.