The earthquake occurred on Thursday at 18:10 GMT, with its epicenter located 21 kilometers (13 miles) north of the city of Fayzabad, the United States Geological Survey said.
In addition, several avalanches in the northeastern Afghan province of Badakhshan have killed at least 12 people and destroyed 50 houses over the last four days, media reported.
The political reshuffle in Afghanistan resulted in deepening economic, humanitarian and security crises. A number of governments and organizations, including India, have been assisting the population with food, medicines, emergency shelter and other basic items.