ZHX3, which encodes for a transcriptional repressor, is associated with fasting blood glucose (FBG) levels and increased type 2 diabetes (T2D) risk but its role in cell types involved in glucose metabolism is not well understood. Here, we show that the deletion of ZHX3 in the human pancreatic β cell line EndoC-βH1 did not impair glucose-stimulated insulin secretion (GSIS) nor perturb its transcriptome. On the other hand, we found that ZHX3 represses the expression of gluconeogenic genes PCK1 and G6PC1 in the human hepatoma line HepG2. Transcriptomic analysis of ZHX3-deficient HepG2 cells revealed that the uric acid transporter gene SLC17A1 was upregulated, which consequentially led to increased uric acid secretion. High levels of uric acid could then impair GSIS in EndoC-βH1 cells. Subsequently, in-depth co-immunoprecipitation followed by mass spectrometry analysis of ZHX3 in HepG2 cells identified transcription factor CEBPB as its binding partner, required to repress the transcription of PCK1, G6PC1 and partially SLC17A1 in HepG2 cells. Overall, our study uncovered the role of ZHX3 in regulating glucose metabolism in hepatocytes, thereby influencing FBG levels and its association with T2D risk.