Objective To discuss the value of pharmaceutical guidance in patients with diabetes. Methods: 52 patients with type 2 diabetes were selected. Start and end time: 2021.05 and 2022.05. Grouping: odd even grouping. Reference group and test group: 26 cases each. The former: routine diabetes intervention program. The latter is pharmaceutical intervention. Evaluate the medication of each group. Results: Compared with the reference group, the satisfaction, blood glucose level, quality of life, medication compliance of the test group were better than those of the reference group (P<0.05). Conclusion: With the development of pharmaceutical guidance, the drug compliance of diabetes patients has been improved, the blood sugar level has been effectively controlled, and the quality of life has been improved.