Sex pheromones are species-specific chemical signals that facilitate the location, identification, and selection of mating partners. These pheromones can vary between individuals, and act as signals of mate quality. Here, we investigate the variation of male pheromones in the mesosomal glands of the large carpenter bee Xylocopa sonorina, within a Northern California population. We tested the hypothesis that morphological traits are correlated with the observed variation in chemical blend composition of these bees. We also conducted behavioral assays to test whether these male pheromones act as long-range attractants to conspecifics. We found that larger males with darker mesosomal glands have a higher pheromone amount in their glands. Our analysis also suggests that this pheromone blend functions as a long-range attractant to both males and females. We show that both male body size and sexual maturation are important factors influencing pheromone abundance, and that this pheromone blend acts as a long-range attractant. We hypothesize that this recorded variation in male pheromone could be important for female choice.