Mastitis is usually caused by a variety of pathogenic bacteria that include both Gram-positive and Gram-negative bacteria. Lipopolysaccharide (LPS) is the pathogen-associated molecular pattern (PAMP) of Gram-negative bacteria, and peptidoglycan (PGN) and lipoteichoic acid (LTA) are those of Gram-positive bacteria. The effects of LPS, PGN and/or LTA on inflammatory response and lactation in bovine mammary epithelial cells (BMECs) are well studied, but the epigenetic mechanisms of their effects received less attention. Furthermore, since the three PAMPs are often simultaneously present in the udder of cows with mastitis, it has implications in practice to study their additive effects. The results show that co-stimulation of bovine mammary epithelial cells with PGN, LTA, and LPS induced a higher number of differentially expressed genes (DEGs) and greater expressions of inflammatory factors including interleukin (IL)-1β, IL-6, IL-8, tumor necrosis factor-α (TNF-α), chemokine (C-X-C motif) ligand (CXCL)1, and CXCL6. In addition, co-stimulation further increased DNA hypomethylation compared with sole LPS stimulation. Co-stimulation greatly decreased casein expression but did not further decrease histone acetylation levels and affect the activity of histone acetyltransferase (HAT) and histone deacetylase (HDAC), compared with sole LPS stimulation. Collectively, this study demonstrated that PGN, LTA, and LPS had an additive effect on inducing transcriptome changes and inflammatory responses in BMECs, probably through inducing a greater decrease in DNA methylation. Co-stimulation with PGN, LTA, and LPS decreased casein expression to a greater degree, but it might not be linked to histone acetylation and HAT and HDAC activity.