The invention relates to an apparatus for measuring the human body temperature. It comprises of an infrared temperature sensor for performing temperature sampling on a plurality M×N of sampling points, M≥;3, N≥;3. The temperatures of the sampling points with temperatures within the effective temperature range of the human body are averaged to obtain the body temperature of the human body. By collecting the temperatures of a plurality of sampling points of the measured object, the invention effectively avoids the errors that measurement of single point may produce (as may be caused by factors such as the environment); by screening for temperatures within the effective temperature range of the human body, the invention effectively avoids errors or interference produced by factors such as clothing or the environment. The improved accuracy and real-time measurement of body temperature bring convenience to people's lives.