The invention, which belongs to the technical field of textile machinery, discloses a high-linearity longitudinal automatic edge wrapping machine for a carpet. The high-linearity longitudinal automatic edge wrapping machine comprises a frame, a guiding mechanism, a conveying mechanism, a limiting mechanism, a wrapping mechanism, a storage mechanism, an output mechanism, and a control mechanism. Compared with the prior art, the high-linearity longitudinal automatic edge wrapping machine has the following advantages: the guiding mechanism and the limiting mechanism limit the position at the timeof carpet entrance to prevent carpet deflection; the conveying mechanism is used for carrying out longitudinal and horizontal traction on the carpet to ensure the flatness of the carpet during the wrapping process; the rotating speeds of a reducer I and a reducer II are controlled and a rotating speed difference of a driving wheel I and a driving wheel II are adjusted to control the tension of the carpet, thereby realizing high-linearity wrapping of the carpet and improving the wrapping quality; with the storage mechanism, the carpet is stored temporarily conveniently; with multiple carpet output ends, the carpets are received in a diversified manner, so that different production and processing needs are met; and the control mechanism is used for realize overall controlling, so that the manpower is saved and the automation degree is high.