The aim of this study was to map the microbiota distribution along the gut and establish whether colon/faecal samples from diabetic rats adequately reflect the diabetic alterations in the microbiome. Streptozotocin-treated rats were used to model type 1 diabetes mellitus (T1D). Segments of the duodenum, ileum and colon were dissected, and the microbiome of the lumen material was analysed by using next-generation DNA sequencing, from phylum to genus level. The intestinal luminal contents were compared between diabetic, insulin-treated diabetic and healthy control rats. No significant differences in bacterial composition were found in the luminal contents from the duodenum of the experimental animal groups, whereas distinct patterns were seen in the ileum and colon, depending on the history of the luminal samples. Ileal samples from diabetic rats exhibited particularly striking alterations, while the richness and diversity obscured some of the modifications in the colon. Characteristic rearrangements in microbiome composition and diversity were detected after insulin treatment, though the normal gut flora was not restored. The Proteobacteria displayed more pronounced shifts than those of the predominant phyla (Firmicutes and Bacteroidetes) in the rat model of T1D. Diabetes and insulin replacement affect the composition of the gut microbiota in different, gut region-specific manners. The luminal samples from the ileum appear more suitable for diagnostic purposes than the colon/faeces. The Proteobacteria should be at the focus of diagnosis and potential therapy. Klebsiella are recommended as biomarkers of T1D.