Canadian Prime Minister Justin Trudeau will visit Beijing this week seeking deeper ties with China but a trade dispute, government divisions over China policy and the case of a detained citizen could limit his gains.

China welcomed last year's election victory by Trudeau's Liberals, recalling fondly that his father Pierre Trudeau was prime minister when Canada formally established relations with Beijing in 1970.

But nostalgia will only go so far in discussions over contentious issues after Trudeau arrives in Beijing on Tuesday at noon in one of his biggest foreign policy tests so far.