We study the influence of thermal and pressure treatments on peanut allergenicity. ► We analyze the changes in protein secondary structure, solubility, and digestibility. ► The pressure treatment analyzed decreases in vitro allergenicity of roasted peanut. ► Pressure treatment increases protein unfolding and digestibility. ► This treatment could be a technique to improve food safety.