A machine for treatment of bedding in animal rearing, comprising a rotating shaft (4), ton which at least a milling tool (6) is splined, which milling tool is provided with a splining flange (60), opposite faces of which are fitted with blades (61) projecting radially relative to the flange (60), a supporting structure (21) at least partially covering the rotating shaft (4) and the milling tool (6), and a scraper blade (7), positioned below the rotating shaft (4), serving to scrape and raise material in the space underlying the milling tool, the scraper blade (7) being fixed to the supporting structure (21) by way of at least a profiled plate (8) oriented perpendicular to the rotating shaft (4) and extending into the interspace between the blades (61) fitted on the opposite faces of the splining flange (60) of the at least a milling tool (6).