In this paper we present a robust and accurate iris localization method. Firstly, it ensures an automatic threshold by OTSU method and gets binary image, then in the binary image it finds a point in the pupil by gray summing operator. Thirdly it finds three non-collinear points of the pupil boundary by designed template in the binary image that can avoid the influence of other parts of the eye image, especially eyelash. Finally in the original image it uses a crafty method by certain theory of Hough transform, but it need not binary image and can use a few points and former designed template to locate the iris boundary. It can decrease the complexity and amount of calculation and it has good noise immunity and robustness.