The current study aimed to identify the primary cause of mortality in a commercial Oreochromis niloticus (O. niloticus) farm. Furthermore, the efficacy of poly-β-hydroxybutyrate (PHB) as a feed additive to prevent mortality was investigated after in-vitro testing. Also, a histopathological examination was carried out. The samples of naturally diseased O. niloticus showed swellings and hemorrhages on the body surface. Moreover, the post-mortem examination revealed black fluids with an awful odor, a congested liver, and intestinal gasses. Concerning diagnosis of the main cause of mortality in diseased O. niloticus, , there were eight isolates might be Edwardsiella tarda based on the biochemical identification results. Also, the identification was confirmed by using matrix-assisted laser desorption ionization-time of flight mass spectrometry (MALDI-TOF MS). The resulting spectra of two previously identified E. tarda strains were then compared to those found in the Bruker database and the two strains were identified as E. tarda at the species level. For detection of pathogenicity of identified strains, the virulence E. tarda hemolysin (ETHA) gene were detected at band 1078 bp in the eight identified strains. Regarding the in-vitro antimicrobial activity of PHB against E. tarda, the antibacterial activity of blood and tissues had been calculated using the Agar and well diffusion procedures Prior to and after the challenge,. Lower bacterial counts and a larger inhibition zone were signs of the tested materials' concentration-dependent antibacterial activity. For in-vivo evaluation of PHB in dietary-fed O. niloticus, PHB was effective in preventing Edwardsiellosis, with the lowest mortality rates in the group fed 10 g PHB/Kg feed after being injected with E. tarda. In comparison, the group that received a 5 g PHB/Kg feed after receiving an injection of E. tarda saw 16.6% mortalities and a 66.7 percent relative survival rate. The control positive group had 50% mortality. The results of the biochemical testes showed that O. niloticus's kidney and liver functions were unaffected by dietary PHB supplementation. Protein, albumin, globulin, urea, creatinine, aspartate transaminase levels were identical to those of the control negative group. According to the current study, the groups fed high and low PHB concentrations had considerably higher levels of immunoglobulin M, complement 5, and interleukin-1 than the control group. The number of total viable bacteria was lower in the gut of PHB-fed groups than in control. Compared to mild histological alterations in those fed with a lower dosage and severe histopathological abnormalities in the control group, the greater dose of PHB effectively prevented Edwardsiellosis in O. niloticus with decreased mortality and no histopathological changes.