The USGS says it was centered in Pleasant Hill, Calif. The quake struck at 10:33 p.m. and was centered 2.2 miles north of Walnut Creek.
A 2.5 earthquake also hit the same area moments before the 4.5.
Police in Oakland, Pleasant Hill and Martinez said they've received no reports of any injuries or damage.
Several people felt the shaking throughout the East Bay and San Francisco and even in Santa Cruz.
No damage or injuries have been reported.
BART reported Monday night that they are running trains at reduced speeds while they inspect the tracks. The inspection caused some slight delays.
This earthquake comes just days before the 30th anniversary of the Loma Prieta earthquake.
Take a look at ABC7's in-depth coverage of the Loma Prieta earthquake here.
RELATED STORIES & VIDEOS:
- ABC7 Original Series: 'The Earthquake Effect' provides in-depth coverage on Bay Area's readiness for the next major earthquake
- What it was like to drive on the Bay Bridge as Loma Prieta hit
- From the Archives: ABC7's Peabody Award winning coverage of 1989 Loma Prieta Earthquake
- PHOTOS: The Loma Prieta Earthquake
- What to pack in your earthquake emergency kit
- Prepare NorCal: Disaster Preparedness Resources
- Pet preparedness: How to keep your furry babies safe during a disaster or emergency
- Most powerful earthquakes in California history above 7.0 magnitude
- Earthquake scale: How they are measured and what the magnitude and intensity scales mean
- What is an earthquake? This is what happens when the ground starts to shake
The Associated Press contributed to this story.