South Africa recovered from 57/4 through centuries from Tristan Stubbs and Lhuan-dre Pretorius before bowling Bangladesh out for 234 to take an unassailable 2-0 lead in the ODI series.
South Africa chased down Bangladesh's 246-run target in just 36.5 overs to win the first ODI by six wickets at Buffalo Park, taking a 1-0 lead in the three-match series.
South Africa and Bangladesh begin their three-match ODI series at Buffalo Park in East London on December 1, with both sides looking to reset after the Test series.