It was grafting performance from the 'Cherry and Whites', but enough to keep Leeds at bay with Kiwi-import Henry Paul leading the way for the visitors.
Poor discipline from Gloucester saw Leeds take an early 6-3 lead as Tykes fly-half Duncan Hodge slotted two penalties to Paul's single effort.
But Paul soon sparked the visitors into life as he broke the Leeds defence with some fancy stepping and Gloucester applied the pressure for centre Terry Fanolua to finish the attack with a five-pointer.
Paul then converted to give his side the lead for the first time in the match.
Gloucester, however, were wittled down to 14 men when Olivier Azam was yellow-carded for collapsing a maul, but Leeds failed to drive home the advantage – opting for a scrum instead of the resultant penalty and let the chance slip away.
Paul stretched Gloucester's lead further with another penalty, but he failed with another attempt during extra time for the visitors to go into the break with a 13-9 lead.
Following the restart, Gloucester were again reduced to 14 men when fly-half Duncan McRae was sin-binned, but Leeds were still unable to take advantage.
The introduction of Gordon Ross for Leeds added more to the hosts' attack, but they were still unable to cross Gloucester's line – with Ross only managing to narrow the gap by three with a penalty.
McRae made up for his ill-discipline with a drop-goal three-minutes from time and then fired out a long pass to winger James Simpson-Daniels, who went over for his team's second try.
Gavin Kerr went over for Leeds in the dying minutes of the game, but it was too late to have any bearing on the final result.
For Gloucester:Tries: Fanolua, Simpson-DanielCon: Paul Pen: PaulDG: McRae
For Leeds:Try: KerrCon: RossPens: Hodge 2, Ross