There were no immediate reports of injuries or damage.
The USGS said the quake was 45 miles east-northeast of Bunobogu and 83 miles northwest of Gorontalo.
There were no tsunami warnings or alerts.
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'