In seasonal wet Neotropical forests, many studies have suggested that species-rich terrestrial frog assemblages are regulated bottom-up by the abundance of leaf litter. However, terrestrial frogs are prey to a diverse community of predators, and no studies have tested for top-down effects of predators on this or other anuran assemblages. Here, we used an extensive field dataset to model the relative contribution of food resources, microhabitat resources and predators towards the occupancy and detection of two frog species (Craugastor bransfordii and Oophaga pumilio) at La Selva, Costa Rica. Frog occupancy was most strongly influenced by predatory spiders and secondarily influenced by the abundance of leaf litter. Predators exerted stronger effects on frogs than food resources, and frogs avoided predators more as leaf litter decreased. Detection probability was elevated when predators were present. We found support for bottom-up effects of leaf litter on the terrestrial frog assemblage, but top-down effects by predators exerted stronger effects on frog occupancy and detection. Because predator avoidance varied along a resource gradient, predator and resource effects appear to be dependent, supporting interactions between top-down and bottom-up mechanisms. Climate-driven decreases in leaf litter may drive decreased availability of frog refugia and increased interactions between frogs and predators.