Objective: To investigate the combined effect of transcranial magnetic stimulation (TMS) and transcranial direct current stimulation on improving lower limb function in stroke patients. Design: Randomized controlled trial. Subjects/Patients: Subacute stroke patients. Methods: 169 post-stroke hemiplegia patients were randomly divided into 4 groups (control, transcranial direct current stimulation, transcutaneous auricular vagus nerve stimulation, and transcutaneous auricular vagus nerve stimulation combined with transcranial direct current stimulation) and evaluated using the Fugl-Meyer Assessment-Lower Extremity (FMA-LL), Timed Up-and-Go (TUG) test, Modified Barthel Index (MBI), Berg Balance Scale (BBS), gait parameters, and surface electromyography (sEMG). Results: Significant improvements in FMA-LL, MBI, BBS, TUG, gait parameters, and sEMG were noted in the intervention groups compared with the control, with the transcutaneous auricular vagus nerve stimulation combined with transcranial direct current stimulation group showing the most pronounced improvements. Differences in some outcomes were also notable between the transcutaneous auricular vagus nerve stimulation and transcranial direct current stimulation groups. Conclusion: The combination of transcutaneous auricular vagus nerve stimulation and transcranial direct current stimulation effectively enhances gait, balance, and daily living activities in subacute stroke patients. These benefits are likely due to transcutaneous auricular vagus nerve stimulation activating the solitary and trigeminal nuclei and transcranial direct current stimulation stimulating the motor cortex. Wearable gait analysis systems and electromyography are valuable in clinical gait assessment for these patients.