A device for the domestic production of dry food, in particular dry food for pets, characterized by comprising: a first processing unit defining a first inner cavity provided with an opening for the insertion of edible material to be shredded, said first processing unit being provided with a device for shredding the material inserted and a heater device adapted to at least partially cook the material inserted; said first processing unit being configured to shred, mix, and heat the material inserted producing a semi-fluid food mixture; a second processing unit defining a second inner cavity provided with an opening configured to receive the semi-fluid food mixture produced by the first unit; said second processing unit being provided with pusher means configured to inject said food mixture into a plurality of channels produced in a forming device; the forming device being provided with a heater configured to harden the food mixture at least partially in the channels producing food cores; the forming device being provided with at least two flat walls each provided with a plurality of through holes, said flat walls are available between: a first aligned position in which the flat walls are stacked and each hole of a wall is coaxial with a respective through hole of the other wall to produce a respective channel, each channel being delimited by the internal surfaces of through holes belonging to the at least two stacked walls and being configured to contain the food mixture that, when it solidifies, produces said food core inside the channel; and an unaligned position in which the flat walls are arranged with the through holes moved with respect to the aligned position in order to interrupt the continuity of the previously formed core shredding it into dry food, the shape of which is determined by the shape of the through holes. a first processing unit defining a first inner cavity provided with an opening for the insertion of edible material to be shredded, said first processing unit being provided with a device for shredding the material inserted and a heater device adapted to at least partially cook the material inserted; said first processing unit being configured to shred, mix, and heat the material inserted producing a semi-fluid food mixture; a second processing unit defining a second inner cavity provided with an opening configured to receive the semi-fluid food mixture produced by the first unit; said second processing unit being provided with pusher means configured to inject said food mixture into a plurality of channels produced in a forming device; the forming device being provided with a heater configured to harden the food mixture at least partially in the channels producing food cores; the forming device being provided with at least two flat walls each provided with a plurality of through holes, said flat walls are available between: a first aligned position in which the flat walls are stacked and each hole of a wall is coaxial with a respective through hole of the other wall to produce a respective channel, each channel being delimited by the internal surfaces of through holes belonging to the at least two stacked walls and being configured to contain the food mixture that, when it solidifies, produces said food core inside the channel; and an unaligned position in which the flat walls are arranged with the through holes moved with respect to the aligned position in order to interrupt the continuity of the previously formed core shredding it into dry food, the shape of which is determined by the shape of the through holes. a first aligned position in which the flat walls are stacked and each hole of a wall is coaxial with a respective through hole of the other wall to produce a respective channel, each channel being delimited by the internal surfaces of through holes belonging to the at least two stacked walls and being configured to contain the food mixture that, when it solidifies, produces said food core inside the channel; and an unaligned position in which the flat walls are arranged with the through holes moved with respect to the aligned position in order to interrupt the continuity of the previously formed core shredding it into dry food, the shape of which is determined by the shape of the through holes.