Otto Donner, 79, a retired official of the World Bank and former faculty member of Georgetown University, died Tuesday at George Washington University Hospital. He had a heart ailment.

Dr. Donner was the World Bank's executive director for Germany for 14 years before retiring in 1968. In that post he was the West German government's chief representative in the bank. Before joining the World Bank, he had been an alternate executive director of the International Monetary Fund for two years.

He taught economics at Georgetown University from 1947, when he came to the Washington area, until 1968. He was the author of works on statistics, foreign aid and business cycles.

After retiring from the bank, Dr. Donner, who lived in Kensington, was a consultant in Washington for the Westdeutsche Landesbank.

Dr. Donner was a citizen of his native Germany. He earned his doctoral degree in economics at the University of Berlin. After working for the German Institute for Economic Research and the German Statistical Institute, he became an economics professor at the University of Hamburg in 1941. Three years later he took a similar post at the Economic University of Berlin. He came here in 1947.

His marriage to the former Jane Esch ended in divorce.

Dr. Donner's survivors include his wife, the former Mary Wichser, of Kensington; two sons by his first marriage, Neal, of Los Angeles, and Michael, of Falls Church, and three grandchildren.

The family suggests that expressions of sympathy be in the form of contributions to a charity of one's choice.