The magnitude-7.9 quake struck 46 kilometres east of Taron in Papua New Guinea, the US Geological Survey said. The quake was deep, at 103 kilometres. Deeper earthquakes tend to cause less damage than shallow ones.
The USGS initially said the quake's magnitude was 8.0, but later downgraded the strength.
The Pacific Tsunami Warning Centre said there was a threat of a tsunami in Papua New Guinea and nearby areas. It said tsunami waves reaching 1-3 metres high were possible along the coasts of Papua New Guinea, while waves in other areas, including the Solomon Islands, would likely be less than 0.3 metre high.
The quake knocked items off shelves and caused a blackout in the town of Kokopo in northeastern Papua New Guinea, Taranu said. But there were no reports of widespread damage in the town.
Papua New Guinea sits on the Ring of Fire, the arc of seismic faults around the Pacific Ocean where earthquakes are common.