No other details were provided.
Trudeau said Lim's "health and well-being remain of utmost importance to the government of Canada, and we are working to ensure that he receives any required medical attention".
The prime minister also thanked Sweden for its assistance in the matter but said "operational security considerations" prevents the government from discussing the matter further.
Lim pastored the Light Korean Presbyterian Church in Toronto.
Lim's case was taken up by a delegation led by Jean that had gone to North Korea earlier in the week.More news: Bachelorette Finale: How long is this relationship going on?
Lim, who served in one of the largest churches in Canada, had been sentenced to hard labor for life in December 2015 after North Korea accused him of attempting to overthrow the regime.
Pak said Lim has "a long way to go in terms of. healing". He is of South Korean origin. He also runs a smaller church in downtown Toronto that caters to young people.
The DPRK's actions, which the statement says "gave threat to global peace and security", will block transactions in coal, iron and iron ore, ban imports of copper, nickel, silver and zinc from North Korea, as well as suspend scientific and technical cooperation and even slow the flow of earnings made by the country's citizens while overseas being sent home. He has made over 100 trips to the North since 1997 and helps to run nursing home and orphanages there.
It's good to see at least one bright spot amid the sound and fury of the rhetorical standoff over North Korea.
Lim's release came amid heightened rhetoric between Washington and Pyongyang but there was no clear connection between the two.More news: Japanese actor who played the original Godzilla, Haruo Nakajima, dies at 88
Lim's family had become increasingly anxious about his welfare since the death of American student Otto Warmbier in June, just days after he had been released from a North Korean prison. He is known to need medication to manage high blood pressure and was reportedly in poor health during his time in North Korea.
In a statement Thursday on his website, Canadian Prime Minister Justin Trudeau expressed relief that Lim had been freed.
It's not known what persuaded the North Koreans to do the decent thing in this case and allow Lim to return home to Canada.
"If North Korea uses an intercontinental ballistic missile, from launch to impact (in Hawaii) is approximately 20 minutes", Lt. Col. Charles Anthony, director of public affairs for the state's Department of Defense, told CNN.More news: Ahmed Patel woos his flock ahead of today's Rajya Sabha elections