Background: Respect and inclusion are essential for gender equity in higher education, where subtle forms of gender-based violence, such as bias and stereotypes, often emerge and affect academic well-being. The systematic use of machine learning or deep learning models to automatically identify gender bias in higher education teaching evaluations remains underexplored, providing the main motivation for the present study. Purpose: This work evaluates the ability of machine learning (ML) and deep learning (DL) models to identify textual expressions of gender bias on digital platforms in higher education. Using student evaluations of teaching from the University of BÍo-BÍo (Chile), we characterize bias patterns linked to instructor gender. We address two questions: RQ1: To what extent do student comments in university teaching evaluations written in Spanish exhibit explicit gender biases and stereotypical patterns when stratified by the instructor’s gender? and RQ2: How accurately do ML and DL models (SVM, BETO, DistilBERT) detect explicit gender bias in this domain-specific corpus when evaluated using macro-average metrics? Method: We conducted a PRISMA-guided systematic review (2018–2024) to identify suitable detection techniques, followed by a determinant-variable analysis examining how gender-related attributes, stereotypes, and comment features influence bias in feedback. Student evaluations from 2017–2019 and 2023 were annotated with binary labels and used to train and evaluate models. The dataset contains 960 comments (691 for training, 77 for validation, and 192 for testing). We then developed predictive models, including SVMs and transformer-based (BETO and DistilBERT). Results: For RQ1, an analysis of determinant variables shows that comments on female instructors’ teaching performance tend to emphasize personal traits and relational behaviors, particularly dedication, accessibility, and willingness to answer questions. In contrast, comments about male instructors more often highlight academic competence, with frequent mentions of subject mastery and content expertise, as well as expressions of admiration for their intellectual performance. For RQ2, BETO+BiLSTM and DistiIBERT+BiLSTM were developed, which performed strongly, achieving average macro Fl score of 99% on the gender bias detection task, well above the BETO and SVM baselines of 95% and 88%, respectively. As part of the results, a dataset of 960 comments labeled as gender-based bias (GB) and non-gender-based bias (N-GB) was compiled and made available on the Zenodo repository at https://doi.org/10.5281/zenodo.17665445