Pacific martens (Martes caurina) are often associated with mature forests with complex structure for denning, resting, and efficient hunting. Nonetheless, a small isolated population of the Humboldt subspecies of Pacific martens (Martes caurina humboldtensis) occupies a narrow strip of young, coastal forest (< 70 years old) but not inland mature forest in the central Oregon Coast Range. We examined factors contributing to this unexpected distribution of martens by 1) analyzing marten diets using DNA metabarcoding to assess 90 scats, 2) using camera traps to assess differences in the relative abundances of prey, competitors, and predators across a coastal to inland gradient of vegetation types, and 3) quantifying differences in extent of fruit-producing shrubs and vegetation structure within vegetation types. Diets of martens were diverse (12, 10, and 3 species of birds, mammals, and amphibians respectively), and most fall and winter scats contained fruit. Voles, mice, and varied thrushes (Ixoreus naevius) were dominant prey items. Voles, mice, and most birds, but not varied thrushes, were more commonly observed in the coastal shrub-dominated forest than in inland forest. The coastal shrub-dominated forest had the highest diversity of vertebrates and potential prey overall. Bobcats (Lynx rufus), a key potential predator, were more commonly detected in inland forest. Of potential competitors, western spotted skunks (Spilogale gracilis) were more commonly detected in inland forest, with gray foxes (Urocyon cinereoargenteus) and raccoons (Procyon lotor) detected almost exclusively in coastal forests. Vegetation in coastal forests appears to provide, at least seasonally, more prey and fruit, and more overhead shrub cover compared with inland forest. Remaining plausible hypotheses for the restricted distribution of marten to coastal forests include increased prey, fruit, and overhead cover, and reduced predation risk from bobcats.