The invention relates to a corn machine capable of peeling and threshing. The corn machine comprises a peeling device and a threshing device. The peeling device is disposed on the front portion of a machine frame, the threshing device is disposed on the rear portion of the machine frame, the peeling device and the threshing device are covered by a machine shell, and the machine shell is fixed to the machine frame. The peeling device comprises a motor, a peeling belt wheel, a gear, an adjusting device, a peeling roller, a movable bearing base, a fixed bearing base, an air blower belt wheel and an air blower, wherein the adjusting device comprises an adjusting handle and a spring. The threshing device comprises a motor, a belt wheel, a threshing belt wheel, an adjusting device, a corn discharging opening, a threshing plate, an adjusting plate, a partition board, a threshing roller, a fixed joint and a corn cob discharging opening. The corn machine has the advantages of being simple in structure, low in manufacturing cost, capable of adjusting peeling and threshing gaps and achieving batch feeding, little in labor intensity, suitable for corn cobs of different sizes, efficient and free of dust.