Our results showed that immune response to hepatitis B vaccination in patients with UC treated with IFX is attenuated compared to those treated with 5-ASA; therefore, healthcare providers should emphasize the importance of adherence to HBV vaccination for patients with IBD before starting anti-TNF therapy. Here, TNF is linked to inflammatory bowel disease.