Witnesses say the shooting happened on Lincoln Avenue near Denni Street in the city of Cypress just before 9 p.m. Sunday.
Police said they initially responded to a call of gunshots between people in two cars. Officers later found a victim in the parking lot of a Buena Park motel.
The man was taken to a local trauma center but is expected to survive.
The shooter remains at large.