This dataset covered information on students' learning habits before and during COVID-19. The target respondents of this survey were undergraduate students from a public university in Malaysia, across different faculties, who are learning affected due to COVID-19. There was a total of 668 respondents accompanied by consent were agreed to join the survey. This dataset is useful for researchers who interested to identify effects and analyze the impact of students' learning habits during COVID-19 among different socioeconomic status.