In this article, we summarize the up-to-date understanding of inflammasomes, including NLRP3, AIM2, NLRP1, NLRP6, and NLRC4 in various viral infections, with particular focus on RNA viruses such as SARS-CoV-2, HIV, IAV, and Zika virus and DNA viruses such as herpes simplex virus 1. This evidence concerns the gene NLRP1 and viral infectious disease.