The earthquake of magnitude 6.6 was recorded on Tuesday off the coast of Salvador, the European-Mediterranean Seismological Center said.
The epicenter is 51 km southeast of the city of Chirilagua. The hearth lay at a depth of 53 km.
The threat of tsunami was not declared.