Due to the health-promoting properties of elderberry fruits, which result from their rich chemical composition, this raw material is widely used in herbal medicine and the food industry. The aim of the study was to demonstrate the antibacterial activity of the elderberry fruit extracts. The research showed that the content of phenolic acids and flavonoids in the extracts determined their antibacterial activity. The research showed that the content of phenolic acids and flavonoids in the extracts determined their antibacterial activity. The following phenolic acids were predominant: chlorogenic acid, sinapic acid, and t-cinnamic acid. Their average content was, respectively, 139.09, 72.84, 51.29 mg/g extract. Rutin and quercetin (their average content was 1105.39 and 306.6 mg/g extract, respectively) were the dominant flavonoids. The research showed that the elderberry polyphenol extracts exhibited activity against selected strains of bacteria within the concentration range of 0.5–0.05%. The following bacteria were the most sensitive to the extracts: Micrococcus luteus, Proteus mirabilis, Pseudomonas fragii, and Escherichia coli. Of the compounds under analysis, apigenin, kaempferol and ferulic, protocatechuic, and p-coumarin acids had the greatest influence on the high antibacterial activity of elderberry extracts. The results of the microbiological and chemical analyses of the composition of the extracts were analyzed statistically to indicate the bioactive compounds of the greatest antimicrobial significance.