Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Mar 5;68(1):e51.
doi: 10.1192/j.eurpsy.2025.10.

Understanding social media discourse on antidepressants: unsupervised and sentiment analysis using X

Affiliations

Understanding social media discourse on antidepressants: unsupervised and sentiment analysis using X

Juan Pablo Chart-Pascual et al. Eur Psychiatry. .

Abstract

Background: Antidepressants are essential in managing depression, including treatment-resistant cases. Public perceptions of these medications, shaped by social media platforms like X (formerly Twitter), can influence treatment adherence and outcomes. This study explores public attitudes toward antidepressants through sentiment and topic modeling analysis of tweets in English and Spanish from 2007 to 2022.

Methods: Tweets mentioning antidepressants approved for depression were collected. The analysis focused on selective serotonin reuptake inhibitors (SSRIs) and glutamatergic drugs. Sentiment analysis and topic modeling were conducted to identify trends, concerns, and emotions in discussions across both languages.

Results: A total of 1,448,674 tweets were analyzed (1,013,128 in English and 435,546 in Spanish). SSRIs were the most mentioned antidepressants (27.9% in English, 58.91% in Spanish). Pricing and availability were key concerns in English tweets, while Spanish tweets highlighted availability, efficacy, and sexual side effects. Glutamatergic drugs, especially esketamine, gained attention (15.61% in English, 25.23% in Spanish), evoking emotions such as fear, sadness, and anger. Temporal analysis showed significant increases in discussions, with peaks in 2012 and 2021 for SSRIs in Spanish, and exponential growth from 2018 to 2021 for glutamatergic drugs. Emotional tones varied across languages, reflecting cultural differences.

Conclusions: Social media platforms like X provide valuable insights into public perceptions of antidepressants, highlighting cultural variations in attitudes. Understanding these perceptions can help clinicians address concerns and misconceptions, fostering informed treatment decisions. The limitations of social media data call for careful interpretation, emphasizing the need for continued research to improve pharmacovigilance and public health strategies.

Keywords: antidepressants; esketamine; selective serotonin reuptake inhibitors; sentiment analysis; twitter (X).

PubMed Disclaimer

Conflict of interest statement

Dr Salazar-de-Pablo has received honoraria from Janssen Cilag, Lundbeck, Angelini, and Menarini. Dr. Gonzalez-Pinto has received grants and served as consultant, advisor, or CME speaker for the following entities: Janssen-Cilag, Lundbeck, Otsuka, Alter, Angelini, Novartis, Rovi, Takeda, the Spanish Ministry of Science and Innovation (CIBERSAM), the Ministry of Science (Carlos III Institute), the Basque Government, and the European Framework Program of Research. The remaining authors declare no conflicts of interest.

Figures

Figure 1.
Figure 1.
Number of tweets in English per year per drug. Each antidepressant group has its own color represented in left superior corner of the panel.
Figure 2.
Figure 2.
Number of tweets in Spanish per year per drug. Each antidepressant group has its own color represented in left superior corner of the panel.
Figure 3.
Figure 3.
Number of tweets per topic in SSRI in English. Each topic has its own color represented in left superior corner of the panel.
Figure 4.
Figure 4.
Number of tweets per topic in SSRI in Spanish. Each topic has its own color represented in left superior corner of the panel.
Figure 5.
Figure 5.
Number of tweets per topic in glutamatergic drugs in English. Each topic has its own color represented in left superior corner of the panel.
Figure 6.
Figure 6.
Number of tweets per topic in glutamatergic drugs in Spanish. Each topic has its own color represented in right superior corner of the panel.
Figure 7.
Figure 7.
Temporal evolution of the number of tweets related to SSRIs, per year and topic, in English (superior panel) and Spanish (bottom panel).
Figure 8.
Figure 8.
Temporal evolution of the number of tweets related to glutamatergic drugs, per year and topic, in English (superior panel) and Spanish (bottom panel).
Figure 9.
Figure 9.
Sentiment analysis of the number of tweets per year and topic in English (A) and Spanish (B) tweets from SSRIs.
Figure 10.
Figure 10.
Sentiment analysis of the number of tweets per year and topic in English (A) and Spanish (B) tweets from glutamatergic drugs.

References

    1. Brauer R, Alfageh B, Blais JE, Chan EW, Chui CSL, Hayes JF, et al. Psychotropic medicine consumption in 65 countries and regions, 2008–19: a longitudinal study. Lancet Psychiatry. 2021;8:1071–82. 10.1016/S2215-0366(21)00292-3. - DOI - PMC - PubMed
    1. Global Burden of 369. Diseases and injuries in 204 countries and territories, 1990–2019: a systematic analysis for the global burden of disease study 2019. Lancet. 2020;396:1204–22. 10.1016/S0140-6736(20)30925-9. - DOI - PMC - PubMed
    1. Santomauro DF, Mantilla Herrera AM, Shadid J, Zheng P, Ashbaugh C, Pigott DM, et al. Global prevalence and burden of depressive and anxiety disorders in 204 countries and territories in 2020 due to the COVID-19 pandemic. Lancet. 2021;398:1700–12. 10.1016/S0140-6736(21)02143-7. - DOI - PMC - PubMed
    1. Whiteford HA, Degenhardt L, Rehm J, Baxter AJ, Ferrari AJ, Erskine HE, et al. Global burden of disease attributable to mental and substance use disorders: findings from the global burden of disease study 2010. Lancet. 2013;382:1575–86. 10.1016/S0140-6736(13)61611-6. - DOI - PubMed
    1. American Psychiatric Association. Diagnostic and statistical manual of mental disorders (DSM-5®). Arlington. 2013

MeSH terms

Substances