A machine for recognizing and orienting fruits, especially peaches, for their automatic pitting, comprising a fruit flight conveyor having a fruit multiple lane tape that is constituted by mesh members and fruit flights and advances longitudinally in a frame , and a cutting station in which a vertical cutting plane orthogonal to the advancing tape is provided, the fruit flights being shaped with a number of recesses in which fruits (P) are positioned with fruit suture plane thereof, containing a suture line (Is), being arranged vertically, characterized in that the machine further comprises: - a fruit recognizing station suitable to detect the position of the vertical suture plane, to calculate an angle ( α ) between the suture line (Is) and the cutting line (It) corresponding to the dihedral angle formed between the vertical suture plane and the vertical cutting plane, and to communicate either information on the calculated dihedral angle or information of non detection; - an orientation station , comprising a programmable logic controller (PLC), a row of gripping units , wherein said PLC is adapted to receive information on the dihedral angle formed between the vertical suture plane and the vertical cutting plane of a given fruit (P), and to control a respective gripping unit of the row of gripping units , each gripping unit comprising a motor bearing on its shaft a gripper adapted to grip and rotate a fruit (P) in its recess from its initial position, in which the vertical suture plane of the fruit (P) intersects the vertical cutting plane, to a final position in which the vertical suture plane of the fruit (P) is parallel to the vertical cutting plane, said PLC also being adapted to receive information of non detection of the dihedral angle formed between the vertical suture plane and the vertical cutting plane for a given fruit (P); and - a removing station controlled by said PLC, for the removal of the fruit from the fruit lane. - a fruit recognizing station suitable to detect the position of the vertical suture plane, to calculate an angle ( α ) between the suture line (Is) and the cutting line (It) corresponding to the dihedral angle formed between the vertical suture plane and the vertical cutting plane, and to communicate either information on the calculated dihedral angle or information of non detection; - an orientation station , comprising a programmable logic controller (PLC), a row of gripping units , wherein said PLC is adapted to receive information on the dihedral angle formed between the vertical suture plane and the vertical cutting plane of a given fruit (P), and to control a respective gripping unit of the row of gripping units , each gripping unit comprising a motor bearing on its shaft a gripper adapted to grip and rotate a fruit (P) in its recess from its initial position, in which the vertical suture plane of the fruit (P) intersects the vertical cutting plane, to a final position in which the vertical suture plane of the fruit (P) is parallel to the vertical cutting plane, said PLC also being adapted to receive information of non detection of the dihedral angle formed between the vertical suture plane and the vertical cutting plane for a given fruit (P); and - a removing station controlled by said PLC, for the removal of the fruit from the fruit lane. <EOS>