Overexpressing YAP or TAZ enhances viral infection in human cells and zebrafish, while myeloid YAP deficiency has an opposite effect in mice. Here, YAP1 is linked to viral infectious disease.