Glioblastoma (GBM) remains the most pervasive and lethal of all brain malignancies. One factor that contributes to this poor prognosis is the highly invasive character of the tumor. GBM is characterized by microscopic infiltration of tumor cells throughout the brain, whereas non-neural metastases, as well as select lower grade gliomas, develop as self-contained and clearly delineated lesions. Illustrated by rodent xenograft tumor models as well as pathological human patient specimens, we present evidence that one fundamental switch between these two distinct pathologies-invasion and noninvasion-is mediated through the tumor extracellular matrix. Specifically, noninvasive lesions are associated with a rich matrix containing substantial amounts of glycosylated chondroitin sulfate proteoglycans (CSPGs), whereas glycosylated CSPGs are essentially absent from diffusely infiltrating tumors. CSPGs, acting as central organizers of the tumor microenvironment, dramatically influence resident reactive astrocytes, inducing their exodus from the tumor mass and the resultant encapsulation of noninvasive lesions. Additionally, CSPGs induce activation of tumor-associated microglia. We demonstrate that the astrogliotic capsule can directly inhibit tumor invasion, and its absence from GBM presents an environment favorable to diffuse infiltration. We also identify the leukocyte common antigen-related phosphatase receptor (PTPRF) as a putative intermediary between extracellular glycosylated CSPGs and noninvasive tumor cells. In all, we present CSPGs as critical regulators of brain tumor histopathology and help to clarify the role of the tumor microenvironment in brain tumor invasion.