Variation in the ambient temperature deteriorates the accuracy of a resolver. In this paper, a temperature-compensation technique is introduced to improve resolver accuracy. The ambient temperature causes deviations in the resolver signal; therefore, the disturbed signal is investigated through the change in current in the primary winding of the resolver. For the proposed technique, the primary winding of the resolver is driven by a class-AB output stage of an operational amplifier (opamp), where the primary winding current forms part of the supply current of the opamp. The opamp supply-current sensing technique is used to extract the primary winding current. The error of the resolver signal due to temperature variations is directly evaluated from the supply current of the opamp. Therefore, the proposed technique does not require a temperature-sensitive device. Using the proposed technique, the error of the resolver signal when the ambient temperature increases to 70 °C can be minimized from 1.463% without temperature compensation to 0.017% with temperature compensation. The performance of the proposed technique is discussed in detail and is confirmed by experimental implementation using commercial devices. The results show that the proposed circuit can compensate for wide variations in ambient temperature.