Three Afghan migrants, including a pregnant woman, drowned in a river swelled by heavy rain as they tried to cross into Macedonia from Greece early on Monday, officials said.
Another 19 Afghans who tried to cross with them were taken to a nearby reception centre by Macedonian authorities and four, who were injured, were taken to hospital, said Natalija Spirova Kordic, a spokeswoman for the interior ministry.
The spokeswoman said the three who drowned were a pregnant woman, her teenage sister, and one man. Earlier she had said the victims were two men and one woman.
"Three migrants from Afghanistan drowned in the waters of the Suva Reka at about 3:30am (0230 GMT) after illegally crossing the Macedonian-Greek border near village of Moin," said a statement from Macedonia's crisis management centre.
More than 14,000 people are stuck on the Greek side of the border in an overcrowded camp at Idomeni after the main migrant route to western Europe through the Balkans was effectively shut down last week.
Later on Monday, about 1,000 of them set off on foot towards Macedonia in search of an alternative route into the country, an AFP reporter saw, adding that the group was quickly surrounded by Greek police.
The group marched from the Idomeni camp to the nearby village of Chamilo, close to the sealed frontier with Macedonia. There was no immediate sign of any police across the border.
Babar Baloch, spokesman for the UN refugee agency, has described the Idomeni camp as "human misery at its peak".
The deaths came after several days of heavy rain in the border area which has led officials to instigate anti-flooding measures.