One of the most significant transcription factors in plants, WRKYs, are crucial for plant growth and stress response. In this study, we analyzed the physicochemical properties, evolutionary relationships, conservation structure, and expression of the WRKY gene family in S. baicalensis. The WRKY family has highly conserved structural domains, which have been classified into three major categories, I, II, and III, based on the number of WRKY structural domains and zinc finger structural features. SbWRKYs of the same subgroup are functionally similar and essentially contain the same motif. Additionally, different drought stress situations resulted in varying levels of SbWRKYs expression, with the majority of these factors being up-regulated in moderate drought stress settings, and fewer of them were up-regulated under severe drought stress conditions. Under moderate drought stress, the expression of key enzymes increased, while under severe drought stress, the expression of key enzymes decreased. Mild drought stress resulted in a 26.42% increase in baicalin accumulation, while severe drought stress led to a 22.88% decrease. The protein interaction analysis of key enzyme genes and SbWRKYs revealed that the expression of key enzyme genes affected the expression of SbWRKYs. We screened nine SbWRKYs with a significant relationship with baicalin accumulation, and SbWRKY8 and SbWRKY16 showed the highest correlation with the baicalin content. These findings offer a theoretical framework for more research on the roles of SbWRKYs and show that SbWRKYs can respond to drought stress in S. baicalensis.