"#UNSOM strongly condemns explosions in #Gaalkacyo today aimed at local gov't office," the UN mission wrote in its official Twitter account.
The organization added that terrorist attacks would not affect upcoming parliamentary and presidential elections in Somalia set for the coming fall.
Jihadist group al-Shabaab claimed responsibility for both explosions.
Somalia has been experiencing violence since the country devolved into civil war in the early 1990s. The state’s collapse provided a breeding ground for warlords, pirates and the al-Qaeda affiliated al-Shabaab.