Secondary forests constitute a growing portion of forested areas worldwide. They might have a substantial role for the conservation of biodiversity in tropical areas, but there is little information on their potential to support forest species and the recovery of faunal communities. We studied two forest frogs (Eleutherodactylus diastema and E. Wtzingeri) in an area of Costa Rica composed of a mosaic of primary forest, young secondary forest and pasture, and we compared the density of calling males in areas with diVerent forest alteration. Autoregressive models were used to compensate for potentially undesired eVects of spatial autocorrelation and pseudoreplication. Both species were most abundant in riparian, primary forest. However, E. Wtzingeri was also abundant in riparian secondary forests, and its density far from the river was similar in primary and secondary forest, suggesting that river proximity can inXuence the recovery of secondary forest for amphibians. Conversely, the density of E. diastema was similar in secondary forest and pasture, stressing interspeciWc diVerences for recovery rate. These frogs have a keystone role in nutrient cycling and food webs, and their prompt recovery might represent an important step for the functional recovery of forests. Nevertheless, the strong interspeciWc diVerences stress the complexity of these processes.