The Danish shipping group owns a 20.05% stake worth $5.4bn in the lender.
Its share of the bank's profit in 2014 was $330m, up from $254m in 2013. Profitability improved and a goodwill provision of $202m from 2008 was reversed, it said.
Danske stock will be offered to its shareholders.
Group CEO Nils Andersen said: "In the continuing efforts to focus our portfolio and share value creation with our shareholders, it has been decided to divest our Danske Bank shares."
The