African swine fever (ASF) is a highly contagious infectious disease of domestic pigs and wild boars caused by African swine fever virus (ASFV), with a mortality rate of up to 100%. In order to replicate efficiently in macrophages and monocytes, ASFV has evolved multiple strategies to evade host antiviral responses. However, the underlying molecular mechanisms by which ASFV-encoded proteins execute immune evasion are not fully understood. In this study, we found that ASFV pH240R strongly inhibits transcription, maturation, and secretion of interleukin-1β (IL-1β). Importantly, pH240R not only targeted NF-κB signaling but also impaired NLRP3 inflammasome activation. In this mechanism, pH240R interacted with NF-kappa-B essential modulator (NEMO), a component of inhibitor of kappa B kinase (IKK) complex and subsequently reduced phosphorylation of IκBα and p65. In addition, pH240R bonded to NLRP3 to inhibit NLRP3 inflammasome activation, resulting in reduced IL-1β production. As expected, infection with H240R-deficient ASFV (ASFV-ΔH240R) induced more inflammatory cytokine expression both in vitro and in vivo than its parental ASFV HLJ/18 strain. Consistently, H240R deficiency reduced the viral pathogenicity in pigs compared with its parental strain. These findings reveal that the H240R gene is an essential virulence factor, and deletion of the H240R gene affects the pathogenicity of ASFV HLJ/18 by enhancing antiviral inflammatory responses, which provides insights for ASFV immune evasion mechanisms and development of attenuated live vaccines and drugs for prevention and control of ASF. IMPORTANCE African swine fever (ASF), caused by African swine fever virus (ASFV), is a highly contagious and acute hemorrhagic viral disease of domestic pigs, with a high mortality approaching 100%. ASFV has spread rapidly worldwide and caused huge economic losses and ecological consequences. However, the pathogenesis and immune evasion mechanisms of ASFV are not fully understood, which limits the development of safe and effective ASF attenuated live vaccines. Therefore, investigations are urgently needed to identify virulence factors that are responsible for escaping the host antiviral innate immune responses and provide a new target for development of ASFV live-attenuated vaccine. In this study, we determined that the H240R gene is an essential virulence factor, and its depletion affects the pathogenicity of ASFV by enhancing NLRP3-mediated inflammatory responses, which provides theoretical support for the development of an ASFV attenuated live vaccine.