Ban will call on President Asif Ali Zardari and Prime Minister Nawaz Sharif and meet the Advisor to the Prime Minister on National Security and Foreign Affairs, Sartaj Aziz.
The Secretary-General will be a special guest at the flag hoisting ceremony on August 14, Pakistan's Independence Day.
Ban will receive a briefing at the National Disaster Management Authority and also meet Punjab Chief Minister Shahbaz Sharif, the younger brother of the premier.
He will also inaugurate the Center for International Peace and Stability at the National University of Science and Technology in Islamabad and attend an event on youth and education.
"Pakistan attaches great significance to the United Nations and accords high importance to the visit of the Secretary-General Ban Ki-moon. During the visit, views will be exchanged on important global and regional issues," said a statement issued by the Foreign Office.