The composition and spatial distribution of sarcosaprophagous Diptera assemblages were studied using carrion-baited traps along a bioclimatic gradient of natural habitats in central Spain throughout the different seasons during 1 year. Calliphoridae and Muscidae were the most abundant families, accounting for, respectively, 41.9% and 35.1% of all Diptera specimens collected. Other abundant families were Heleomyzidae (8.4%), Sarcophagidae (6.9%) and Piophilidae (5.1%). Fly assemblage compositions differed among bioclimatic levels, with Chrysomya albiceps (Wiedemann) (Diptera: Calliphoridae) being the dominant species in mesomediterranean habitats, Muscina levida (Harris) (Diptera: Muscidae) the dominant species in supramediterranean habitats, and Prochyliza nigrimana (Meigen) (Diptera: Piophilidae) the dominant species in oromediterranean habitats. Differences in assemblage composition were also found among seasons. Thermophobic species such as Calliphora vicina Robineau-Desvoidy (Diptera: Calliphoridae) and some species of Heleomyzidae were well represented during autumn, winter and spring in the three bioclimatic levels sampled. By contrast, thermophilic species such as Ch. albiceps and Lucilia sericata (Meigen) (Diptera: Calliphoridae) and most Muscidae and Sarcophagidae species were more abundant during summer and in mesomediterranean habitats located at lower elevations. Knowledge of the preferences of some species for certain habitats may be of ecological and forensic value and may establish a starting point for further research.