The North Korean leader met Mr Xi for one hour on Tuesday - believed to be Mr Kim's birthday - and the two later dined with their wives at Beijing's Great Hall of the People, according to South Korea's Yonhap news agency.
North Korean leader Kim Jong Un has reportedly told the leader of his only major ally, China, that he wants to "achieve results" on the nuclear standoff on the Korean Peninsula in a second summit with President Donald Trump.
The remark by Xi, during a meeting with Kim this week in Beijing, hinted at the depth of the differences that remain between Pyongyang and Washington after Trump and Kim pledged to work towards denuclearisation at their landmark summit in Singapore in June.
Mr Kim made what is believe to be his first official trip outside North Korea to China past year, even before meeting South Korea's President Moon and Mr Trump.
Mr Xi accepted an offer to visit North Korea, state media said.
A majority of Donald Trump's administration does not want to achieve a peace agreement with North Korea, as they wish to keep troops in South Korea and form a "strategic encirclement" of China, contends a former USA diplomat.
North Korea wants relief from the multiple sets of sanctions imposed on it over its nuclear weapon and ballistic missile programs, while the U.S. wants them to remain in place until it gives up its arms - something Pyongyang has made no public promise to do.
In an interview with CNBC on Monday, US Secretary of State Mike Pompeo praised China's support for resolving the North Korean crisis and said he did not think the US trade dispute with China would affect this. The North Korean leader said in his New Year's address that he might take a "new path" in negotiations if Trump didn't ease trade, travel and investment restrictions.
Arsenal to play Manchester United in FA Cup 4th round
Against Rotherham , for example, we played with nine players who didn't play against Liverpool and the nine were a good selection. Without that competition, if we had just one competition to play in, I could play with the same 11 or same 12.
Rami Malek responds to Nicole Kidman blanking him at Golden Globes
I'm privileged to be counted among you". "This is for and because of you gorgeous", Malek concluded. He added: "I have a feeling this is probably haunting me on the Internet".
Man wanted by police after being caught on video licking family’s doorbell
Police told the news station the doorbell licker could be charged with two misdemeanor charges, including prowling. The footage also showed the man appearing to relieve himself.
North Korea has carried out 6 nuclear blasts and launched missiles capable of reaching the whole of the United States, but has carried out no such tests for more than a year and blew up the entrances to a nuclear testing ground it said it no longer needed.
Relations between China and North Korea had deteriorated in recent years over Pyongyang's nuclear activities, but Mr Kim has made sure to keep Mr Xi informed about his dealings with the US and South Korea, and ties appear to have warmed.
Xi and his wife Peng Liyuan hosted a welcome banquet for Kim and his wife Ri Sol Ju and they watched an art performance together, according to Xinhua.
Kim acknowledged China's role in developments on the Korean peninsula.
Trump said Sunday that the United States and North Korea were negotiating the location of their next summit.
At Tuesday's daily Foreign Ministry briefing, spokesman Lu Kang said details of Kim's visit would be released "in due course".
The two sides agreed to make joint efforts to push for continuous new development of China-DPRK relations in the new era, constantly advance the political settlement process of the Korean Peninsula issue, bring more benefits to people of the two countries, and make positive contribution to peace, stability, prosperity and development of the region and the world.