The improvement of genetic algorithm and its application in Hazardous chemical production are discussed in order to improve the production efficiency of Hazardous chemical industry. The genetic algorithm is improved by using ASPEN method. An improved genetic algorithm is proposed to optimize the Hazardous chemical production process and reduce the generation complexity. The improved genetic algorithm is simulated and analysed by MATLAB. The results show that compared with the traditional genetic algorithm, the improved genetic algorithm can simplify the production process, which improve the production efficiency by 20%, and save production costs. Therefore, the improved genetic algorithm is of great significance to improve the production efficiency of chemical industry and promote the development of Hazardous chemical industry.