"A bomb inside a bag went off near the gate of the Moroccan embassy in Bin Ashour area" in central Tripoli, the official said, adding "there were no casualties".
There was visible damage to a "few cars in the area", he said.
"The sound of the explosion was very strong, and the house was shaking for few seconds," an unnamed witness told AFP.
The Moroccan embassy is not currently active, and it was unclear if anyone was inside the building at the time.
The bombing came hours after gunmen opened fire on South Korea's embassy compound from a passing car yesterday, killing two Libyan guards and wounding a third person.
The Islamic State jihadist group claimed responsibility for the South Korean attack on Twitter, according to SITE Intelligence Group.
Libya has been plagued by chaos since the end of the 2011 revolt that toppled Muammar Gaddafi, with heavily armed militias battling for control of its cities and oil wealth and rival governments and parliaments vying for power.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
