No casualties or major damage were reported after the quake, which struck out at sea at a depth of 10 kilometres (6.21 miles) and was felt in nearby provinces, the Philippine seismology agency said.
Operations of the three elevated railway lines in Manila were stopped due to the earthquake, the transport ministry said.
"Railways and airports had suspension in operations. So far, no report of major effect of the quake and we hope it remains this way," Civil defence spokesperson, Assistant Secretary Bernardo Rafaelito Alejandro, told GMA news channel.
Ceiling lights were seen shaking at a hotel in one of Manila's business districts where President Ferdinand Marcos Jr was speaking to reporters after attending an international trade forum, according to a Reuters witness.
Peter Oliver Palacio, mayor of Calatagan, a town just 5km from the epicentre, told DZMM radio the quake was dizzying and added the town's engineering department had been instructed to check for damage.
The seismology agency initially recorded a magnitude 6.2 earthquake, but later revised it to 6.3. It said it expects damage and aftershocks.
(Reuters)