Oxidative stress, one of the many factors leading to the deterioration of β cell function during the development of type 2 diabetes, can be prevented by the action of thioredoxin (Trx), a redox protein expressed in pancreatic β cells. This evidence concerns the gene TXN and type 2 diabetes mellitus.