Therapy resistance represents a significant challenge in oncology, occurring in various therapeutic approaches. Recently, animal models and an increasing set of clinical trials highlight the crucial impact of the gut and tumor microbiome on treatment response. The intestinal microbiome contributes to cancer initiation, progression, and formation of distant metastasis. In addition, tumor-associated microbiota is considered a critical player in influencing tumor microenvironment and regulating local immune processes. Intriguingly, numerous studies have successfully identified pathogens within the gut and tumor microbiome that might be linked to a poor response to different therapeutic modalities. The unfavorable microbial composition with the presence of specific microbes participates in cancer resistance and progression via several mechanisms, including upregulation of oncogenic pathways, macrophage polarization reprogramming, metabolism of chemotherapeutic compounds, autophagy pathway modulation, enhanced DNA damage repair, inactivation of a pro-apoptotic cascade, and bacterial secretion of extracellular vesicles, promoting the processes in the metastatic cascade. Targeted elimination of specific intratumoral bacteria appears to enhance treatment response. However, broad-spectrum antibiotic pre-treatment is mostly connected to reduced efficacy due to gut dysbiosis and lower diversity. Mounting evidence supports the potential of microbiota modulation by probiotics and fecal microbiota transplantation to improve intestinal dysbiosis and increase microbial diversity, leading to enhanced treatment efficacy while mitigating adverse effects. In this context, further research concerning the identification of clinically relevant microbiome signatures followed by microbiota-targeted strategies presents a promising approach to overcoming immunotherapy and chemotherapy resistance in refractory patients, improving their outcomes.