The officer responded to a fight near the intersection of Brockway Street and Utah Avenue around 1:15 a.m.
When he arrived, the two men who were fighting took off in separate vehicles and led police on a short pursuit.
While one of the alleged suspects was being arrested, the officer accidentally shot himself in the leg.
He was transported to Los Angeles County - USC Medical Center and is expected to make a full recovery.