An officer patrolling on the 800 block of South Pine Street was flagged down by a citizen at about 10:15 p.m., Sgt. Mark Streker told Noozhawk.
The victim, a male juvenile, was struck by gunfire and was taken to a local hospital, Streker said.
The suspect or suspects were not at the scene, and roads were closed in the vicinity while officers investigated the shooting.
The victim was reported to be in serious condition, according to police.
This marked the fifth shooting incident in the city during September. However, one of those incidents involved a man who shot himself, police said.
Anyone who may have information related to the shooting is asked to contact the Santa Maria Police Department at 805-928-3781.