Habitat fragmentation and invasive species are two of the greatest threats to species diversity worldwide. This is particularly relevant for oceanic islands with vulnerable endemics. Here, we examine how habitat fragmentation influences nest predation by Rattus spp. on cup-nesting birds in Samoan forests. We determined models for predicting predation rates by Rattus on artificial nests at two scales: (i) the position of the bird's nest within the landscape (e.g. proximity to mixed crop plantations, distance to forest edge); and (ii) the microhabitat in the immediate vicinity of the nest (e.g. nest height, ground cover, slope). Nest cameras showed only one mammal predator, the black rat (Rattus rattus), predating artificial nests. The optimal model predicting nest predation rates by black rats included a landscape variable, proximity to plantations and a local nest site variable, the percentage of low (<15 cm) ground cover surrounding the nest tree. Predation rates were 22 ± 13% higher for nests in forest edges near mixed crop plantations than in edges without plantations. In contrast, predation rates did not vary significantly between edge habitat where the matrix did not contain plantations, and interior forest sites (>1 km from the edge). As ground cover reduced, nest predation rates increased. Waxtags containing either coconut or peanut butter were used as a second method for assessing nest predation. The rates at which these were chewed followed patterns similar to the predation of the artificial nests. Rural development in Samoa will increase the proportion of forest edge near plantations. Our results suggest that this will increase the proportion of forest birds that experience nest predation from black rats. Further research is required to determine if rat control is needed to maintain even interior forest sites populations of predator-sensitive bird species on South Pacific islands.