The invention discloses a pharmaceutical composition for synergistically treating and preventing diabetic complication the composition contains 1-deoxynojirimycin and fagomine, and the weight ratio of the 1-deoxynojirimycin to the fagomine is 0.5-5:1.