Viral infectious diseases remain a global public health problem. The rapid and widespread spread of coronavirus disease 2019 (COVID-19) caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV‑2) has had a severe impact on the global economy and human activities, highlighting the vulnerability of humans to viral infectious diseases and the urgent need to develop new technologies and effective treatments. Organ-on-a-chip is an emerging technology for constructing the physiological and pathological microenvironment of human organs in vitro and has the advantages of portability, high throughput, low cost, and accurate simulation of the in vivo microenvironment. Indeed, organ-on-a-chip provides a low-cost alternative for investigating human organ physiology, organ diseases, toxicology, and drug efficacy. The lung is a main target organ of viral infection, and lung pathophysiology must be assessed after viral infection and treatment with antiviral drugs. This review introduces the construction of lung-on-a-chip and its related pathophysiological models, focusing on the in vitro simulation of viral infection and evaluation of antiviral drugs, providing a developmental direction for research and treatment of viral diseases.