Coffee farms are often embedded within a mosaic of agriculture and forest fragments in the world's most biologically diverse tropical regions. Although shade coffee farms can potentially support native pollinator communities, the degree to which these pollinators facilitate gene flow for native trees is unknown. We examined the role of native bees as vectors of gene flow for a reproductively specialized native tree, Miconia affinis, in a shade coffee and remnant forest landscape mosaic. We demonstrate extensive crosshabitat gene flow by native bees, with pollination events spanning more than 1,800 m. Pollen was carried twice as far within shade coffee habitat as in nearby forest, and trees growing within shade coffee farms received pollen from a far greater number of sires than trees within remnant forest. The study shows that shade coffee habitats support specialized native pollinators that enhance the fecundity and genetic diversity of remnant native trees.A n estimated 13 million ha of tropical forest are destroyed every year (1) by the expansion of crops, pasture, and logging (1, 2). In deforested tropical regions, one of the most widely cultivated and economically valuable crops is coffee. Often grown adjacent to remnant forest patches, coffee covers over 11 million ha of land within many of the world's most biodiverse regions (3, 4). Intensively farmed "sun" coffee supports little native vegetation and can create an inhospitable matrix that isolates plant and animal populations living within forest fragments (3, 5). Alternatively, coffee grown under a canopy of overstory trees in the traditional "shade-grown style" can preserve ecological processes and provide farmers with ecosystem services (4, 5). For example, shade coffee farms serve as a habitat for migratory birds and nonmigratory bats, both of which provide farmers with pest control (6-8). Tropical animals living within shade coffee farms may also facilitate seed dispersal for native trees, thus providing opportunities for the maintenance of shade trees and future reforestation (9).However, pollination mutualisms may be particularly vulnerable to habitat alteration, however, and many tropical tree species are self-incompatible and dependent on animal pollinators for reproduction and gene flow (reviewed in 10, 11-14). Although some agricultural landscapes provide suitable habitat for pollinators (15-17), many agricultural practices negatively impact native pollinator communities (18)(19)(20). Agricultural landscapes can also have high densities of exotic honey bees (Apis mellifera scutellata), which may not provide pollinator services for reproductively specialized native plants (21, reviewed in ref. 22). Exotic honey bees can maintain gene flow in altered habitats for plants with unspecialized flowers and abundant nectar and/or pollen, even if a subset of the native pollinators is lost (reviewed in ref. 12; e.g., refs. 23, 24). However, loss of the native pollinators of reproductively specialized plants can lead to reduced genetic diversity and inbre...