The invention discloses a heading automatic-guiding system based on a camera lens and an attitude and heading reference system. The heading automatic-guiding system comprises a heading machine control module, a laser target surface, a camera lens, an attitude and heading reference system, a data acquisition module, a central processing unit and a laser orientation instrument, wherein the heading machine control module is arranged on a heading machine body, the laser target surface, the camera lens, the attitude and heading reference system, the data acquisition module and the central processing unit are arranged on the heading machine body, the laser orientation instrument is arranged on a heading roadway, the laser orientation instrument is located behind the heading machine body, a laser emission head of the laser orientation instrument is aligned to the center of the laser target surface, the camera lens is projected on the laser target surface, the signal output end of the camera lens is connected with the data acquisition module, the signal output end of the attitude and heading reference system is connected with the central processing unit, the communication end of the data acquisition module is connected with the communication end of the central processing unit, and the control signal output end of the central processing unit is connected with the control signal input end of a heading machine control module. The heading automatic-guiding system disclosed by the invention has the advantages of high guiding accuracy, simpleness in operation, low cost, easiness for implementation, and convenience for popularization.