The fryer (1) for cooking a food product, comprises a main body (2) for housing a tilted container (3) adapted to receive the cooking oil, a tilted basket for containing the food product, positioned in an extractable manner in the container, first (30, 31) and second heating means (49), a selector for selecting a first cooking mode in a first volume of oil with the first heating means or a second cooking mode in a second volume of oil greater than the first volume of oil with the second heating means, and rotation means (17) adapted to operate in rotation the basket (11) or at least a mixing paddle (13) present or positionable inside the basket.