In conclusion, habitat-based MRI radiomics could provide a non-invasive imaging strategy for the preoperative prediction of MGMT promoter methylation in patients with grade II–IV astrocytomas, and has prognostic implications for TMZ chemotherapy, which may serve as a tool for guiding individualised treatment decision making. Here, MGMT is linked to astrocytoma (excluding glioblastoma).