This paper presents an analysis of trunk movement in women with postnatal low back pain using machine learning techniques. The study aims to identify the most important features related to low back pain and to develop accurate models for predicting low back pain. Machine learning approaches showed promise for analyzing biomechanical factors related to postnatal low back pain (LBP). This study applied regression and classification algorithms to the trunk movement proposed dataset from 100 postpartum women, 50 with LBP and 50 without. The Optimized optuna Regressor achieved the best regression performance with a mean squared error (MSE) of 0.000273, mean absolute error (MAE) of 0.0039, and R2 score of 0.9968. In classification, the Basic CNN and Random Forest Classifier both attained near-perfect accuracy of 1.0, the area under the receiver operating characteristic curve (AUC) of 1.0, precision of 1.0, recall of 1.0, and F1-score of 1.0, outperforming other models. Key predictive features included pain (correlation of -0.732 with flexion range of motion), range of motion measures (flexion and extension correlation of 0.662), and average movements (correlation of 0.957 with flexion). Feature selection consistently identified pain, flexion, extension, lateral flexion, and average movement as influential across methods. While limited to this initial dataset and constrained by generalizability, machine learning offered quantitative insight. Models accurately regressed (MSE < 0.01, R2 > 0.95) and classified (accuracy > 0.94) trunk biomechanics distinguishing LBP. Incorporating additional demographic, clinical, and patient-reported factors may enhance individualized risk prediction and treatment personalization. This preliminary application of advanced analytics supported machine learning's potential utility for both LBP risk determination and outcome improvement. This study provides valuable insights into the use of machine learning techniques for analyzing trunk movement in women with postnatal low back pain and can potentially inform the development of more effective treatments.Trial registration: The trial was designed as an observational and cross-section study. The study was approved by the Ethical Committee in Deraya University, Faculty of Pharmacy, (No: 10/2023). According to the ethical standards of the Declaration of Helsinki. This study complies with the principles of human research. Each patient signed a written consent form after being given a thorough description of the trial. The study was conducted at the outpatient clinic from February 2023 till June 30, 2023.