The present invention is a method of determining the position of the iris of the eyeball in the digital image obtained from the visible part of the user's eyeball, so as to establish a digital image file that fully expresses the texture information of the iris, and the digital image The file is processed to extract the digital texture features of the iris and perform feature encoding, i.e. the iris code, and compare the iris code with the iris codes of the iris of the same eyeball and/or other eyeballs stored in the database to compare the iris code of the iris The iris recognition method for user authentication is described. The method consists of iris image smoothing, iris boundary detection, iris image transformation, iris texture feature extraction, iris feature encoding and recognition methods. The invention can be used in public security systems, can be used on magnetic cards to replace personal identity codes, and can also be used in information systems to improve access security and the like.