To enhance the quality stability of 3D printing concrete, this study introduces a novel machine learning (ML) model based on a stacking strategy for the first time. The model aims to predict the interlayer bonding strength (IBS) of 3D printing concrete. The base models incorporate SVR, KNN, and GPR, and subsequently, these models are stacked to create a robust stacking model. Results from 10-fold cross-validation and statistical performance evaluations reveal that, compared to the base models, the stacking model exhibits superior performance in predicting the IBS of 3D printing concrete, with the R2 value increasing from 0.91 to 0.96. This underscores the efficacy of the developed stacking model in significantly improving prediction accuracy, thereby facilitating the advancement of scaled-up production in 3D printing concrete.