As the security of personal information is becoming more important in mobile phones, we apply iris recognition technology to mobile device. Different from conventional iris recognition system used for access control, user puts the mobile phone by hands in this case. So, optical and motion blurring happens, frequently. In addition, most users have tendencies to use the mobile phone in outdoor and sunlight (which includes much amount of IR(Infra-Red) light) may have much effect on the input iris image in spite of the visible light cut filter attached in front of iris camera lens. To overcome such problems, we propose a new method of extracting the accurate iris code based on AGF (Adaptive Gabor Filter). The kernel size, frequency and amplitude of Gabor filter are determined by the amount of blurring and sunlight in input image, adaptively. Experimental results show that the EER by our propose method is 0. 14 %.