A magnitude 8.0 earthquake struck Panama at a depth of 20.5 miles, with its epicenter located about 8.7 miles southwest of Pitaloza Arriba.