There were no reports of injuries or damage.
The earthquake did not pose a tsunami threat, the Malaysian Meteorological Department said.
The epicenter was 326 miles southeast of Lata in the Solomon Islands, the Bernama news agency reported.
The earthquake was centered 16 miles from Port-Olry, 33 miles from Luganville and 195 miles from Port Villa.
2014: NFL Cheerleaders [PHOTOS]
Yemeni prime minister resigns amid fighting