This research aims to classify lightning recording data obtained in the Palembang region in January 2020 using the K-Nearest Neighbor (KNN) algorithm implemented in the Python programming language. The raw data, initially in psdata format, was converted to Comma Separated Values (CSV) format to facilitate analysis. From a total of 12,908 lightning recordings, the classification process successf…