A decrease in the abundance and biodiversity of intestinal bacteria within the Firmicutes phylum has been associated with inflammatory bowel disease (IBD). In particular, the anti-inflammatory bacterium Faecalibacterium prausnitzii, member of the Firmicutes phylum and one of the most abundant species in healthy human colon, is underrepresented in the microbiota of IBD patients. The aim of this study was to investigate the immunomodulatory properties of F. prausnitzii strain A2-165, the biofilm forming strain HTF-F and the extracellular polymeric matrix (EPM) isolated from strain HTF-F. For this purpose, the immunomodulatory properties of the F. prausnitzii strains and the EPM were studied in vitro using human monocyte-derived dendritic cells. Then, the capacity of the F. prausnitzii strains and the EPM of HTF-F to suppress inflammation was assessed in vivo in the mouse dextran sodium sulphate (DSS) colitis model. The F. prausnitzii strains and the EPM had anti-inflammatory effects on the clinical parameters measured in the DSS model but with different efficacy. The immunomodulatory effects of the EPM were mediated through the TLR2-dependent modulation of IL-12 and IL-10 cytokine production in antigen presenting cells, suggesting that it contributes to the anti-inflammatory potency of F. prausnitzii HTF-F. The results show that F. prausnitzii HTF-F and its EPM may have a therapeutic use in IBD.