A machine for extracting puree, or juice, from a food product, comprises: - an inlet section for introducing the food product; - an extraction section configured to divide, during an extraction configuration, said food product in a main product comprising said puree, or juice, and in a waste product, in said extraction section a sieve being mounted that have cylindrical, or conical, shape, and that provides a plurality of holes, and a rotor positioned within said sieve and configured to rotate about a rotation axis in such a way to exert a centrifugal force on said food product in order to force the same against said sieve and to divide the product in said main product, which passes through said holes of said sieve, and is discharged through a first discharge section, and in said waste product, which, instead, does not pass through said holes of said sieve and is discharged through a second discharge section arranged downstream of said first discharge section with respect to the advancing direction of the product in said extraction section; - a motor operatively connected to said rotor and configured to cause said rotor to rotate about said rotation axis; - a washing device configured to feed in said extraction section a predetermined flow of a washing liquid from a source through at least a feeding duct, when said extraction section operates in a washing configuration; said machine being characterized in that an opening/closing device is, furthermore, provided configured to move from an opening configuration, in which is arranged to open said second discharge section to allow said waste product to move downstream of said second discharge section when said extraction section is arranged to operate in said extraction configuration, and a closing configuration in which said opening/closing device is arranged to close said second discharge section in order to impede said washing liquid to move downstream of said second discharge section, when said extraction section is arranged to operate in said washing configuration. - an inlet section for introducing the food product; - an extraction section configured to divide, during an extraction configuration, said food product in a main product comprising said puree, or juice, and in a waste product, in said extraction section a sieve being mounted that have cylindrical, or conical, shape, and that provides a plurality of holes, and a rotor positioned within said sieve and configured to rotate about a rotation axis in such a way to exert a centrifugal force on said food product in order to force the same against said sieve and to divide the product in said main product, which passes through said holes of said sieve, and is discharged through a first discharge section, and in said waste product, which, instead, does not pass through said holes of said sieve and is discharged through a second discharge section arranged downstream of said first discharge section with respect to the advancing direction of the product in said extraction section; - a motor operatively connected to said rotor and configured to cause said rotor to rotate about said rotation axis; - a washing device configured to feed in said extraction section a predetermined flow of a washing liquid from a source through at least a feeding duct, when said extraction section operates in a washing configuration;