The gut microbiota is altered in epilepsy and is emerging as a potential target for new therapies. We studied the effects of rifaximin, a gastrointestinal tract-specific antibiotic, on seizures and neuropathology and on alterations in the gut and its microbiota in a mouse model of temporal lobe epilepsy (TLE).Epilepsy was induced by intra-amygdala kainate injection causing status epilepticus (SE) in C57Bl6 adult male mice. Sham mice were injected with vehicle. Two cohorts of SE mice were fed a rifaximin-supplemented diet for 21 days, starting either at 24 h post-SE (early disease stage) or at day 51 post-SE (chronic disease stage). Corresponding groups of SE mice (one each disease stage) were fed a standard (control) diet. Cortical ECoG recording was done at each disease stage (24/7) for 21 days in all SE mice to measure the number and duration of spontaneous seizures during either rifaximin treatment or control diet. Then, epileptic mice ± rifaximin and respective sham mice were sacrificed and brain, gut and feces collected. Biospecimens were used for: (i) quantitative histological analysis of the gut structural and cellular components; (ii) markers of gut inflammation and intestinal barrier integrity by RTqPCR; (iii) 16S rRNA metagenomics analysis in feces. Hippocampal neuronal cell loss was assessed in epileptic mice killed in the early disease phase.Rifaximin administered for 21 days post-SE (early disease stage) reduced seizure duration (p < 0.01) and prevented hilar mossy cells loss in the hippocampus compared to epileptic mice fed a control diet. Epileptic mice fed a control diet showed a reduction of both villus height and villus height/crypt depth ratio (p < 0.01) and a decreased number of goblet cells (p < 0.01) in the duodenum, as well as increased macrophage (Iba1)-immunostaining in the jejunum (p < 0.05), compared to respective sham mice.Rifaximin’s effect on seizures was associated with a reversal of gut structural and cellular changes, except for goblet cells which remained reduced. Seizure duration in epileptic mice was negatively correlated with the number of mossy cells (p < 0.01) and with villus height/crypt depth ratio (p < 0.05).Rifaximin-treated epileptic mice also showed increased tight junctions (occludin and ZO-1, p < 0.01) and decreased TNF mRNA expression (p < 0.01) in the duodenum compared to epileptic mice fed a control diet.Rifaximin administered for 21 days in chronic epileptic mice (chronic disease stage) did not change the number or duration of seizures compared to epileptic mice fed a control diet. Chronic epileptic mice fed a control diet showed an increased crypt depth (p < 0.05) and reduced villus height/crypt depth ratio (p < 0.01) compared to respective sham mice. Rifaximin treatment did not affect these intestinal changes.At both disease stages, rifaximin modified α- and β-diversity in epileptic and sham mice compared to respective mice fed a control diet. The microbiota composition in epileptic mice, as well as the effects of rifaximin at the phylum, family and genus levels, depended on the stage of the disease. During the early disease phase, the abundance of specific taxa was positively correlated with seizure duration in epileptic mice.In conclusion, gut-related alterations reflecting a dysfunctional state, occur during epilepsy development in a TLE mouse model. A short-term treatment with rifaximin during the early phase of the disease, reduced seizure duration and neuropathology, and reversed some intestinal changes, strengthening the therapeutic effects of gut-based therapies in epilepsy.