The invention relates to an automatic cutting and grinding all-in-one machine. The automatic cutting and grinding all-in-one machine comprises a rack, an automatic cutting device, an automatic rod piece clamping device, an automatic grinding device, a dust collection device, an air cooling system, an air cooling device, an electromagnetic valve and a control cabinet. The automatic cutting device, the automatic rod piece clamping device and the automatic grinding device are each provided with a linear walking device. The cutting work end of the automatic cutting device longitudinally corresponds to a rod piece on the automatic rod piece clamping device, and the grinding work end of the automatic grinding device transversely corresponds to the rod piece on the automatic rod piece clamping device. The automatic cutting device, the automatic rod piece clamping device, the automatic grinding device, the linear walking devices, the dust collection device, the air cooling system and the air cooling device are all connected to the control cabinet, and the starting and shut-down action is controlled by the control cabinet. Cutting and grinding functions are integrated, through control of the control cabinet, cutting and grinding work of the rod piece can be completed in a one-stop manner, and automatic machining of cutting and grinding is achieved; and meanwhile, linear walking structures are adopted, transmission is stable, and plane thickness uniformity of the ground rod piece is good.