In conclusion, we found that apelin to NT-proBNP ratio < 0.82 × 10−2 units better predicted HFpEF in T2DM patients than apelin and NT-proBNP alone. This evidence concerns the gene NPPB and type 2 diabetes mellitus.