Highly regulated, though still controversial, elephants, sea lions and zebras are the only animals that can be used in circuses in Denmark.
But a new anti-cruelty law will be introduced to parliament soon to impose a blanket ban for all animals, the ministry of food, agriculture and fisheries said in a statement.
The government will pay 11 million krone ($1.6 million, 1.4 million euros) to buy Ramboline, Lara, Djunga and Jenny, it said.
The animals will be sent to a zoo to live out their last days, though it is not yet clear which one.
“The elephants will be sent to the establishment that can offer them the highest level of well-being,” said the ministry.
More than 40 countries around the world, about half of them in Europe, have restricted or banned the use of wild animals in zoos.