The U.S. Geological Survey confirmed the quake on its website, placing its epicenter at around 32km (19 miles) outside the Iraqi city of Halabja, and issuing an "orange" alert for "shaking-related fatalities and economic losses." There were no immediate reports of casualties.
Iranian provinces in the northwestern, western and central areas of the country were impacted.
Iranian social media was abuzz with area people evacuating their homes.
Click here for more stories, pictures and videos on earthquakes.