Hospitalized hypertensive patients rely on blood pressure medication, yet there is limited research on the sole use of amlodipine, despite its proven efficacy in protecting target organs and reducing mortality. This study aims to identify key indicators influencing the efficacy of amlodipine, thereby enhancing treatment outcomes. In this multicenter retrospective study, 870 hospitalized patients with primary hypertension exclusively received amlodipine for the first 5 days after admission, and their medical records contained comprehensive blood pressure records. They were categorized into success (n=479) and failure (n=391) groups based on average blood pressure control efficacy. Predictive models were constructed using six machine learning algorithms. Evaluation metrics encompassed the area under the curve (AUC), accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV). SHapley Additive exPlanations (SHAP) analysis assessed feature contributions to efficacy. All six machine learning models demonstrated superior predictive performance. Following variable reduction, the model predicting amlodipine efficacy was reconstructed using these algorithms, with the light gradient boosting machine (LightGBM) model achieving the highest overall performance (AUC = 0.803). Notably, amlodipine showed enhanced efficacy in patients with low platelet distribution width (PDW) values, as well as high hematocrit (HCT) and thrombin time (TT) values. This study utilized machine learning to predict amlodipine's effectiveness in hypertension treatment, pinpointing key factors: HCT, PDW, and TT levels. Lower PDW, along with higher HCT and TT, correlated with enhanced treatment outcomes. This facilitates personalized treatment, particularly for hospitalized hypertensive patients undergoing amlodipine monotherapy.