The present study was to determine the efficacy of dietary supplementation with oleum cinnamomi (OCM) on growth performance and intestinal functions in piglets. Sixteen piglets (24-day-old) were randomly assigned to the control or OCM groups. Piglets in the control group were fed a basal diet, whereas piglets in the OCM group were fed the basal diet supplemented with 50 mg/kg OCM. On day 20 of the trial, blood samples and intestinal tissues were obtained from piglets. Compared with the control group, dietary OCM supplementation increased (p < 0.05) average daily feed intake, plasma insulin levels, villus width and villous surface area in the duodenum and jejunum, DNA levels and RNA/DNA ratios in the ileum, the abundance of Enterococcus genus and Lactobacillus genus in caecum digesta, mRNA levels for epithelial growth factor receptor (EGFR), Ras, extracellular signal-regulated kinase 1/2 (Erk1/2), b-cell lymphoma-extra large (Bcl-xL), villin, junctional adhesion molecule A (JAM-A), myxovirus resistance (MX) 1, MX2 and regenerating islet-derived protein 3 gamma (REG3G), and protein abundances of Ras and claudin-1, but decreased (p < 0.05) diarrhoea incidence; the abundances of Enterobacteriaceae family, Enterococcus genus, Lactobacillus genus, Bifidobacterium genus, and Clostrium coccoides in the colon digesta, and AMP-activated protein kinase (AMPK) mRNA levels and caspase-3 protein abundance in the jejunal mucosa of piglets. Taken together, these data indicate that dietary OCM supplementation modulates intestinal microbiota and improves intestinal function in weanling pigs. OCM is an effective feed additive and alternative to feed antibiotics for improving intestinal health in swine.