Because of the increasing use of immunosuppressive and biological drugs, the occurrence of opportunistic infections has become a key safety issue for patients with inflammatory bowel disease (IBD). Consequently, improvement of healthcare workers' knowledge of this domain is urgent. In this review, the preventive measures that would help to reduce the rate of opportunistic infections in patients with IBD are listed, and the management of situations frequently confronting doctors is considered. In the absence of national and international recommendations, the information given here should help doctors to optimise patient outcomes.