This data set was collected in an anonymised online questionnaire on use of online resources for mental health issues of undergraduate students in the UK. The data was collected betweeen June and July 2021 by sending emails to all undergraduate students at the College of Science and Engineering and the College of Arts at the University of Glasgow.