In ultrasound imaging, the pleura is visualized as echo reflection formed by the echoes of the interface between the pleura and the lung surface. Three major signs of pleura determines whether the patient has pneumothorax. In this paper, we propose a method to identify pleural line for the diagnosis of pneumothorax. Firstly, the gray threshold of ultrasonic image is properly classified by pre-experiment. Secondly, possible pleural line regions are identified based on threshold classification. Thirdly, the region of pleural line is identified based on the known characteristics of pleural line. The last step is to consider whether it is necessary to modify the threshold to accurately identify the pleural line region. Moreover, we tested 890 ultrasound samples, which included three categories: lung sliding, lung point, and lung sliding disappearance. Each category of samples was divided into two subsets, typical and atypical. The average identification rate reached 90.45%. According to the test results, the advantages and disadvantages of the proposed method as well as the further improvement direction were analyzed. This method for identifying pleural line can serve as the groundwork for developing automatic algorithm for diagnosing pneumothorax.