Antimicrobial resistance has become a significant health issue because of the misuse of antibiotics in our daily lives, resulting in high rates of morbidity and mortality. Hafnia alvei is a rod-shaped, Gram-negative and facultative anaerobic bacteria. The medical community has emphasized H. alvei’s possible association with gastroenteritis. As of now, there is no licensed vaccine for H. alvei, and as such, computer aided vaccine design approaches could be an ideal approach to highlight the potential vaccine epitopes against this bacteria. By using bacterial pan-genome analysis (BPGA), we were able to study the entire proteomes of H. alvei with the aim of developing a vaccine. Based on the analysis, 20,370 proteins were identified as core proteins, which were further used in identifying potential vaccine targets based on several vaccine candidacy parameters. The prioritized vaccine targets against the bacteria are; type 1 fimbrial protein, flagellar hook length control protein (FliK), flagellar hook associated protein (FlgK), curli production assembly/transport protein (CsgF), fimbria/pilus outer membrane usher protein, fimbria/pilus outer membrane usher protein, molecular chaperone, flagellar filament capping protein (FliD), TonB-dependent hemoglobin /transferrin/lactoferrin family receptor, Porin (OmpA), flagellar basal body rod protein (FlgF) and flagellar hook-basal body complex protein (FliE). During the epitope prediction phase, different antigenic, immunogenic, non-Allergenic, and non-Toxic epitopes were predicted for the above-mentioned proteins. The selected epitopes were combined to generate a multi-epitope vaccine construct and a cholera toxin B subunit (adjuvant) was added to enhance the vaccine’s antigenicity. Downward analyses of vaccines were performed using a vaccine three-dimensional model. Docking studies have confirmed that the vaccine strongly binds with MHC-I, MHC-II, and TLR-4 immune cell receptors. Additionally, molecular dynamics simulations confirmed that the vaccine epitopes were exposed to nature and to the host immune system and interpreted strong intermolecular binding between the vaccine and receptors. Based on the results of the study, the model vaccine construct seems to have the capacity to produce protective immune responses in the host, making it an attractive candidate for further in vitro and in vivo studies.