A shortage of available containers in Asia during the pandemic has led to a surge in freight rates.
For the full-year 2020, Maersk recorded a net profit of $2.9 billion (2.4 billion euros) in its ongoing operations.
Revenue grew 2.2 percent to $39.7 billion, slightly more than analysts' estimates which ranged between $39.56 and $39.58 billion.
Gross operating profit, EBITDA, increased by 44 percent to $8.23 billion, thanks to reduced costs and optimisation of the supply chain.
The transport sector has recovered faster than other parts of the world economy as restrictions related to the Covid-19 pandemic have weighed more heavily on the consumption of services than on goods.
At the end of 2020, global container volumes were higher than at the end of 2019, the Danish freight behemoth noted.
“We are today a profitable, growing logistics company with a broad offering of ocean and air transportation,” chief executive Soren Skou said.
Since the sale of its oil division to France's Total in 2017, Maersk has undertaken a major restructuring to refocus on transport and logistics.
Maersk aims to become carbon neutral by 2050 and reported a drop of over 40 percent in emissions for the year as a whole.
The company operates in 130 countries and employs some 80,000 people worldwide.