Ban would become the first secretary general to address the session, Bach said. The IOC has observer status at the United Nations.
"The secretary general has accepted the invitation to attend the IOC session and deliver a keynote address," Bach told reporters in the Russian Black Sea resort of Sochi, where the Games begin on Friday.
Several heads of state, including US President Barack Obama, German President Joachim Gauck and President Francois Hollande of France, will not attend the Games in what many see as a snub to Russia.
The country has come under mounting criticism over its human rights record and the passing of an anti-gay propaganda law that critics say curtails the rights of homosexuals.
Image: Ban Ki-moon
Photograph: Joerg Koch/Getty Images
Most AMAZING photographs of the month: January
REWIND: Best PHOTOS in the last 48 hours
IOC chief says seven-year rule not set in stone
Protest in press room not podium, IOC tells athletes at Sochi Olympics
Japan PM may attend Sochi Games, China says no plans to meet Xi