US Republican candidate Donald Trump is to visit Mexico on Wednesday, hours before he details measures against illegal immigration in a speech.
Mr Trump tweeted that he was looking forward to meeting President Enrique Pena Nieto, who has invited both him and Democrat Hillary Clinton.
Mr Pena Nieto said dialogue would help "protect Mexicans wherever they are".
Mr Trump has condemned Mexican migrants during his campaign and vowed to build a wall between the two countries.
He will visit Mexico in between a fundraising event in California and his immigration speech in Phoenix, Arizona, on Wednesday night.