The British Airways flight to London was taxiing at OR Tambo International Airport when its right wing hit the building, injuring four people inside.
Images show the wing of the Boeing 747 wedged in the structure.
South Africa’s Civil Aviation Authority said the aircraft had travelled down a taxi-way that was too narrow for it.
The incident involving the Boeing 747-400 happened late on Sunday.
The control tower “told them to take one taxi-way and they took another one. They took a wrong one,” said aviation authority spokeswoman Phindiwe Gwebu.
None of those on board was injured but four ground staff in the building was hurt.
The passengers were allowed to leave the plane after about an hour but because of the fuel spillage they had still not been able to reclaim their luggage.
The aircraft has since been moved and operations have not been disrupted, Airports Company South Africa says.
Fl5gbdsyBFsImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…