The quartz crystal microbalance (QCM) is an important tool that can sense nanogram changes in mass. The hybrid temperature effect on a QCM resonator in aqueous solutions leads to unconvincing detection results. Control of the temperature effect is one of the keys when using the QCM for high precision measurements. Based on the Sauerbrey's and Kanazawa's theories, we proposed a method for enhancing the accuracy of the QCM measurement, which takes into account not only the thermal variations of viscosity and density but also the thermal behavior of the QCM resonator. We presented an improved Sauerbrey equation that can be used to effectively compensate the drift of the QCM resonator. These results will play a significant role when applying the QCM at the room temperature.