Aim: Deep learning models, such as deep convolutional neural networks (CNNs), have undergone extensive scrutiny in the context of food classification because of their exceptional feature extraction capabilities. Background: Similarly, ensemble-based learning approaches have exhibited great potential for achieving effective supervised classification. Objective: We suggest an innovative approach to improve the effectiveness of deep learningbased food classification. Method: Our proposal involves a novel deep learning ensemble framework that draws inspiration from the fusion of deep learning models with ensemble learning based on random subspaces. The random subspaces play a role in diversifying the ensemble system in a straightforward but impactful way. Moreover, to enhance the classification accuracy even more, we explore transfer learning, employing the migration of acquired weights from a single classifier to another (namely, CNNs). This approach expedites the process of learning. Result: Results from experiments conducted using well-established food datasets illustrate that the suggested deep learning ensemble system delivers competitive performance compared to state-of-the-art techniques, as evidenced by its classification accuracy. Conclusion: The amalgamation of deep learning and ensemble learning holds substantial promise for dependable food categorization.