LOS ANGELES (KTLA) — An earthquake with a preliminary magnitude of 4.2 rattled people awake in Southern California early Wednesday morning.

According to the U.S. Geological Survey, the quake struck at 2 a.m. and was centered offshore about 10 miles south of Malibu Beach and west of Los Angeles, at a depth of 8.7 miles.

View interactive earthquake map

The quake was followed by a 3.5 magnitude aftershock at 2:03 a.m.

There were no immediate reports of damage or injuries.