BACKGROUNDBlackberries have garnered attention recently due to their high concentration of bioactive components like anthocyanin and their health advantages. Therefore, this study aims to determine the bioactive profile, antioxidant and antibacterial effects of blackberry extracts (BBEs). Then, evaluate the protective effect of BBEs (20%, 30% and 40%) in a rat model of 2 mL of 4–8 × 106 Escherichia coli ATTC 25922 strain colony‐forming unit mL−1 oral infection on the seventh day of the experiment.RESULTSRats were divided into six groups: G1: control (C−: normal or negative group), G2: (C+: infected or positive group), G3: infected‐treated group by 20% BBE, G4: infected‐treated group by 30% BBE, G5: infected‐treated group by 40% of BBE and G6: infected‐treated group by Gentamicin. The results showed that BBE had a high content of total phenolic compounds, flavonoid, anthocyanin contents, and different vitamins (vitamins A, E and C), reaching 450, 186, 58.83 mg 100 g−1, 2.68, 2.14 and 107.46 mg 100g−1 fresh weight, respectively, which showed great antioxidant and antibacterial effects. Therefore, liver enzymes, kidney function and lipid profiles were significantly higher in the infected group than in the control or infected‐treated groups. Furthermore, BBE ameliorated inflammation of the intestine and hepatocyte damage compared to the infected control group.CONCLUSIONThese results suggest that consistent intake of BBE might alleviate hepatic inflammation and the gut microbiota in ways that could significantly impact human health. © 2024 Society of Chemical Industry.