The quake struck around 9:52 p.m. and was centered nearly two miles southeast from Huntington Beach, USGS said.
There were no immediate reports of significant damage.
Social media users reported feeling shaking in several Orange County cities, including Anaheim, Santa Ana, Costa Mesa and Garden Grove.
How to make your own earthquake kit