All in place!
Seldom, things are left to sheer luck in Denmark. This is valid for tackling loneliness too. In a country whose people are known for not being very talkative, talk to strangers or make new friends easily, there are so many initiatives to make people socialize and get rid of loneliness. The best part is that they are so inclusive: locals or foreigners, younger or older.
For example, there are a lot of communal eating places, where you can join and eat together with strangers, at a very low cost, like “Denmark eats together”. Chances are you are going to find people to talk to and maybe take it further from there.
You can also become a “visiting friend”. Yes, this is a new term, perfectly fit for the Danes. Visiting a friend unexpectedly is a No-No but you can register yourself at the Danish Red Cross as a “visiting friend” and schedule visits to people who feel lonely: to chat and share stories and feelings. Most of the times, loneliness is about not having anybody to talk to and share things, right?
Plus you also got the Bonus grandparents or Pet friends. You can arrange to go help other people, in need of someone to take care of their pet while they are away or child when it is sick at home and parents work. In the latter case, you become a Bonus Grandma or Grandpa. How sweet!