Indonesia's disaster mitigation agency said the earthquake, which struck at a depth of 10.5 kilometers (6 miles), prompted a tsunami warning that was later lifted.
There are no details yet about casualties or damage caused by the earthquake.
The quake comes a week after a magnitude 6.4 quake killed 14 people on the island and prompted a large-scale evacuation of a volcano popular with hikers.
The quake was felt for several seconds in Bali, where people ran out of houses, hotels and restaurants.
"All the hotel guests were running so I did too. People filled the streets," said Michelle Lindsay, an Australian tourist.
"A lot of officials were urging people not to panic."
Other witnesses said the quake got stronger over several seconds and rattled windows and doors in their frames.