Endoplasmic reticulum (ER) stress is involved in the development of glucose homeostasis impairment. When ER stress occurs, the unfolded protein response (UPR) is activated to cope with it. One of the UPR components is WFS1 (Wolfram syndrome 1), which plays important roles in ER homeostasis and pancreatic islets glucose-stimulated insulin secretion (GSIS). Accordingly and considering that feeding high-fat food has a major contribution in metabolic disorders, this study aimed to investigate the possible involvement of pancreatic ER stress in glucose metabolism impairment induced by feeding high-fat diet (HFD) in male rats. After weaning, the rats were divided into six groups, and fed on normal diet and HFD for 20 weeks, then 4-phenyl butyric acid (4-PBA, an ER stress inhibitor) was administered. Subsequently, in all groups, after performing glucose tolerance test, the animals were dissected and their pancreases were removed to extract ER, islets isolation and assessment of GSIS. Moreover, the pancreatic ER stress [binding of immunoglobulin protein (BIP) and enhancer-binding protein homologous protein (CHOP)] and oxidative stress [malondialdehyde (MDA), glutathione (GSH) and catalase] biomarkers as well as WFS1 expression level were evaluated. HFD decreased pancreatic WFS1 protein and GSH levels, and enhanced pancreatic catalase activity, MDA content, BIP and CHOP protein and mRNA levels as well as Wfs1 mRNA amount. Accordingly, it increased BIP, CHOP and WFS1 protein levels in the extracted ER of pancreas. In addition, the HFD caused glucose intolerance, and decreased the islets’ GSIS and insulin content. However, 4-PBA administration restored the alterations. It seems that, HFD consumption through inducing pancreatic ER stress, altered WFS1 expression levels, reduced the islets’ GSIS and insulin content and finally impaired glucose homeostasis.