Introduction. . Differences in the treatment and acceptance of LGTB people have been highlighted in both Spanish and international scientific studies. In Spain, progress has been made in this domain with the implementation of legal measures designed to defend LGTB rights. These developments have spotlighted the work of social intervention professionals aimed at promoting the well-being and legal protection of these people. Yet, the lack of initial training in the field of sexual orientation, gender identity and expression (SOGIE) negatively affects the skill and knowledge needed for professional practice with LGTB people. In addition, this training deficiency can lead to prejudice and negative attitudes towards SOGIE. Therefore, given the necessity for specific training and in view of its adoption, we explored the knowledge about homosexuality and attitudes towards lesbian, gay and trans* (LGT) people of students enrolled in a Social Work degree at the University of Granada (Spain). Methodology. . An ex-post-facto or non-experimental comparative study was conducted using non-probabilistic incidental sampling (N = 313). The Homosexuality and Sex Education Questionnaire, the Modern Homonegativity Scale, and the Negative Attitudes Towards Trans People Scale were used to collect information. Data were analysed using frequencies, descriptive statistics, correlations and inferential statistics. Results. . Despite the fact that the vast majority of participating students had received some SOGIE training, certain misconceptions about homosexuality were observed, mostly regarding sexual roles and behaviours. Furthermore, both the possession of knowledge and the manifestation of negative attitudes towards homosexual and trans* people were associated with certain characteristics of both a personal (e.g., gender identity) and ideological (e.g., religion) nature. Lastly, we found that the more knowledgeable the student, the less negative the attitude towards LGBT people. Discussion. . In line with the findings of other studies, it is necessary to provide future professionals with initial training so that they acquire the appropriate knowledge and attitudes allowing them to ensure inclusive professional practice with LGTB people. Conclusions. . It is important that social work professionals be involved in the SOGIE as this discipline should promote social justice, human rights, as well as people's well-being and development. The findings of this study contribute to making progress in this respect.