The invention discloses a hand function rehabilitation robot with a compact rigid-flexible coupling structure for stroke patients. The robot comprises a hand back support mechanism, five finger bending and extending driving mechanisms, a five-finger closing and splaying driving mechanism, a control processor, a sensing sensor and a power supply assembly, wherein the five finger bending and stretching driving mechanisms are same in structure, and each finger bending and stretching driving mechanism consists of a linear motor, a sliding rod, a metacarpal segment block, a driving spring steel sheet, a proximal segment block, a middle segment block, a distal segment block, a proximal segment block strap, a middle segment block strap, a distal segment block strap, three connecting spring steelsheets, three sliding connecting spring steel sheets and two sliding blocks; and the five-finger closing and splaying driving mechanism consists of a direct current motor, a pull rope, a first torsionspring, a second torsion spring and a third torsion spring. The robot can realize independent bending and stretching movement training of five fingers, and can also realize closing and splaying movement training of the five fingers.