Virtually nothing is known about disease resistance in solitary bees, so expressed sequence tag (EST) databases were developed to search for immune response genes in the alfalfa leafcutting bee. We identified 104 putative immunity-related genes from both healthy and pathogen-challenged bee larvae, and 12 more genes using PCR amplification. The genes identified coded for proteins with a wide variety of innate immune response functions, including pathogen recognition, phagocytosis, the prophenoloxidase cascade, melanization, coagulation and several signalling pathways. Some immune response genes were highly conserved with honey bee genes, and more distantly related to other insects. The data presented provides the first analysis of immune function in a solitary bee and provides a foundation for the further analysis of gene expression patterns in bees.