Pollination provided by bees enhances the production of many crops. However, the contribution of wild bees remains unmeasured for many crops, and the effects of anthropogenic change on many bee species are unstudied. We experimentally investigated how pollination by wild bees affects tomato production in northern California. We found that wild bees substantially increase the production of field-grown tomato, a crop generally considered self-pollinating. Surveys of the bee community on 14 organic fields that varied in proximity to natural habitat showed that the primary bee visitors, Anthophora urbana Cresson and Bombus vosnesenskii Radoszkowski, were affected differently by land management practices. B. vosnesenskii was found primarily on farms proximate to natural habitats, but neither proximity to natural habitat nor tomato floral abundance, temperature, or year explained variation in the visitation rates of A. urbana. Natural habitat appears to increase B. vosnesenskii populations and should be preserved near farms. Additional research is needed to determine how to maintain A. urbana. Species-specific differences in dependency on natural habitats underscore the importance of considering the natural histories of individual bee species when projecting population trends of pollinators and designing management plans for pollination services. Thus, to maintain an entire bee community, multiple approaches, including maintaining natural habitat, should be implemented.