This paper takes No.8 coal seam of a mine as the research background, the safety of roadway excavation and working face mining is studied, specific safety management measures are put forward, it provides technical support for the safe mining of the mine.