This study aims to identify the type of longan based on the shape, texture and color of the leaves using KNN classification. With a method that can identify the type of longan automatically, farmers and researchers can obtain information more quickly and accurately about the type of longan that is being cultivated or studied. This can help in choosing the right variety, more efficient maintenance, and improve the quality and productivity of longan plants. This research is an experimental research consisting of eight steps, namely preparation, theoretical studies, data collection, data analysis and processing, testing and implementation and the last is the final stage. Based on research conducted at UD Mitra Tani on Jalan Madura No. 81 Kebun Lada, Kec. Binjai Utara, Binjai City, North Sumatra, the results of data analysis from longan leaves show that the most common type of longan found in the nursery is Red longan. This study was conducted to identify the dominant longan species in the population and gain a deeper understanding of the diversity of longan varieties in the region.