A process for cooking food of vegetable origin, particularly legumes or cereals, comprising the steps of: a) rehydration of the legume or cereal in the dried form in water for a specific time; b) rinsing and dripping of the rehydrated legume or cereal; c) packaging and sealing at reduced pressure or in a protective atmosphere in autoclavable flexible packages of the rehydrated and drained legume or cereal; and d) cooking of the legume or cereal packaged under controlled temperature and pressure conditions.