Protective immunity against intestinal helminths requires induction of robust type-2 immunity orchestrated by various cellular and soluble effectors which promote goblet cell hyperplasia, mucus production, epithelial proliferation, and smooth muscle contractions to expel worms and re-establish immune homeostasis. Conversely, defects in type-2 immunity result in ineffective helminth clearance, persistent infection, and inflammation. Macrophages are highly plastic cells that acquire an alternatively activated state during helminth infection, but they were previously shown to be dispensable for resistance to Trichuris muris infection. We use the in vivo mouse model A20myel-KO, characterized by the deletion of the potent anti-inflammatory factor A20 (TNFAIP3) specifically in the myeloid cells, the excessive type-1 cytokine production, and the development of spontaneous arthritis. We infect A20myel-KO mice with the gastrointestinal helminth Trichuris muris and we analyzed the innate and adaptive responses. We performed RNA sequencing on sorted myeloid cells to investigate the role of A20 on macrophage polarization and type-2 immunity. Moreover, we assess in A20myel-KO mice the pharmacological inhibition of type-1 cytokine pathways on helminth clearance and the infection with Salmonella typhimurium. We show that proper macrophage polarization is essential for helminth clearance, and we identify A20 as an essential myeloid factor for the induction of type-2 immune responses against Trichuris muris. A20myel-KO mice are characterized by persistent Trichuris muris infection and intestinal inflammation. Myeloid A20 deficiency induces strong classical macrophage polarization which impedes anti-helminth type-2 immune activation; however, it promotes detrimental Th1/Th17 responses. Antibody-mediated neutralization of the type-1 cytokines IFN-γ, IL-18, and IL-12 prevents myeloid-orchestrated Th1 polarization and re-establishes type-2-mediated protective immunity against T. muris in A20myel-KO mice. In contrast, the strong Th1-biased immunity in A20myel-KO mice offers protection against Salmonella typhimurium infection. We hereby identify A20 as a critical myeloid factor for correct macrophage polarization and appropriate adaptive mucosal immunity in response to helminth and enteric bacterial infection.