The invention belongs to the technical field of optical imaging and detection and relates to a bilateral fitting confocal measuring method. According to the method, curve equations are respectively fit by respectively utilizing two sections of data at both sides of a confocal system characteristic curve and differential subtraction is carried out to obtain a new curve equation; by solving the new curve equation, the position of an extreme point of the confocal system characteristic curve is obtained. According to the bilateral fitting confocal measuring method, two sections of data, which are close to the half-width position of the confocal system characteristic curve and are very sensitive for the axial displacement, are utilized to carry out fitting, and thus, compared with flexibility obtained by an existing confocal characteristic curve top fitting method, the flexibility of the position, which is calculated by the data sections, of the extreme point of the confocal system characteristic curve is greatly improved and the bilateral fitting confocal measuring method is more suitable for processing the asymmetric confocal characteristic curve in the actual measurement. The invention provides a bran-new measurement processing method for the field of confocal imaging/detection.