The invention relates to a method for head attitude compensation. The method comprises: according to display time of at least two rendered image frames, predicting rendering completion time t1 of a to-be-displayed image frame; according to the t1, calculating display start time t2 of the to-be-displayed image frame; according to the t2, calculating first time, predicting a first time head attitude Q, according to the head attitude Q, rendering the to-be-displayed image frame; according to start time a of any completed display cycle, calculating start time t of a to-be-displayed cycle; according to the t and the display cycle T, calculating second time, to obtain a second time head attitude Q', and according to the Q and the Q', calculating a head attitude compensation matrix; according to the attitude compensation matrix, performing attitude compensation calculation on the to-be-displayed image frame; according to vertex coordinates after attitude compensation and vertex coordinates of the to-be-displayed image frame, calculating a correction coefficient; and according to the correction coefficient, calculating a display image frame after the head attitude compensation. The method and the device accurately compensate head attitude of the to-be-displayed image frame, so that smear phenomenon and dizzy feeling in VR system use are reduced.