The invention relates to a method for measuring longitudinal distances of sight of human eyes. The method includes particular steps of 1, creating an eccentric photographic measuring device comprising a camera, an infrared light source, an infrared filter lens, a telescope, a human face support, an infrared cut-off filter and the like; 2, detecting pupil boundaries, acquiring pupil regions by means of processing by the aid of run algorithms and acquiring boundaries by means of equation fitting; 3, computing the internal brightness distribution of pupils, and computing ratios of certain longitudinal lengths of the pupil regions to the lengths of integral longitudinal axes; 4, measuring longitudinal distances, acquiring the longitudinal distances of the sight by the aid of pre-measurement calibration parameters and current brightness distribution conditions of the pupils by means of computing. Average values of gray values of the integral pupil regions are used as threshold values, and the certain longitudinal lengths of the pupil regions are larger than the threshold values. The method has the advantages that information of the longitudinal distances can be obtained during sight tracking, accordingly, the sight can be truly three-dimensionally tracked, and the method further can be used for improving the precision of the traditional two-dimensional sight tracking systems; the method is low in computational complexity, and quick measuring and real-time tracking effects can be realized.