The earthquake was originally recorded as a 3.1 magnitude when it struck at 6:25 a.m. local time.
The epicenter was about 25 miles west-southwest of El Centro.
Earlier Tuesday, a smaller quake measuring 1.5 was recorded in the same area at 3:57 a.m.
Keep up to date on breaking news: Follow us on Twitter@nbcsandiego, fan us on Facebook, sign up for our breaking news e-mail alerts or text SDBREAKING to 622339 to receive text messages for local breaking news. (Standard rates apply)