The authorities said that the quake hit at a depth of 67 km, at a distance of 81 km west of the city of Bengkulu.
A strong quake struck off the coast of southern Sumatra in Indonesia on Sunday, causing panic as it was felt several hundred kilometres away in Singapore.
The Disaster Management Centre (DMC) warns that all coastal communities in Sri Lanka to be on alert due to a strong 6.4-magnitude quake that hit off the Indonesian island of Sumatra this morning.
According to Mochammad Riyadi, an official at Indonesia's meteorology and geophysics agency told.
He said officials were checking if there were any casualties or damage. It forced her to flee her house along with her family members.
Indonesia, sits on the highly seismically active zone "Pacific Ring of Fire", where many continental plates on the earth's crust keep colliding, Sumatra also experiences frequent earthquakes.