If you were watching the Giants game at AT&T Park, you saw the camera shake.
In Hayward, Sophia Barahona-Lopez and her son Joseph were watching the Warriors game on TV.
"The house just shook, it went back and forth and I have a cockatiel named Lucky and he was flying around in his cage warning us before," said Barahona-Lopez.
"I was thinking to just duck and cover," added 14-year-old Joseph.
But, he said there wasn't enough time. The quake only lasted for a few seconds.
Bay Area commuters may not have felt the jolt, but they felt the impact. BART put trains on hold temporarily for track inspection. MUNI went to manual mode for the same reason.
A notification from Alameda County reported no known damage or injuries.
Did you guys feel that earthquake? We're hearing reports from Oakland, Emeryvlle, SF and Danville. We even felt it in our newsroom. USGS says it was a preliminary magnitude 3.8 centered two miles East of Oakland. https://t.co/eEKrKpQuYI— ABC7 News (@abc7newsbayarea) May 15, 2018