Inflammation is a fundamental innate immune response to perturbed tissue homeostasis. Chronic inflammatory processes affect all stages of tumour development as well as therapy. In this Review, we outline the principal cellular and molecular pathways that coordinate the tumour-promoting and tumour-antagonizing effects of inflammation and we discuss the crosstalk between cancer development and inflammatory processes. In addition, we discuss the recently suggested role of commensal microorganisms in inflammation-induced cancer and we propose that understanding this microbial influence will be crucial for targeted therapy in modern cancer treatment.