Microsporidia of the genus Encephalitozoon are widespread pathogens of animals that harbor the smallest known nuclear genomes. Complete sequences from Encephalitozoon intestinalis (2.3 Mbp) and Encephalitozoon cuniculi (2.9 Mbp) revealed massive gene losses and reduction of intergenic regions as factors leading to their drastically reduced genome size. However, microsporidian genomes also have gained genes through horizontal gene transfers (HGT), a process that could allow the parasites to exploit their hosts more fully. Here, we describe the complete sequences of two intermediate-sized genomes (2.5 Mbp), from Encephalitozoon hellem and Encephalitozoon romaleae. Overall, the E. hellem and E. romaleae genomes are strikingly similar to those of Encephalitozoon cuniculi and Encephalitozoon intestinalis in both form and content. However, in addition to the expected expansions and contractions of known gene families in subtelomeric regions, both species also were found to harbor a number of protein-coding genes that are not found in any other microsporidian. All these genes are functionally related to the metabolism of folate and purines but appear to have originated by several independent HGT events from different eukaryotic and prokaryotic donors. Surprisingly, the genes are all intact in E. hellem, but in E. romaleae those involved in de novo synthesis of folate are all pseudogenes. Overall, these data suggest that a recent common ancestor of E. hellem and E. romaleae assembled a complete metabolic pathway from multiple independent HGT events and that one descendent already is dispensing with much of this new functionality, highlighting the transient nature of transferred genes.evolution | genomics | parasitology