An endoscope shape analysis apparatus with high endoscope shape discrimination is provided. The endoscope shape analysis apparatus includes a coordinates obtaining portion 41 for obtaining coordinate values of an insertion portion 20 a storage portion 42 for storing the coordinate values a straight line setting portion 43 for setting a first straight line A and a second straight line B, based on the coordinate values a coordinate transformation portion 44 for transforming coordinates of a previous second straight line B1, based on a positional relationship between a previous first straight line A1 and the first straight line A, to calculate a third straight line B2 a determination portion 45 for determining whether there is an error in a position display from a positional relationship between the first straight line A, the second straight line B, and the third straight line B2 and a correction portion 50 for correcting the second straight line B.