Under hyperglycemic conditions, sustained YY1 nuclear translocation induced significant Pim3 up-regulation, eventually leading to cardiac hypertrophy and HF in mice. Here, YY1 is linked to hydrops fetalis.