Social media services Facebook, WhatsApp and Instagram are back up and running after an outage that lasted almost six hours, Facebook says.
The company says the cause was a faulty configuration change.
All three services are owned by Facebook and could not be accessed over the web or on smartphone apps.
Downdetector, which tracks outages, said it was the largest failure it had ever seen, with 10.6 million problem reports around the world.
The services went down at about 16:00 GMT with users beginning to gain access to the sites at around 22:00.
In a statement on Tuesday, Facebook said that the faulty configuration change affected the company's internal tools and systems which complicated attempts to resolve the problem.
It added that there was "no evidence that user data was compromised as a result of this downtime".
Earlier, Facebook founder Mark Zuckerberg apologised to those affected by the outage.
Some people also reported problems using Facebook's virtual reality headset platform, Oculus, and apps which require Facebook logins were affected, including Pokémon Go.
An outage of this scale for such a long time is rare. A disruption in 2019 left Facebook and its other apps mostly inaccessible across the world for more than 14 hours.
Several other tech companies, including Reddit and Twitter, poked fun at the social media giant's predicament - prompting responses from the affected apps.
The disruption comes the day after an interview with a former Facebook employee who leaked documents about the company.
Frances Haugen told CBS news on Sunday that the company had prioritised "growth over safety".
NEWS EXPRESS is Nigeria’s leading online newspaper. Published by Africa’s international award-winning journalist, Mr. Isaac Umunna, NEWS EXPRESS is Nigeria’s first truly professional online daily newspaper. It is published from Lagos, Nigeria’s economic and media hub, and has a provision for occasional special print editions. Thanks to our vast network of sources and dedicated team of professional journalists and contributors spread across Nigeria and overseas, NEWS EXPRESS has become synonymous with newsbreaks and exclusive stories from around the world.