This paper put forward by Flexsim based on simulation and optimization of the production line, according to existing manufacturing production lines in China's development needs, through the simulation of the simulation software that specific application data. And refer to a variety of existing technologies to optimize production line, through the analysis of simulated data to optimize production lines. This chapter focusing on technology in the production line, from the production line of study, simulation technology research and production lines to optimize,start with these three big parts. Analysis production lines to prepare for simulation modeling, data collection and production of production line products step. According to existing simulation technology, work out the steps of the simulation, through the modeling and simulation data simulation results obtained. Based on the simulation results obtained ,using the existing optimization methods to optimize production lines. Finally,through the case about simulation and optimization of production bottle line, the above analysis of three large pieces of content and practice, to draw valid conclusions.