The bus driver drove away after five to seven bullets were fired about 12:20 a.m., blowing out the bus' back window, the San Francisco Chronicle reported.
No one was injured by the gunfire, but four passengers said they were injured when the bus sped up and were taken to a hospital, the newspaper said.
Clarence Johnson, an AC Transit spokesman, said it wasn't known why the bus was targeted and no suspects had been identified.
Puzzle-maker slips 'Murdoch Is Evil' into Rupert Murdoch's Sunday Telegraph
Sign language interpreter at Mandela service called out as fake on Twitter