Peanut is one of the most common food triggers of fatal anaphylaxis worldwide although peanut allergy affects only 1%‐2% of the general population. Peanuts are the source of highly potent allergenic proteins. It is emerging that the allergenicity of certain proteins is linked to their biological function. Peanut is an unusual crop in that it flowers aboveground but produces its seed‐containing pods underground. This so‐called geocarpic fruiting habit exposes pods and seeds during their development to soilborne pathogens and pests. Pest damage can also open routes of entry for opportunistic fungi such as
Aspergillus
. Although seed proteins have primary functions in nutrient reservoirs, lipid storage bodies, or the cytoskeleton, they have also evolved to act as part of the plant's defense system to enhance fitness and survival of the species. When interacting with pathogens or pests, these proteins modify and damage cells' membranes, interact with immune receptors, and modulate signaling pathways. Moreover, following exposure, the immune system of predisposed individuals reacts to these proteins with the production of specific IgE. This review explores the evolutionary biology of peanut and its seed proteins and highlights possible links between the proteins' biological function and their allergenicity.