The drug formulation design of self-emulsifying drug delivery systems (SEDDS) often requires numerous experiments, which are time- and money-consuming. This research aimed to rationally design the SEDDS formulation by the integrated computational and experimental approaches. 4495 SEDDS formulation datasets were collected to predict the pseudo-ternary phase diagram by the machine learning methods. Random forest (RF) showed the best prediction performance with 91.3% for accuracy, 92.0% for sensitivity and 90.7% for specificity in 5-fold cross-validation. The pseudo-ternary phase diagrams of meloxicam SEDDS were experimentally developed to validate the RF prediction model and achieved an excellent prediction accuracy (89.51%). The central composite design (CCD) was used to screen the best ratio of oil-surfactant-cosurfactant. Finally, molecular dynamic (MD) simulation was used to investigate the molecular interaction between excipients and drugs, which revealed the diffusion behavior in water and the role of cosurfactants. In conclusion, this research combined machine learning, central composite design, molecular modeling and experimental approaches for rational SEDDS formulation design. The integrated computer methodology can decrease traditional drug formulation design works and bring new ideas for future drug formulation design.