Introduction: World Health Organization declared COVID-19 as a pandemic, and like any global health crisis at its beginning, need a commitment to take the necessary precautions due to its spread among people before and during the presence of vaccine or drug. This study aims to assess public opinion and practice of Libyan community in the context of the COVID-19 pandemic. Materials and methods: A cross-sectional online study was conducted among Libyans between Sep. 15th, and Oct. 29th, 2020 using a developed-design questionnaire consisting of 23 questions assessing the aim of the study. 2305, who agreed to participate, was involved in the present study. Results: The response rate of Libyan regions, the west, east, middle and south areas, was 80.0%, 8.7%, 10.0 % and 1.3%, respectively. The majority were female (63.1%), with mostly in the 20-50 years’ age group (86.6%). The high level of education was university graduate (71.3%). The opinion average rate of participants was 33.2 % disagree and 26.4 % strongly disagree towards ban measures issued by authorities. Findings reveal good practice of applying preventive measures (always, an average rate of 35.1%). The relationship between opinion score and the participant’s demographic data show highly significant difference with the educational level (P = 0.002), but no differences found with residence (P = 0.183), with age (P = 0.212), and with gender (P = 0.313). With regard to the practice score, a significant difference was existed with gender (P = 0.029), age (P = 0.000), level of education (P = 0.013) and residence (P = 0.000). Conclusions: Libyan people has an acceptable level of awareness and opinion in applying the necessary precautionary measures towards COVID-19 pandemic, where prevention practices are influenced by level of education, residence, age and gender.