The aim of this study was to evaluate the influence of the diet (chestnut vs. commercial feed) and cooking techniques (roasting, grilling, frying and microwaving) on the quality of the Biceps femoris muscle of the Celta pig breed. Chemical composition, physicochemical parameters, oxidative stability and volatile profile were analysed. Overall, the inclusion of chestnuts did not affect the chemical composition, except for intramuscular fat content, which was higher in chestnut-fed pigs. The colour and shear force of cooked Biceps femoris were not affected by the finishing diet. However, a significant increase in cooking losses and thiobarbituric acid reactive substances (TBARS) value was found with the chestnuts included in the diet. In addition, the inclusion of chestnuts also modified some volatile compound that could be associated with the diet, such as furan, 2-pentyl. On the other hand, the cooking method significantly affected chemical composition (moisture, fat, protein and ash content), colour parameters, cooking loss, TBARS and volatile profile, whereas the shear force was not affected. Concretely, fried and microwave were the techniques that led to a greater presence of intramuscular fat. In addition, the frying method also showed the highest a* value, whereas the microwaved technique displayed the highest cooking loss. Regarding lipid oxidation, the fried method displayed the lower TBARS and hexanal content. On the other hand, the major volatile compounds were aldehydes in all cooking methods except for the frying technique in chestnut samples. Finally, method-frying displayed the lowest amount of total volatiles compounds, unlike grilling.