Acute-phase proteins (APPs) are key effectors of the immune response and are routinely used as biomarkers in cerebrovascular diseases, but their role during brain inflammation remains largely unknown. Elevated circulating levels of the acute-phase protein pentraxin-3 (PTX3) are associated with worse outcome in stroke patients. Here we show that PTX3 is expressed in neurons and glia in response to cerebral ischemia, and that the proinflammatory cytokine interleukin-1 (IL-1) is a key driver of PTX3 expression in the brain after experimental stroke. Gene deletion of PTX3 had no significant effects on acute ischemic brain injury. In contrast, the absence of PTX3 strongly compromised blood-brain barrier integrity and resolution of brain edema during recovery after ischemic injury. Compromised resolution of brain edema in PTX3-deficient mice was associated with impaired glial scar formation and alterations in scar-associated extracellular matrix production. Our results suggest that PTX3 expression induced by proinflammatory signals after ischemic brain injury is a critical effector of edema resolution and glial scar formation. This highlights the potential role for inflammatory molecules in brain recovery after injury and identifies APPs, in particular PTX3, as important targets in ischemic stroke and possibly other brain inflammatory disorders.