Residents in Inglewood, Torrance, South Los Angeles, South Gate and Brentwood reported feeling the earthquake.
There have been no reports of damage.
The earthquake was centered under the runways at Los Angeles International Airport.
Airport Supervisor Steve Goodwin said a routine runway check found no evidence of damage and no flights were delayed.
The Associated Press contributed to this story.