Ban said he made a late invitation after intensive talks over two days with Iran's Foreign Minister Mohammad Javad Zarif, who agreed to attend.
Iran's involvement means all key countries linked to the worsening war will be among 40 nations at the opening of the peace conference in Montreux, Switzerland on Wednesday.
It is also a new boost to efforts to end the three year-old civil war after the opposition Syrian National Coalition decided on Saturday to attend the conference.
Talks between President Bashar al-Assad's government and the opposition are due to start in Geneva on Friday.
Iran is a key financial and military backer of Assad while Ban has already invited Saudi Arabia, a major supporter of the Syrian opposition.
"Foreign Minister Zarif and I agree that the goal of the negotiations is to establish, by mutual consent, a transitional governing body with full executive powers," Ban told a press conference.
"He assured me again and again that Iran, if they are invited, then they will play a very positive and constructive role," the UN secretary-general added.
The United States and other Western powers had opposed Iran's attendance at the meeting as long as it refused to accept a communique adopted by the major powers in Geneva on June 30, 2012 calling for a transitional government in Syria.
Up to this weekend, Iran had said it would attend the peace conference as long as there were no conditions.
Ban had joined Russia in arguing for Iran's presence at the meeting.
"I believe strongly that Iran needs to be part of the solution to the Syrian crisis," Ban said.
He added that he had embarked on the talks with Zarif in a bid "to create the best possible atmosphere for the success of this crucially important undertaking."
There will now be 40 countries and a group of regional bodies at the opening meeting, which will be the most intensive diplomatic effort yet to end a war that the UN says has left well over 100,000 dead.
Ban said that as host of the peace conference he also made last-minute invitations to Australia, Bahrain, Belgium, Greece, Luxembourg, Mexico, Netherlands, South Korea and the Vatican.
He said the extra countries would be "an important and useful show of solidarity in advance of the hard work that the Syrian government and opposition delegations will begin."
The United States and Russia played key roles convincing pressing the opposition and Assad to send delegations to the conference, which has been pushed back several times.
They will attend alongside the other permanent members of the UN Security Council -- China, Britain and France -- and additional countries suffering fallout from the war, including Iraq, Jordan and Lebanon.
Ban said it was vital for the ministers at the Montreux meeting to urge the Syria protagonists "to act and negotiate in good faith for their own future."
"This violence must stop for humanity and for the future of Syrians," said the head of the United Nations, which has launched its biggest ever operation to help refugees from the conflict and millions inside Syria who have been left homeless and without food.
More than 2.3 million people have fled the country and some 6.5 million are displaced inside Syria.
--------------------------------------------------
Iran's involvement means all key countries linked to the worsening war will be among 40 nations at the opening of the peace conference in Montreux, Switzerland on Wednesday.
It is also a new boost to efforts to end the three year-old civil war after the opposition Syrian National Coalition decided on Saturday to attend the conference.
Talks between President Bashar al-Assad's government and the opposition are due to start in Geneva on Friday.
Iran is a key financial and military backer of Assad while Ban has already invited Saudi Arabia, a major supporter of the Syrian opposition.
"Foreign Minister Zarif and I agree that the goal of the negotiations is to establish, by mutual consent, a transitional governing body with full executive powers," Ban told a press conference.
"He assured me again and again that Iran, if they are invited, then they will play a very positive and constructive role," the UN secretary-general added.
The United States and other Western powers had opposed Iran's attendance at the meeting as long as it refused to accept a communique adopted by the major powers in Geneva on June 30, 2012 calling for a transitional government in Syria.
Up to this weekend, Iran had said it would attend the peace conference as long as there were no conditions.
Ban had joined Russia in arguing for Iran's presence at the meeting.
"I believe strongly that Iran needs to be part of the solution to the Syrian crisis," Ban said.
He added that he had embarked on the talks with Zarif in a bid "to create the best possible atmosphere for the success of this crucially important undertaking."
There will now be 40 countries and a group of regional bodies at the opening meeting, which will be the most intensive diplomatic effort yet to end a war that the UN says has left well over 100,000 dead.
Ban said that as host of the peace conference he also made last-minute invitations to Australia, Bahrain, Belgium, Greece, Luxembourg, Mexico, Netherlands, South Korea and the Vatican.
He said the extra countries would be "an important and useful show of solidarity in advance of the hard work that the Syrian government and opposition delegations will begin."
The United States and Russia played key roles convincing pressing the opposition and Assad to send delegations to the conference, which has been pushed back several times.
They will attend alongside the other permanent members of the UN Security Council -- China, Britain and France -- and additional countries suffering fallout from the war, including Iraq, Jordan and Lebanon.
Ban said it was vital for the ministers at the Montreux meeting to urge the Syria protagonists "to act and negotiate in good faith for their own future."
"This violence must stop for humanity and for the future of Syrians," said the head of the United Nations, which has launched its biggest ever operation to help refugees from the conflict and millions inside Syria who have been left homeless and without food.
More than 2.3 million people have fled the country and some 6.5 million are displaced inside Syria.
--------------------------------------------------