Lionel Scaloni has revealed he pushed to bring Lionel Messi back to the Argentina team for a farewell appearance because he was not certain he would still be in charge when another opportunity came around.

Messi announced his retirement from international football in August, only weeks after Argentina's 1-0 defeat by Spain in the World Cup final.

But the former Barcelona and Paris Saint-Germain forward will return to the national team for one final appearance when Argentina face Benin in a home friendly at Buenos Aires' Monumental Stadium on October 6.

Scaloni wanted Messi farewell to happen while he was still coach

Scaloni said he wanted to make sure Messi had the opportunity to say goodbye to Argentina supporters, particularly given the uncertainty surrounding his own future.

"I believe that a player like him deserves this. Personally, I did my part because I wanted to be at his farewell," Scaloni told reporters.

"Since I don't know if I would be here later, we pushed hard so that he could be in this match."

The Argentina coach said Messi had been going through a difficult period but still made the effort to return and share the occasion with supporters who have followed his international career.

"We knew everything he was going through and even so, he put in the desire and effort to want to come and be able to say goodbye with his people, with the people who love him so much," Scaloni said.

The 48-year-old believes the timing of the tribute is important because another opportunity may not carry the same significance.

"If we have to pay tribute, we have to do it at this moment. With him, it will never stop, but later, the magic might not be the same."

Scaloni's Argentina future remains unresolved

Messi's farewell comes against the backdrop of uncertainty over Scaloni's own position.

The coach guided Argentina to the 2022 World Cup title and two Copa America triumphs, but his current contract expires in December.

Scaloni said he is due to meet Argentine Football Association president Claudio Tapia in the coming days to discuss what happens next.

"It is a dream come true, but that doesn't mean I have to cling to the job forever," Scaloni said.

"There are certain conditions we need to discuss with the president and we'll see if we can reach an agreement."

For now, Scaloni will have the opportunity to oversee Messi's return to the Argentina team and what is expected to be his final appearance in front of his home supporters.

The farewell will give Argentina the chance to celebrate a player who helped deliver the country's first World Cup title since 1986, while Scaloni's own next chapter remains unresolved.