Background: There is a major public health challenge threatening the world with the rapid spread of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), which emerged in December 2019 from Wuhan, China. Objective: The aim of this study was to assess the knowledge, attitude and practice regarding COVID-19 and its transmission, causes and prevention among people living in Malaysia. Methods: A cross-sectional study was conducted among people living in Malaysia by using an online survey in March and April 2020. Results: Out of 520 respondents, the mean age was 36.9 +/- 14.9, between 19 and 67 years with the majority being female. Most respondents had good knowledge, attitude and practice towards COVID-19 with mean +/- sd 18.2 +/- 1.7, 5.2 +/- 1.1 and 4.1 +/- 1.4, respectively. In addition, the majority had good knowledge regarding cause, mode of transmission, signs and symptoms, prevention and treatment and quarantine measures after answering 21 questions. Conclusion: To date, there is no specific treatment or vaccine for COVID-19, thus staying at home is the best preventive measure to curb the further growth of positive cases in the country. These findings could provide an insight in designing effective preparedness for future pandemic outbreaks.