This study examined the link between physical activity levels, as measured by the Longshi Scale, and cardiac function and N-terminal pro-brain natriuretic peptide (NT-proBNP) levels in stroke patients, aiming to find correlations with stroke risk factors. The study involved 123 apoplexy patients divided into four groups based on the Longshi Scale: bedridden (31), domestic (32), community (30), and health (30). Clinical data was collected, and hemodynamic assessments were performed using impedance cardiography. Cardiac output time index (CTI) and estimated ejection fraction (EF est) were significantly reduced in both the domestic and community groups compared to the health group (P < 0.05), while diastolic arterial blood pressure (DABP) and systemic vascular resistance index (SVRi) were increased. In the bedridden group, stroke volume (SV), cardiac output (CO), CTI, left cardiac work index (LCWi), and EF est were all lower compared to the health group (P < 0.05), with SVRI and NT-proBNP levels being higher. Additionally, the bedridden group exhibited lower SV, CO, DABP, LCWi, CTI, and EF est when compared to the domestic and community groups (P < 0.05), but higher end-diastolic filling rate (EDFR) and NT-proBNP levels. The Longshi Scale grading positively correlated with SV (r = 0.536, P < 0.01), and NT-proBNP, EF, and cognitive dysfunction were found to be associated with activity levels in stroke patients. The Longshi Scale correlates with cardiac function indicators like NT-proBNP and EF, and can help identify stroke patients at risk of cardiac dysfunction. Moreover, cognitive dysfunction was identified as a significant factor influencing the range of activity in patients with stroke.