The temperature settings of quality pig growth environment affects their growth and the environmental regulation energy consumption and breeding system economic benefit directly. Based on the input output sampled data, the method simulating quality pig growth temperature model with BP neural network was simply introduced, fuzzy genetic algorithm (FGA) was used to optimize on-line temperature settings; in control process, FGA was used to regulate the parameters of fuzzy controller, the experimental results have shown fuzzy controller gets better precision than before. The practice has shown breeding system economic benefit has the very big enhancement after using this system's controller.