Schools in the region were closed as a precaution.
“Although the earthquake caused damage to many buildings in Golkaya, fortunately, we did not experience any serious destruction or loss,” Turkish President Recep Tayyip Erdogan said in an address to his ruling party’s legislators.
The quake demolished the exterior cladding and parts of the roof of a courthouse in Duzce, HaberTurk television reported. Among other damage, a two-story shop collapsed on a narrow street, it said. A mosque in the village of Saridere, near the epicenter, also sustained damage and was closed down, the state-run Anadolu Agency reported.
Many people were camping outdoors too afraid to return to their homes.
Like most other Duzce residents, Sebahattin Ozturk, 64, was asleep when the quake struck.
“There were a lot of sounds like explosions and then my wife started shouting,” he told The Associated Press. “Bottles and flowerpots fell over and the doors of our wardrobes slammed.”
To Ahmet Cevat Algun, it was a frightening reminder of the quake that struck in 1999.
“I guess it took 40-45 seconds, like the 1999 earthquake,” Algun said. “We were so afraid we didn’t know what to do. We went through the same thing again.”
Around 800 people were killed in the powerful earthquake that hit Duzce on Nov. 12, 1999. In August of that year, 17,000 people were killed by another powerful temblor that devastated nearby Kocaeli province and other parts of northwest Turkey.
Officials said around 80% of the buildings in the area were rebuilt or fortified following the 1999 earthquakes, which helped minimize damage.
Turkey sits on top of major fault lines and is frequently shaken by earthquakes.
Fraser reported from Ankara, Turkey.