In high-temperature wells, annular pressure buildup (APB) caused by temperature increase is a widespread phenomenon in production, especially in offshore thermal recovery wells. It increases the load on the tubing and casing and consequently threatens the wellbore integrity. Hence, research on casing safety evaluation and APB management has great significance for field production. In this paper, the tubing and casing safety evaluation and APB limit determination methods are presented considering the effect of thermal stress and APB. Based on the case study of an offshore thermal recovery well, an APB-management chart and the recommended optimal range of APB are provided. Finally, an analysis of three commonly used mitigation methods is presented. The effect and the recommended parameters of these mitigation methods are further discussed. The research results show that the thermal stress and APB phenomena affect the stress distribution of the casing and may bring great danger to the wellbore integrity. Maintaining the APB in the safety range is necessary for field production. It is recommended that the annular pressure be kept below the critical value given in this paper. Injecting nitrogen in annulus A and installing rupture disks are both effective methods to improve casing safety. In the case study, the APB decrease percentage is more than 75% when nitrogen is injected in annulus A. However, the nitrogen pressure, the rupture pressure and the installation depth of the rupture disk need to be determined via casing safety evaluation. The effect of optimizing the steel grade and thickness of the tubing and casing is not significant. They can be used as assistance methods when other mitigation methods are adopted.