Officers responded to reports of shots fired on 40th Street at around 2 a.m., according to Oakland police.
Arriving officers found a victim who was riding his bicycle had been shot numerous times.
He was taken to a hospital to be treated, police said.
Suspect information was not immediately available.