Bodies lay on the ground amid the blackened skeletons of vehicles. At a hospital, families and friends picked through dozens of the dead, gingerly lifting sheets to peer at faces.
Hundreds of Mogadishu residents began to donate blood in response to desperate appeals.
Most of those killed were university and other students returning to class, Mayor Omar Mohamud Mohamed said.
Somalis mourned the deaths of so many young people in a country trying to rebuild itself after decades of conflict. Two Turkish brothers were among the dead, Somalia's foreign minister said, and Turkish President Recep Tayyip Erdogan condemned the attack.
There was no immediate claim of responsibility, but al-Shabab often carries out such attacks. The extremist group was pushed out of Mogadishu several years ago but continues to target high-profile areas such as checkpoints and hotels in the seaside city.
Al-Shabab is now able to make its own explosives, its "weapon of choice," United Nations experts monitoring sanctions on Somalia said earlier this year. The group had previously relied on military-grade explosives captured during assaults on an African Union peacekeeping force.
Al-Shabab was blamed for the truck bombing in Mogadishu in October 2017 that killed more than 500 people. The group never claimed responsibility for the blast that led to widespread public outrage. Some analysts said al-Shabab didn't dare claim credit as its strategy of trying to sway public opinion by exposing government weakness had badly backfired.
"This explosion is similar like the one ... in 2017. This one occurred just a few steps away from where I am and it knocked me on the ground from its force. I have never seen such a explosion in my entire life," witness Abdurrahman Yusuf said.
The attack again raises concern about the readiness of Somali forces to take over responsibility for the Horn of Africa country's security in the coming months from the AU force.
Al-Shabab, the target of a growing number of U.S. airstrikes since President Donald Trump took office, controls parts of Somalia's southern and central regions. It funds itself with a "taxation" system that experts describe as extortion of businesses and travelers that brings in millions of dollars a year.
- AP