Nowadays, the use of qPCR for the diagnosis of intestinal microsporidiosis is increasing. There are several studies on the evaluation of qPCR performance but very few focus on the stool pretreatment step before DNA extraction, which is nevertheless a crucial step. This study focuses on the mechanical pretreatment of stools for Enterocytozoon bieneusi spores DNA extraction. Firstly, a multicenter comparative study was conducted evaluating seven extraction methods (manual or automated) including various mechanical pretreatment. Secondly, several durations and grinding speeds and types of beads were tested in order to optimize mechanical pretreatment. Extraction methods of the various centers had widely-varying performances especially for samples with low microsporidia loads. Nuclisens® easyMAG (BioMérieux) and Quick DNA Fecal/Soil Microbe Microprep kit (ZymoResearch) presented the best performances (highest frequencies of detection of low spore concentrations and lowest Ct values). Optimal performances of mechanical pretreatment were obtained by applying a speed of 30 Hz during 60 s with the TissueLyser II (Qiagen) using commercial beads of various materials and sizes (from ZymoResearch or MP Biomedicals). Overall, the optimal DNA extraction method for E. bieneusi spores contained in stool samples was obtained with a strong but short bead beating using small-sized beads from various materials.