Pena Nieto's message on Twitter ended days of uncertainty about what he would do.
Esta mañana hemos informado a la Casa Blanca que no asistiré a la reunión de trabajo programada para el próximo martes con el @POTUS.— Enrique Peña Nieto (@EPN) January 26, 2017
"This morning, we have informed the White House that I will not attend the meeting scheduled for next week with @POTUS," he tweeted. "Mexico reiterates its willingness to work with the United States to achieve goals that favor both nations."
Nieto on Wednesday night said he rejects the decision by U.S. President Donald Trump to build a border wall and repeated that his country would not pay for it.
In a recorded address televised nationally, Pena Nieto said "I regret and reject the decision of the US to build the wall."
Trump's order came the same day Mexico's foreign relations and economy secretaries arrived in Washington for talks.
The Associated Press contributed to this report.