The quake struck in the East Bay at 9:47 a.m., with its epicenter about three miles north-northeast of San Leandro and six miles east-southeast of Oakland and a depth of 5.7 miles.
There were reports that the tremor was felt around the East Bay as far away as Martinez. A manager with the Alta Bates Summit Medical Center in Berkeley reported that the building swayed from the seismic activity.
BART held trains to complete track inspections, resulting in residual delays across the system of 10 to 15 minutes.
An earthquake of the same magnitude struck in San Leandro on Tuesday at 11:36 p.m., and shaking was felt across much of the Bay Area. The USGS reported a 2.3-magnitude aftershock late Tuesday night.
The aftershock was recorded at 11:41 p.m. in an area three miles from San Leandro, about five minutes after the initial quake, according to the USGS.
The first temblor Tuesday night had a depth of about 5.5 miles and was centered near San Leandro, while the aftershock had a recorded depth of about 5 miles, according to the USGS.
People in Danville, San Francisco's Haight-Ashbury neighborhood and southeast Bayview Hunters Point neighborhood reported feeling the shake. There were other reports of shakes felt throughout the Peninsula, the East Bay and in parts of Marin County.