Humberto Quintero and Ryan Howard hit home runs to give Lee a five-run cushion, and the Philadelphia Phillies held on for a 5-4 victory over Atlanta on Friday night.
Dan Uggla hit a three-run shot, and the Braves snapped Lee's streak of 11 straight games pitching at least seven innings and allowing three earned runs or fewer.
But Lee (10-2) still won his eighth straight decision. He allowed four runs and eight hits in 6 1-3 innings.
With 15 games remaining against Philadelphia, the Braves surely will see Lee again. The three-time All-Star had dominated them, posting an 0.69 ERA against the Braves in his last seven starts before giving up four in the seventh.
"He pitched pretty much like he usually does," Uggla said. "He made one mistake. He battled like always."
Paul Maholm (9-7) gave up five runs — four earned — and nine hits in six innings. Tim Hudson was scheduled to start for the Braves, but he was pushed back one day because of a stiff neck.
"I'm fine," Hudson said. "This time of year when you get an extra day, it's not a big deal. It can only be a good thing."
Braves catcher Gerald Laird was ejected by plate umpire Angel Hernandez after getting called out on a pitch that appeared high and outside in the third. Laird was tossed after shouting an expletive as he walked toward the dugout. He turned around and ran at Hernandez, going nose-to-nose in a heated exchange while manager Fredi Gonzalez tried to calm him. Gonzalez also was ejected.
"The catcher threw the ball back to the pitcher," Gonzalez said. "(Laird) was saying even the Phillies catcher knew it was a ball."
Two relievers got it to Jonathan Papelbon, who finished for his 18th save in 22 tries.
Right fielder John Mayberry Jr. helped Papelbon with a sliding catch on Brian McCann's sinking liner for the second out.
Desperate to avoid falling further behind in the NL East standings, the Phillies (42-45) opened an important 10-game homestand before the All-Star break looking to gain ground. The first seven games are against the two teams above them in the division.
"The only way to definitely gain ground on teams ahead of you is to beat them," Lee said. "We have to win this series and as many games as we can heading into the All-Star break."
The division-leading Braves have lost three in a row. The Phillies have won three of four, including two of three at major league-leading Pittsburgh. Fifteen of Philadelphia's last 75 games are against the Braves.
"We had one good inning where we put pressure on them," McCann said.
Lee cruised into the seventh with a four-hitter before running into trouble. Lee hit Freddie Freeman, and Chris Johnson followed with a single. Uggla then hit a drive to left-center to get the Braves within 5-3.
"We had some real good at-bats against Lee," Gonzalez said.
After Lee gave up a one-out double to McCann, pinch-hitter Reed Johnson singled to chase him. Ramirez came in and allowed a sacrifice fly to Andrelton Simmons that cut it to 5-4.
Quintero drove an opposite-field shot out to right to make it 3-0 in the second. A Braves fan dropped the ball back onto the field, and Quintero stopped at second being awarded the homer. The ruling was upheld after the umpires looked at a video replay.
Howard connected in the third, hitting a towering shot way out to right-center for his 11th homer.
Quintero's RBI double drove in Delmon Young for a 5-0 lead in the sixth.
A throwing error by first baseman Freeman gave the Phillies a 1-0 lead in the first.