We examined the occurrence of carabid beetles (Coleoptera, Carabidae) at the edges of oak (Quercus pyrenaica) and beech (Fagus sylvatica) forests in León, NW Spain. Pitfall traps were used to collect beetles from April to October 2002, and leaf litter cover and depth were measured. Traps were placed at three distances (0, 50 and 100 m) from the edges of eight forest patches. A total of 5436 carabids belonging to 43 species were collected. We found no statistically significant edge effect at the carabid assemblage level, i.e. the number of species and individuals was not higher at the edge compared to the forest interior. However, individual species were affected by distance from the edge. Five of the 14 species analysed responded predictably to the edge, three of them statistically significantly so. Four species did not respond in the predicted direction, two of them statistically significantly so. We found a considerable difference between forest types in terms of carabid assemblage composition and response to the edge. Oak forests were species richer and beech forests had a higher number of individuals. These differences were probably due to small-scale habitat heterogeneity in the oak forest patches, caused by man, and the homogeneous structure of beech forests. Leaf litter appeared to be one possible factor influencing the distribution of some species from the interior to the edge of forests.