Biometric technologies have shown much more impor- tance in various application. Among them, iris recognition is considered as one of the most reliable and accurate tech- nologies. As the first step of iris recognition, the location of iris will affect the performance of the whole system. This paper proposes an improved algorithm to locate iris and eyelids. Morphological operation is applied to remove eye- lashes in process of iris boundary location. And optimal step length is calculated to reduce search time. Experimen- tal results demonstrate that the proposed iris location algo- rithm is able to achieve a good performance with accuracy more than 97.6%.