Descurainia sophia is widely distributed in China and is one of the most troublesome annual weeds. It has diverse medicinal usage. D. sophia has abundant oil, making it an important oil plant in China. The main goal of this study was to obtain the maximum yield of the oil by an optimal selection of supercritical fluid extraction parameters. According to the central composite design and response surface methodology for supercritical fluid extraction method, a quadratic polynomial model was used to predict the yield of D. sophia seed oil. A series of runs was performed to assess the optimal extraction conditions. The results indicated that the extraction pressure had the greatest impact on oil yield within the range of the operating conditions studied. A total of approximately 67 compounds were separated in D. sophia seed oil by GC-MS, of which 51 compounds represented 98.21% of the total oils, for the first time. This study was also aimed at evaluating the anti-asthmatic, anti-tussive and expectorant activities in vivo of D. sophia seed oil which supplied for further research on bioactive constituents and pharmacological mechanisms.