Phoridae (scuttle flies) are widely distributed, occur in many types of habitats and are ecologically versatile, which makes them an excellent bioindicator group for evaluating faunal diversity. The structure of scuttle fly communities was compared in two Mediterranean habitats in the Montseny Natural Park (Catalonia, Spain) that differ in vegetation and microclimate: beech forest and highland scrubland. 3684 male individuals belonging to 135 species of scuttle flies were identified. Scuttle flies were more abundant in beech forest than scrubland. Observed and estimated species richness were lower in scrubland than in beech forest, while diversity was similar in both habitats. Community evenness was greater in scrubland than beech forest. Therefore, the percentage of dominant and subdominant species was higher in scrubland than beech forest, while the percentage of rare species was higher in beech forest than scrubland. Scuttle fly species composition was significantly different in the two habitats, but it was similar among plots within the same habitat. Megaselia pectoralis (Wood, 1910) and Megaselia subpleuralis (Wood, 1909) were the dominant species in beech forest, while Megaselia pusilla (Meigen, 1830), Megaselia pumila (Meigen, 1830), Megaselia superciliata (Wood, 1910) and Megaselia diversa (Wood, 1909) were the dominant species in scrubland. Trophic specialization was higher in beech forest than scrubland. Saprophages were the dominant trophic group in beech forest, while fungivores and polyphages were dominant in scrubland. The high biodiversity of scuttle flies recorded in the Montseny Natural Park indicates that there is also a high diversity of other taxa there and that these Mediterranean mountains are of high conservation status., Carlos García-Romera, José A. Barrientos., and Obsahuje bibliografii