Knockout of TRPV2 in myeloid cells or inhibition of TRPV2 channel activity suppresses viral infection and protects mice from herpes simplex virus 1 (HSV‐1) and vesicular stomatitis virus (VSV) infection. Here, TRPV2 is linked to infection.