According to the U.S. Geological Survey, the quake hit just after 4:45 p.m. 10 kilometers northeast of Milpitas.
ABC7 News received reports of shaking from Hayward to South San Jose.
Stay with ABC7 News for the latest details on this developing story.