Purpose Posterior circulation ischemic stroke (PCIS) possesses unique features. However, previous studies have primarily or exclusively relied on anterior circulation stroke cases to build machine learning (ML) models for predicting onset time. To date, there is no research reporting the effectiveness and stability of ML in identifying PCIS onset time. We aimed to build diffusion-weighted imaging-based ML models to identify the onset time of PCIS patients. Methods Consecutive PCIS patients within 24 h of definite symptom onset were included (112 in the training set and 49 in the independent test set). Images were processed as follows: volume of interest segmentation, image feature extraction, and feature selection. Five ML models, naive Bayes, logistic regression, tree ensemble, k-nearest neighbor, and random forest, were built based on the training set to estimate the stroke onset time (binary classification: <= 4.5 h or > 4.5 h). Relative standard deviations (RSD), receiver operating characteristic (ROC) curves, and the calibration plot was performed to evaluate the stability and performance of the five models. Results The random forest model had the best performance in the test set, with the highest area under the curve (AUC, 0.840; 95% CI: 0.706, 0.974). This model also achieved the highest accuracy, sensitivity, specificity, positive predictive value, and negative predictive value (83.7%, 64.3%, 91.4%, 75.0%, and 86.5%, respectively). Furthermore, the model had high stability (RSD = 0.0094). Conclusion The PCIS case-based ML model was effective for estimating the symptom onset time and achieved considerably high specificity and stability.