The Scandinavian country's military reported that two Danish soldiers were killed in a gunbattle with Taliban fighters in southern Afghanistan.
The soldiers were part of a Danish reconnaissance unit that came under fire in Gereshk Valley in Helmand Province, the Army Operational Command said.
The two were evacuated by helicopter to a Danish camp where they were pronounced dead.
"It is with great regret that I have received the news that two Danish soldiers from the reconnaissance unit in the Danish battalion in southern Afghanistan fell in a battle with the Taliban," Maj. Gen. Poul Kiaerskou, head of the Army Operational Command, said in a statement.
The military did not release any other details about the shooting.
Denmark has some 600 troops in Helmand province that are part of NATO's 40,000-member force in Afghanistan.
A total of nine Danish troops have now been killed in Afghanistan.
French President Emmanuel Macron does not exclude sending NATO troops to Ukraine for security in Europe and for Russia's defeat in the conflict. There is currently no consensus on the need to send NATO troops to the country