The Lakers also got a boost from Matt Barnes, the often erratic small forward who scored 16 points on seven-for-nine shooting but committed two quick fourth-quarter fouls to help the Warriors close to within 85-82 on a Kwame Brown free throw.

Pau Gasol (16 points) responded with a pair of jumpers and Barnes made a driving layup as part of a 6-0 run that put the game temporarily back in the Lakers' grasp. Barnes fouled out with 2 minutes 22 seconds left, and Lakers Coach Mike Brown went with a two-point-guard lineup that included both Steve Blake and Derek Fisher. That turned out to be fortuitous when Fisher made a key steal.

The Lakers made enough free throws over the final minute to hold on.

David Lee scored 15 points and Klay Thompson had 14 points on six-for-eight shooting off the bench for Golden State, which lost its fourth consecutive game.

Lakers 67, Warriors 58 (end of third quarter)

Order was restored inside Staples Center in the third quarter when the Lakers used a couple of big runs to wipe out what had been an eight-point deficit.

The Lakers were finally getting stops and making shots, ending the quarter on an 8-0 push that included back-to-back three-pointers by Steve Blake and Kobe Bryant. Bryant's three-pointer came at the buzzer.

Earlier, forward Matt Barnes took an outlet pass from Bryant and made a layup as part of an 18-5 surge that gave the Lakers their first lead since the first quarter.

Bryant already has 30 points on 11-for-21 shooting. Former Santa Margarita High star Klay Thompson has a team-high 11 points for the Warriors, swishing a pair of jumpers in the third quarter.

Warriors 39, Lakers 35 (halftime)

Call it, Lakers: The Hangover Effect.

One day after giving a valiant effort in a loss to Portland, the Lakers struggled on both ends of the floor in the first half against seemingly overmatched Golden State.

The Warriors came into the game with zero momentum, the losers of three consecutive games. No matter.

The Lakers couldn't make shots, converting only 15 of 41 attempts (36.6%), or stop Golden State for stretches. Nate Robinson proved to be a 5-foot-9 sparkplug off the bench for the Warriors, scoring nine points in 18 minutes. Monta Ellis added eight points.

Kobe Bryant had 13 points on five-for-10 shooting for the Lakers, with no other player reaching double figures in scoring. It was a sloppy game on both sides, with the Lakers committing 12 turnovers to the Warriors' 11.

At least the Lakers finally hit a three-pointer, with Troy Murphy's shot breaking an 0-for-17 skid going back to the Portland game.

There was a moment of levity late in the quarter when Golden State center Kwame Brown, a former Laker, missed two free throws and was awarded a third because of a lane violation. Incredibly, he missed and then was given a fourth opportunity because of another lane violation. He missed again.

The crowd cheered, one of the few things that went right for the Lakers in the first half.

Warriors 22, Lakers 20 (end of first quarter)

The Lakers were suffering from separation anxiety in the early going against Golden State on Friday night, failing to put any distance between themselves and the visitors, who are on a three-game losing streak.

In fact, the Lakers were trailing by two points after Klay Thompson made a three-pointer with three seconds left in the quarter.

Thompson had two quick baskets off the bench for the Warriors, who also got five points from reserve Ekpe Udoh.

Kobe Bryant had eight points on three-for-six shooting for the Lakers, who continue to struggle from long distance, missing all three of their three-point attempts.

The Staples Center crowd had its own special welcome for former Lakers center Kwame Brown, booing him after he scored around Andrew Bynum and stepped to the line to shoot an ensuing free throw. He missed.

The crowd later cheered when Brown missed a dunk and was then called for a loose-ball foul.

There was groaning later in the quarter when Bynum tipped in one of the Warriors' shots, with the basket being credited to David Lee.