A method for the automatic history matching of a 3-dimentional and 3-phase single well black oil model is presented in this paper, and a non-linear objective function with restraints is set up on the basis of this method, which can be used to minimize the objec-tive function and achieve automatic history matching, thus obtaining the parametric values of the formation. In addition, an automatic history matching is made for the data of a well in Baikouquan,Xinjiang and the parametric values of the formation are obtained. At the same time, the parametric values of the formation are compared with the electrometric in-terpretation results and the results obtained by this method prove to be reliable.