Transected axons can regenerate beyond the site of injury in the peripheral but not in the central nervous system (CNS). Increasing evidence implicates inflammatory processes as modulators of axon regeneration after injury. In this study, we addressed a possible role of the matricellular glycoprotein osteopontin (OPN) using crush lesions of the optic and sciatic nerve as models of central and peripheral axotomy, respectively. OPN was strongly expressed by macrophages at the crush site in the optic but not sciatic nerve, indicating fundamental differences in the molecular programming of macrophages in both systems. Functionally, OPN exerted potent growth-inhibitory effects in an in vitro assay of axon outgrowth. Therefore, OPN expression by lesion-associated macrophages may contribute to the nonpermissive nature of the adult CNS preventing axonal regeneration following injury.