Ulcerative colitis (UC) is characterized by chronic inflammation in the colonic epithelium and has a blurred etiology. A western diet and microbial dysbiosis in the colon were reported to play a role in UC development. In this study, we investigated the effect of a westernized diet, i.e., increasing fat and protein content by including ground beef, on the colonic bacterial composition in a dextran sulfate sodium (DexSS) challenged pig study. The experiment was carried out in three complete blocks following a 2×2 factorial design including 24 six-week old pigs, fed either a standard diet (CT) or the standard diet substituted with 15% ground beef to simulate a typical westernized diet (WD). Colitis was induced in half of the pigs on each dietary treatment by oral administration of DexSS (DSS and WD+DSS, respectively). Samples from proximal and distal colon and feces were collected. Bacterial alpha diversity was unaffected by experimental block, and sample type. In proximal colon, WD group had similar alpha diversity to CT group and the WD+DSS group showed the lowest alpha diversity compared to the other treatment groups. There was a significant interaction between western diet and DexSS for beta diversity, based on Bray-Curtis dissimilarly. The westernized diet and DexSS resulted in three and seven differentially abundant phyla, 21 and 65 species, respectively, mainly associated with the Firmicutes and Bacteroidota phyla followed by Spirochaetota, Desulfobacterota, and Proteobacteria. The concentration of short-chain fatty acids (SCFA) was lowest in the distal colon. Treatment had a slight effect on the estimates for microbial metabolites that might have valuable biological relevance for future studies. The concentration of putrescine in the colon and feces and that of total biogenic amines was highest in the WD+DSS group. We conclude that a westernized diet could be a potential risk factor and an exacerbating agent for UC by reducing the abundance of SCFA-producing bacteria, increasing the abundance of pathogens such as Helicobacter trogontum, and by increasing the concentration of microbial proteolytic-derived metabolites in the colon.