ObjectiveTo explore the effect of targeted nursing intervention on postoperative medication adherence, quality of life, and psychological flexibility of patients with thyroid cancer (TC).MethodsA total of 330 patients were randomly divided into a Control group and an Intervention group (cases in the Intervention group were given targeted nursing interventions and cases in the Control group were given routine health education), with 165 cases in each group. In the Intervention group, targeted dietary and psychological nursing interventions were conducted on TC patients, and the effects of targeted nursing interventions on the quality of life, medication adherence, and psychological flexibility were compared through the SF‐36 Short Form Health Survey, Morisky Medication Adherence Scale and Psychological Resilience Scale with the Control group. Univariate analysis and multiple stepwise regression analysis were performed to analyze the influencing factors of psychological flexibility in patients after nursing intervention.ResultsThe Intervention group patients, after nursing intervention, in terms of life quality, scores of social function, physical function, and mental function were all higher than those of the Control group. Note that, 160 patients in the Intervention group (96.97%) had better treatment scores, which was significantly higher than that in the Control group (84.24%). The scores of mental resilience in the Intervention group reached 67.82 ± 13.85, and the two items of resilience, control, and optimism were significantly improved compared with the Control group (p < 0.05). Factors that had greater impacts on the psychological flexibility of TC patients were: age, education, per capita monthly income, and family residence.ConclusionTargeted nursing intervention had positive promoting effects on postoperative medication adherence, quality of life, and psychological flexibility of TC patients.