Olly Barkley claimed his second try with the final move of the match to set up an improbable Bath win as Leeds suffered last-minute despair yet again. The outside-half-come-centre cantered over 11 minutes into stoppage time and Chris Malone's conversion snatched victory for the visitors.
Leeds undermined their cause only 57 seconds into the game when Dan Hyde was sin-binned for deliberately killing the ball.
Barkley's resulting penalty attempt from the halfway line just fell short but Hyde's misdemeanour was quickly punished. From a lineout 10 metres out the Bath pack used their numerical superiority to claim a push-over try for Rob Fidler.
Tim Stimpson then dragged Leeds into the game with two penalties. Back at full strength the home side regularly stretched the Bath defence. Stimpson made an initial break and Chris Bell was in support for the try that gave Leeds the lead.
Within minutes of the re-start Bath regained the initiative when Malone burst between two players before sending Barkley over for a converted try.
The outside-half then landed a drop-goal but Bath's attacks faded when James Scaysbrook was shown a yellow card. Leeds quickly took advantage with Andre Snyman racing over from an overlap before Jon Dunbar powered through the depleted defence.
Leeds: Stimpson; Rees, Bell, Snyman, Albanese (Christophers 72); Wright, Dickens; Shelley, Rawlinson, Gerber, Murphy, Palmer (capt), Dunbar, Rigney, Hyde.
Yellow card: Hyde, Snyman.
Tries: Bell, Snyman, Dunbar. Cons: Stimpson 2 Pens: Stimpson 3.
Bath: Perry (Maddock 56); Daniel, Crockett, Barkley, Welsh; Malone, Walshe; Barnes, Humphreys (capt), Bell, Hudson, Fidler, Scaysbrook, Feaunati, Lipman.
Tries: Fidler, Barkley 2 Cons: Barkley 2, Malone Pens: Barkley, Malone. Drop-goal: Malone.
Referee: S Davey (Horsham).
Attendance: 4,096.