United States Geological Survey said the quake was shallow, at a depth of just 10km (six miles) with the epicentre near the central city of Mandalay
In Thailand, there were no immediate reports of casualties and Prime Minister Paetongtarn Shinawatra called an emergency meeting to assess the impact of the quake.
Thailand’s Department of Disaster Prevention said the quake was felt in almost all regions of the country.