After Portugal failed to beat Chile in the semi-finals of the tournament, he wrote: "I was in the service of the national team, as always, body and soul, even though my two (babies) were born.
"Unfortunately, we have not been able to achieve the main sporting objective that we wanted, but I am sure we will continue to give joy to the Portuguese.
"The President of the Portuguese Football Federation and the national picker have today had an attitude that has touched me and I will not forget.
"I'm very happy to finally be with my children for the first time."
So happy to be able to hold the two new loves of my life 🙏❤ pic.twitter.com/FIY11aWQm9
Meanwhile, the Portuguese Football Federation also released a statement confirming Ronaldo's early departure from the cup to focus on his family.
It read: "The President of the FPF and the National Team were informed before the Confederations Cup by the National Team captain, Cristiano Ronaldo, that he had been a father.
"The athlete, despite the birth of his children, made a point of being in the service of the National Team, in a gesture that we must underline and praise.
"The President of the FPF and the National Selector understand that if it is impossible to reach the goal of winning the Confederations Cup, they must release the athlete so that he can finally get to know his children."