BackgroundThe most prevalent probiotic bacterium employed in the food industry is Lactobacillus because it can produce metabolites with antibacterial capabilities and exhibits hostility towards infections and microorganisms that cause spoilage.AimThis study set out to identify naturally occurring Lactobacillus and plantaricin (pln EF) coding genes in raw cow milk and to assess the antibacterial potency of isolated Lactobacillus isolates.MethodsFollowing enrichment in De Man, Rogosa and Sharpe (MRS) broth, single colonies were isolated, and pure colonies were obtained by streaking on MRS agar. The 16S rRNA gene was amplified using polymerase chain reaction (PCR) to confirm the cultural positivity of all isolates. Additionally, the presence of plantaricin was verified by targeting the pln EF gene through PCR.OutcomeOut of the 166 raw milk specimens acquired from cows, 153 (91.17%; CI: 86.98–95.76) were identified as positive for Lactobacillus through both culture and biochemical screening. Subsequently, 121 (72.89%; CI: 65.46–79.49) of the isolates were affirmed to harbour Lactobacillus through PCR analysis. Within this subset, 6 isolates (4.96%; CI: 1.84–10.48) were found to possess the plnEF gene. When exposed to Lactobacillus isolates, Salmonella Typhimurium and Salmonella enterica displayed an average maximum zone of inhibition with a diameter measuring 24 mm. In contrast, Escherichia coli exhibited an average minimum zone of inhibition, featuring a diameter of 11 mm. Additionally, the Lactobacillus isolates demonstrated inhibitory zones against Staphylococcus aureus, Klebsiella pneumoniae and Klebsiella oxytoca, measuring 14, 22 and 19 mm, respectively.Clinical significanceLactic acid bacteria, particularly Lactobacilli, are plentiful in cow milk and possess broad‐spectrum antibacterial properties.