Anti-tumor necrosis factor agents are widely used in treating ankylosing spondylitis, but they increase the risk of infection by suppressing the immune response. Here, TNF is linked to infection.