Automatic focusing perforating and cutting machine, which is used to automatically adjust the focusing lens to realize automatic perforating and cutting plates of different thickness. The speed of automatically adjusting focus lens is ten times of the manual adjusting. The adjustment range is from -10mm~ +10mm, precision 0.01mm, suitable for 0 ~ 20mm different types of plates. The collimator lens and focus lens both have water-cooling heat sink which reduces the temperature of the cutting head to improve the life of the cutting head.