The invention provides an automatic packaging unit which comprises a feeding machine, an automatic buffer lifting machine, an automatic barrel packaging machine, an automatic film packaging machine, a boxing machine and a stacker crane that are sequentially connected with one another. When a production line has abnormal conditions, strip-shaped materials are continuously sent to the automatic buffer lifting machine through the feeding machine; on one hand, the strip-shaped materials are directly sent to the automatic barrel packaging machine in a subsequent procedure through the automatic buffer lifting machine, on the other hand, when the equipment in the subsequent procedure fails, the strip-shaped materials in the equipment in the former procedure are temporarily stored in a bin; when the equipment in the former procedure fails, the strip-shaped materials stored in the bin can be conveniently sent to the equipment in the subsequent procedure; and therefore, the whole production line and the whole process cannot stop due to local maintenance. The strip-shaped materials to be packaged are simultaneously sent to barrels to be packaged through the automatic barrel packaging machine while being automatically counted, and films wraps the barrels through the automatic film packaging machine, so that the strip-shaped materials are packaged with good quantity and quality, and the grade of the products is improved. The automatic packaging unit realizes autonomic packaging and counting of the strip-shaped materials, and is suitable for packaging any strip-shaped material.