Posttraumatic stress disorder (PTSD) is one of the most common psychiatric diseases, which is characterized by the typical symptoms such as re‐experience, avoidance, and hyperarousal. However, there are few drugs for PTSD treatment. In this study, conditioned fear and single‐prolonged stress were employed to establish PTSD mouse model, and we investigated the effects of Tanshinone IIA (TanIIA), a natural product isolated from traditional Chinese herbal Salvia miltiorrhiza, as well as the underlying mechanisms in mice. The results showed that the double stress exposure induced obvious PTSD‐like symptoms, and TanIIA administration significantly decreased freezing time in contextual fear test and relieved anxiety‐like behavior in open field and elevated plus maze tests. Moreover, TanIIA increased the spine density and upregulated synaptic plasticity‐related proteins as well as activated CREB/BDNF/TrkB signaling pathway in the hippocampus. Blockage of CREB remarkably abolished the effects of TanIIA in PTSD model mice and reversed the upregulations of p‐CREB, BDNF, TrkB, and synaptic plasticity‐related protein induced by TanIIA. The molecular docking simulation indicated that TanIIA could interact with the CREB‐binding protein. These findings indicate that TanIIA ameliorates PTSD‐like behaviors in mice by activating the CREB/BDNF/TrkB pathway, which provides a basis for PTSD treatment.