PurposeEmpirical examinations of initial public offering (IPO) initial returns often rely heavily on linear regression models. However, these models can prove inefficient owing to their susceptibility to outliers, a common occurrence in IPO data. This study introduces a machine learning method, known as random forest, to address issues that linear regression may struggle to resolve.Design/methodology/approachThe study’s sample comprises 352 fixed-priced IPOs from the year 2004 until 2021. A unique aspect of this research is its application of the random forest method. The accuracy of random forest in comparison to other methods is evaluated. The findings indicate that the random forest model significantly outperforms other methods in all of the evaluated aspects.FindingsThe variable importance measure indicates that investors’ demand, divergence of opinion among investors and offer price are the most crucial predictors of IPO initial returns. These determinants hold particular significance due to the widespread use of the fixed-price method in Malaysia, as this method amplifies the information asymmetry in the IPO market.Originality/valueTo the best of the authors’ knowledge, this study is among the pioneering works in Malaysian literature to apply the random forest method to address the constraints of conventional linear regression models. This is achieved by considering a more extensive array of factors and acknowledging the influence of outliers. Additionally, this study adds value to Malaysian literature by ranking and identifying the ex-ante information that best signals the issuing firm’s quality. This contribution facilitates prospective investors’ decision-making processes and provides issuing firms with effective means to communicate their value and quality to the IPO market.