Objective: This study aimed to research the effect of transcranial direct current stimulation (tDCS) and functional electrical stimulation (FES) on the lower limb function of post-convalescent stroke patients.Methods: A total of 122 patients in the stroke recovery stage who suffered from leg dysfunction were randomly divided into two groups: a tDCS group (n = 61) and a FES group (n = 61). All patients received same routine rehabilitation and equal treatment quality, the tDCS group was treated with tDCS, while the FES group received FES. The lower limb Fugl-Meyer assessment (FMA), modified Barthel index (MBI), functional ambulatory category (FAC), and somatosensory evoked potential (SEP) were used to assess the patients at three different stages: prior to treatment, 4 weeks after treatment, and 8 weeks after treatment.Results: The assessment scores for FMA, MBI, and FAC for the lower extremities after treatment (P > 0.05) were compared with those before treatment. The FMA, MBI, and FAC scores of the tDCS group were significantly higher than those of the FES group in all three stages (P < 0.05). The FMA, MBI, and FAC assessment scores of both groups were significantly higher after 4 weeks of treatment than that before treatment, and the scores after 8 weeks of treatment were significantly higher than those after 4 weeks after treatment (P < 0.05). The P40, N45 latencies decreased and the P40, N45 amplitudes increased, but there was no significant difference before treatment and after treatment (P >0.05), and there was no significant difference of the tDCS and FES groups before treatment and after treatment.Conclusion: In conclusion, FMA, MBI, and FAC indicate that both tDCS and FES can significantly promote the recovery of a patient’s leg motor function and tDCS is more effective than FES in the stroke recovery stage. The application value of SEP in stroke patients remains to be further studied.