Among mothers without P/TN allergy, higher peripregnancy consumption of P/TN was associated with lower risk of P/TN allergy in their offspring. Our study supports the hypothesis that early allergen exposure increases tolerance and lowers risk of childhood food allergy.