A marine police patrol arrested 62 asylum seekers from Myanmar, Bangladesh and Nepal aboard a ship off the coast of Karawang, West Java on Friday.
The undocumented migrants were taken to the Karawang immigration office for questioning, report various international online media.
Forty-one of the migrants were from Bangladesh, while 18 were from Myanmar and three from Nepal. Two Indonesian crewmen were also arrested.
Karawang district immigration officials said the arrests were made following a tip-off by residents who saw the boat off the coast.
It was later discovered that the boat had suffered a leak, stranding it adrift.
The immigration officials said after their data was registered, the 62 individuals would be taken to Bogor, a place in West Java, where the immigration office has a detention facility.
Indonesia has increasingly been used as a stepping stone by asylum seekers aiming to enter Australia illegally.