In the context of the RABOLA project, which aimed to identify operational practices that lead to the reduction of antibiotic use in dairy cattle farming, lyophilised Aloe arborescens was administered orally to cows during the dry-off and peripartum periods. In this specific paper we wanted to examine whether oral administration of Aloe arborescens, in combination with the topical application of a teat sealant could exert an effect on the microbial populations of three cow microbiomes (rumen, milk, rectum), between dry-off and peripartum. Dry-off and peripartum are critical physiological phases of the cow's life, where both the mammary gland and the gastrointestinal tract undergo dramatic modifications, hence the relevance of evaluating the effects of dietary treatments. Thirty multiparous dairy cows were randomly allocated to three groups: Control (antibiotic treatment and internal teat sealant), Sealant (only internal teat sealant) and Aloe (internal teat sealant and Aloe arborescens homogenate administered orally). For 16S rRNA gene sequencing, rumen, rectum and milk samples were collected, not synchronously, at the most critical timepoints around dry-off and calving, considering the physiological activity of each biological site. The rumen microbiome was predominantly characterized by Bacteroidetes and Firmicutes followed by Proteobacteria, while the rectum exhibited a prevalence of Firmicutes and Bacteroidetes. The milk microbiome mainly comprised Firmicutes, Proteobacteria, Actinobacteria and Bacteroidetes. Alistipes spp., Ruminococcaceae UCG-10 group, Prevotellaceae UCG-001 group, and Bacteroides spp., involved in cellulose and hemicellulose degradation, enhancement of energy metabolism, and peptide breakdown, showed increment in the rectum microbiome with Aloe supplementation. The rectum microbiome in the Aloe group exhibited a significant increase in the Firmicutes to Bacteroidetes ratio and alpha-diversity at seven days after dry-off period. Beta-diversity showed a significant separation between treatments for the rectum and milk microbiomes. Aloe supplementation seemed to enrich milk microbial composition, whereas the Sealant group showed greater diversity compared to the Control group, albeit this included an increase in microorganisms frequently associated with mastitis. Aloe arborescens administration during the dry-off period did not demonstrate any observable impact on the microbial composition of the rumen, a finding further supported by volatilome analysis. Instead, the oral Aloe supplementation at dry-off appears to significantly influence the composition of the dairy cow rectum and milk microbiomes in the following lactation.