The results revealed that, after adjusting for confounding factors such as age, gender, smoking history, atrial fibrillation, pulmonary inflammation, chronic obstructive pulmonary disease, diabetes, pulmonary hypertension, BMI, NT-proBNP, LVEF, and eGFR, serum d-dimer levels were positively correlated with the risk of intracardiac thrombus across different subgroups. Here, NPPB is linked to pulmonary hypertension.