Diabetic encephalopathy is one of the most common complications of diabetes. Inflammatory events during diabetes may be an important mechanism of diabetic encephalopathy. Inflammasome is a multiprotein complex consisting of Nod-like receptor proteins (NLRPs), apoptosis-associated speck-like protein (ASC), and caspase 1 or 5, which functions to switch on the inflammatory process and the release of inflammatory factors. The present study hypothesized that the formation and activation of NLRP1 inflammasome turns on neuroinflammation and neuron injury during hyperglycemia. The results demonstrated that the levels of interleukin-1 beta (IL-1β) were increased in the cortex of streptozocin (STZ)-induced diabetic rats. The levels of mature IL-1β and IL-18 were also elevated in culture medium of neurons treated with high glucose (50 mM). The expression of three essential components of the NLRP1 inflammasome complex, namely, NLRP1, ASC, and caspase 1, was also upregulated in vivo and in vitro under high glucose. Silencing the ASC gene prevented the caspase-1 activation, and inhibiting caspase 1 activity blocked hyperglycemia-induced release of inflammatory factors and neuron injury. Moreover, we found that pannexin 1 mediated the actvitation of NLRP1 inflammasome under high glucose. These results suggest that hyperglycemia induces neuroinflammation through activation of NLRP1 inflammasome, which represents a novel mechanism of diabetes-associated neuron injury.