Indonesia is to stop allowing its citizens to work as domestic servants in Saudi Arabia after the execution of a maid for murder last week.
Officials said the moratorium would begin on 1 August and last until the countries could agree on a policy of fair treatment for migrant workers.
Ruyati binti Sapubi, 54, was beheaded on Saturday after confessing to killing her employer, saying he had abused her.
Saudi Arabia apologised for not telling Indonesia, Jakarta said.
About 1.5 million Indonesians work in Saudi Arabia - many of them as domestic maids.
But there have been rows over alleged mistreatment in the recent past.
In April a Saudi woman, convicted of beating and torturing an Indonesian maid, had her conviction quashed on appeal - sparking protests in Indonesia.
Indonesian labour ministry spokeswoman Dita Indah Sari said the department would work closely with other government agencies on tightening all regulations concerning overseas domestic work.