Undergraduate students must now pass an online course about sexual consent if they want to enrol at the prestigious University of Melbourne.

In the wake of a damning Australian Human Rights Commission report into sexual harassment and assault on campuses, Australian universities are rolling out training to teach students about respectful relationships.

As part of the enrolment process for the University of Melbourne, students have to complete ‘Consent Matters’, an animated online course and quiz that teaches students about boundaries, misconceptions about consent and how to intervene when witnessing sexual harassment or assault.

"This year, all new undergraduate students are expected to complete the 60- to 90-minute module at the final stages of accepting their course offer," a university spokeswoman said.