Currently, there are no effective methods for assessing hepatic inflammation without resorting to histological examination of liver tissue obtained by biopsy. T2-weighted images (T2WI) are routinely obtained from liver magnetic resonance imaging (MRI) scan sequences. We aimed to establish a radiomics signature based on T2WI (T2-RS) for assessment of hepatic inflammation in people with nonalcoholic fatty liver disease (NAFLD). A total of 203 individuals with biopsy-confirmed NAFLD from two independent Chinese cohorts with liver MRI examination were enrolled in this study. The hepatic inflammatory activity score (IAS) was calculated by the unweighted sum of the histologic scores for lobular inflammation and ballooning. One thousand and thirty-two radiomics features were extracted from the localized region of interest (ROI) in the right liver lobe of T2WI and, subsequently, selected by minimum redundancy maximum relevance and least absolute shrinkage and selection operator (LASSO) methods. The T2-RS was calculated by adding the selected features weighted by their coefficients. Eighteen radiomics features from Laplacian of Gaussian, wavelet, and original images were selected for establishing T2-RS. The T2-RS value differed significantly between groups with increasing grades of hepatic inflammation (P<0.01). The T2-RS yielded an area under the receiver operating characteristic (ROC) curve (AUROC) of 0.80 [95% confidence interval (CI): 0.71-0.89] for predicting hepatic inflammation in the training cohort with excellent calibration. The AUROCs of T2-RS in the internal cohort and external validation cohorts were 0.77 (0.61-0.93) and 0.75 (0.63-0.84), respectively. The T2-RS derived from radiomics analysis of T2WI shows promising utility for predicting hepatic inflammation in individuals with NAFLD.