Background Although significant progress has been made in the treatment of acute ST-segment elevation myocardial infarction, acute myocardial infarction remains a common cause of heart failure, and the correlation between body mass index and serum uric acid levels in patients with acute ST-segment elevation myocardial infarction is unclear. Objective To analyze the relationship between body mass index and serum uric acid levels in hospitalized patients with acute ST-segment elevation myocardial infarction and to preliminarily investigate whether body mass index is independently associated with serum uric acid levels in patients with myocardial infarction. Methods This was a retrospective study. Patients with acute ST-segment elevation myocardial infarction hospitalized in the Department of Cardiology from January 2022 to December 2022 were selected. General information gender, age, height, weight, blood pressure, body mass index, history and related metabolic indexes were collected and recorded, and Spearman correlation analysis was used to analyze the correlation between body mass index and serum uric acid, and to analyze the independent risk factors of patients with acute ST-segment elevation myocardial infarction according to linear regression. Results A total of 875 patients with acute ST-segment elevation myocardial infarction were collected in this study, with a mean age of (62.22±12.06) years, of which 73.6% were men and 26.4% were women. The mean body mass index was (25.00±3.93) kg/m2 and the mean serum uric acid was (297.72±95.37) μmol/l. Spearman's correlation analysis showed a negative correlation between age, left ventricular ejection fraction, and serum uric acid, and a significant positive correlation between cardiac function, triglycerides, body mass index, and serum uric acid in patients with acute ST-segment elevation myocardial infarction. significant positive correlation. Linear regression models showed that gender, hypertension, cardiac function, triglycerides, left ventricular ejection fraction and body mass index were independent risk factors for serum uric acid in patients with acute ST-segment elevation myocardial infarction. Conclusion Body mass index is associated with the development and progression of hyperuricemia in patients with acute ST-segment elevation myocardial infarction, and the higher the body mass index, the higher the serum uric acid level in patients with acute ST-segment elevation myocardial infarction. Clinical weight management is needed for patients with acute ST-segment elevation myocardial infarction, and patients with acute ST-segment elevation myocardial infarction who have a normal body mass index are encouraged to maintain their current weight.