This study examined the effects of hyperglycemia and treatment with the aldose reductase inhibitor, Tolrestat, on the pain behavior evoked by injection of formalin into the dorsum of a single hind paw. In control rats, injection of formalin (50 microliters of a 5% solution) evoked two phases of flinching of the injected paw (phases 1 and 2), separated by a quiescent period. Four weeks of streptozotocin-induced diabetes or galactose intoxication did not alter the frequency of flinching during either of the active phases but significantly (P < 0.001 and P < 0.05, respectively) enhanced flinch frequency during the quiescent period. Concurrent treatment with Tolrestat (50 mg/kg/day by gavage) during hyperglycemia prevented the accumulation of the polyol pathway metabolites sorbitol and fructose in the nerve and spinal cord of streptozotocin-diabetic rats and also significantly (P < 0.05) reduced the enhanced flinching of diabetic rats during the quiescent period. These data demonstrate that hyperglycemia induces a period of Tolrestate-preventable hyperalgesia in a paradigm that is used to model persistent pain and suggest that exaggerated flux through aldose reductase may initiate changes in nociceptive pathways that could contribute to some of the pain states experienced by patients with diabetic neuropathy.