A total of 282 students completed an online questionnaire that measured time spent on digital devices, type of physical activity, time spent sitting, number of walking days/week, ergonomics, and postural habits. Some of these measurements were compared between periods before and during the pandemic. Because of distance learning, time spent on digital devices and total time spent sitting increased significantly from before to during the pandemic (p <0.001); students' daily physical activities and the number of days per week with at least ten minutes of walking decreased significantly (p <0.001). Most of the students (75.9%) experienced at least one type of musculoskeletal pain, predominately shoulder and neck pain (65%). There was a very significant positive correlation between musculoskeletal pain and postural habits (p <0.0001).