Bangladesh could rescue 396 Rohingya people from the vessel which had been adrift in sea for weeks after failing to reach Malaysia.
But in the attempt, at least 24 Rohingya died at sea after their boat failed to reach Malaysia, the coastguard in Bangladesh said on Thursday
"They were at sea for about two months and were starving," an official from the coastguard told Reuters news agency.
Video images showed a crowd of mostly women and children, some stick-thin and barely able to stand, being helped to shore. One refugee told a reporter that the group had been turned back from Malaysia three times and at one point there was a fight on board between the passengers and the crew.
The official said a "final decision" had been made to send those rescued to neighbouring Myanmar. Myanmar does not recognise Rohingya as citizens, and they face severe curbs on their movement as well as access to jobs, healthcare and education.