A polarized macrophage response is presumed to have a pivotal role in a variety of immunological pathophysiology. However, the molecular mechanism underlying macrophage functional shaping remains largely unknown. In this study, we reveal a pivotal role of miR-127 in macrophage development and thereby the pathogenesis of inflammation and lung injury. In particular, miR-127 was demonstrated to be prominently induced upon TLR engagement and repressed by the M2-prone cytokines. Enforced expression of miR-127 in macrophages resulted in significantly increased production of proinflammatory cytokines, whereas deletion of miR-127 impaired M1 gene expression and led to a M2-biased response. Accordingly, intratracheal administration of miR-127 resulted in an exaggerated pulmonary inflammation and injury. Conversely, antagonizing of miR-127 suppressed production of the proinflammatory cytokines and rendered the mice more refractory to the inflammation-associated pathology. Mechanistically, miR-127 demonstrated to target B cell lymphoma 6 (Bcl6) and remarkably downregulated its expression and subsequently dual specificity phosphatase 1 (Dusp1), which in turn enhanced the activation of JNK kinase and hence the development of proinflammatory macrophages. Thereby, reconstitution with the expression of Bcl6 or Dusp1 or inhibition of JNK activity impaired miR-127–mediated skewing of M1 proinflammatory macrophages, whereas interference of Bcl6 or Dusp1 expression abrogated the anti-inflammatory property of anti–miR-127. Together, these data establish miR-127 as a molecular switch during macrophage development and as a potential target for treatment of inflammatory diseases.