As a form of education, distance learning currently shows great promise and the role of online libraries in delivering off-campus information services increases. This paper presents a comparative analysis of measures undertaken by traditional academic libraries in China and Italy in response to pandemic restrictions on educational operations during the lockdown period. The study utilized a specially developed questionnaire, carried out through an online survey, as a means of collecting data from library users (students and teachers). The study population includes 102 random library patrons, including 64 students and 38 teachers who were using services of academic libraries in China at the time. Through comparison with other studies, the quarantine responses of Chinese libraries were identified. The results of the study show that COVID-19 responses of libraries in China went in a direction similar to those in Italy, but the final decisions varied because of different levels of technological development. This knowledge may be used by libraries to identify areas for improvement. The results show that Chinese libraries were more effective in overcoming quarantine restrictions than those in Italy. The overwhelming majority of respondents reported that they had positive experience learning remotely and would not mind if distance learning programs continue to function after the pandemic is over.