Trefoil factor 3 (TFF3) plays a key role in the maintenance and repair of intestinal mucosa. TFF3 expression is upregulated by the microbiota through TLR2. At the posttranscriptional level, TFF3 is downregulated by miR-7-5p. Reduced TFF3 levels have been detected in the damaged tissue of IBD patients. Here, we investigate the regulation of TFF3 expression by microbiota extracellular vesicles (EVs) in LS174T goblet cells using RT-qPCR and inhibitors of the TLR2 or PI3K pathways. To evaluate the subsequent impact on epithelial barrier function, conditioned media from control and vesicle-stimulated LS174T cells were used to treat Caco-2 monolayers. The barrier-strengthening effects were evaluated by analysing the expression and subcellular distribution of tight junction proteins, and the repairing effects were assessed using wound-healing assays. The results showed a differential regulation of TFF3 in LS174T via EVs from the probiotic EcN and the commensal ECOR12. EcN EVs activated the TFF3 production through TLR2 and downregulated miR7-5-p through PI3K. Consistently, high levels of secreted TFF3 reinforced the tight junctions and stimulated wound healing in the Caco-2 cells. ECOR12 EVs did not cause these effects. TFF3 is a potential therapeutic target in IBD. This study contributes to understanding the molecular players (microbiota EVs) connecting gut microbes to health and may help in designing better nutritional interventions based on microbiota bioactive compounds.