This study analyses the papers published by Spanish social psychologists to determine whether they address topics related with the Sustainable Development Goals (SDGs). Publications by Spanish institutions indexed by the Web of Science in the thematic category of “Social Psychology” were subjected to bibliometric analysis. The publications were classified by their relationship with the SDGs using OSDG, an open-source labelling tool, and an in-depth content analysis was performed to validate the results. A corpus of 1632 papers published by Spanish institutions between 1980 and 2020 was identified. Thirty-four percent of the papers address matters related with the SDGs; 23 % concern matters related with Goal 3 (good health and well-being), and 5 %, with Goal 5 (gender equality). Only 3 % are interventions to modify behaviour or change social environments. Conclusions: The review of these papers allows detecting to what extent the research conducted in Social Psychology contributes to achieving the goals proposed in each of the SDGs. Also, the content analysis of this publications identifies several factors (cognitive, emotional, social or cultural) which should be investigated to improve knowledge on how to achieve the Sustainable Development Goals.