The invention provides a soft and hard sealing barrier method for a coal mine underground oxygen-free tunneling working surface and belongs to the technical field of mining. The method involves a hard barrier system, a soft barrier system, an intelligent dynamic drainage system and a monitoring system. By combining a nitrogen curtain and an air door, a tunneling roadway is divided into six areas so that gas cannot diffuse outwards, a bypass is divided into three areas so that external air cannot enter the working surface, and accordingly the oxygen-free tunneling roadway is achieved. According to the technology, mixing of the air and the gas is avoided radically and effectively, the gas explosion accident in the tunneling roadway is prevented, the safety of the tunneling working surface is guaranteed, the utilization rate of the gas is increased, and the tunneling efficiency is improved.