Pena Nieto, who took office in December, visited China in April to attend the Boao Asia Forum in Hainan province, where he met Xi.
Trade between the two countries was $36 billion last year, more than seven times what it was in 2003, when China and Mexico established a strategic partnership.
Liu Yuqin, a researcher of Latin American studies at the China Foundation for International Studies and former Chinese ambassador to Ecuador, Chile and Cuba, said the elevation of the bilateral relationship is based on the two countries' well-developed cooperation and shows that they consider each other important.
The Sino-Mexican relationship has developed well in many areas, including the economy, politics and culture, since they established diplomatic ties in 1972, Liu said.
"Despite some trade friction, the two countries have more common interests and have a strong desire to resolve differences through dialogue and negotiations," she said.
Liu said Mexico, an important member of the Community of Latin American and Caribbean States, plays an important role in promoting China's relations with this region.
"The enhanced China-Mexico relationship and Mexico's positive response to the establishment of the China-Latin America Cooperation Forum, which was advocated last year by former premier Wen Jiabao, is important to future cooperation between China and the whole region," Liu said.
Theodore Kahn, a researcher at Inter-American Bank, described Xi's visit to Mexico as a chance to "relaunch" the two countries' relations after a decade.
"Both countries have something to gain by closer ties, but seizing the opportunity will require dropping long-held preconceptions about the commercial relationship," Kahn wrote in The Diplomat on Tuesday.
"The arrival of new leaders in both countries presents an opportunity to forge a closer, more fruitful alliance between two key emerging markets."
Kahn believes Mexico should get over its obsession with trade deficits, which he said are numbers that fail to capture the complexity of the countries' commercial relationship and hinder opportunities for further cooperation.
He believes that Mexico stands to gain from China's expanding foreign direct investment, particularly in the energy sector, and in Mexico's own increasingly competitive manufacturing industry, especially in the wake of China's rising labor costs.
"Cooperation in these areas of mutual interest would give Mexico more leverage to address the trade-balance issue in a pragmatic way," Kahn said.
"Stronger overall ties, grounded in cooperation on areas of mutual interest, will make progress on trade issues more likely."
Shannon O'Neil, a senior fellow for Latin American studies at the Council on Foreign Relations, said that in the past few years, many in Mexico saw China as a competitor in international trade.
She believes Xi's visit and the agreements are an opportunity to begin changing this perception and reality, increasing trade in both directions.
Xi is scheduled to fly to California on Thursday, to meet with US President Barack Obama.
R. Evan Ellis, an analyst on Latin American economic, political and security issues at the Pentagon-funded National Defense University in Washington, said Xi's visit could help transform China's relations with the region.
Discussions about Latin America aren't likely to make it onto Xi's packed agenda with Obama in California, but the fact that the Chinese leader will have just arrived from a country as crucial to US interests as Mexico is a clear signal of China's increasingly confident role in the region, Ellis said.