Cerebral infarction is a local or extensive necrosis of brain tissue. Subsequently, the corresponding neurological deficits appear. The incidence of cerebrovascular diseases in China is increasing gradually. After the onset of cerebrovascular disease, the most common sequelae include movement disorders, language disorders, and cognitive dysfunction. To investigate the effect of early refined nursing program on the prognosis of middle-aged and elderly patients with cerebral infarction combined with cognitive dysfunction. A retrospective study was conducted to divide 60 patients with cerebral infarction and cognitive impairment into an experimental group (n = 32) and a control group (n = 28). The experimental group received early intensive care every day, and the control group received daily routine care. The scores of the Mini-Mental State Examination (MMSE) and the Trail Making Test (TMT), as well as the latency and amplitude of the event-related potential P300, were used as main indicators to evaluate changes in cognitive function, and changes in BDNF, TGF-β, and GDNF expression were used as secondary indicators. Both groups experienced notable enhancements in MMSE scores, with the experimental group demonstrating higher scores than the control group (experimental: 28.75 ± 2.31; control: 25.84 ± 2.87). Moreover, reductions in TMT-A and TMT-B scores were observed in both groups (experimental: TMT-A 52.36 ± 6.18, TMT-B 98.47 ± 10.23; control: TMT-A 61.48 ± 7.92, TMT-B 112.63 ± 12.55), with the experimental group displaying lower scores. P300 Latency decreased (experimental: 270.63 ms ± 14.28 ms; control: 285.72 ms ± 16.45 ms), while amplitude increased (experimental: 7.82 μV ± 1.05 μV; control: 6.35 μV ± 0.98 μV) significantly in both groups, with superior outcomes in the experimental cohort. Additionally, the levels of the growth factors BDNF, TGF-β1, and GDNF surged (experimental: BDNF 48.37 ng/mL ± 5.62 ng/mL, TGF-β1 52.14 pg/mL ± 4.28 pg/mL, GDNF 34.76 ng/mL ± 3.89 ng/mL; control: BDNF 42.58 ng/mL ± 4.73 ng/mL, TGF-β1 46.23 pg/mL ± 3.94 pg/mL, GDNF 30.25 ng/mL ± 2.98 ng/mL) in both groups, with higher levels in the experimental group. For middle-aged and elderly patients with cerebral infarction and cognitive dysfunction, early refined nursing can significantly improve their cognitive function and prognosis.