XBP1 and viral infectious disease: We discuss how these apparently paradoxical effects on the IRE1α-XBP1 signaling axis might coordinately optimize viral replication during the rapid changes in the intracellular environment that accompany viral infection.