MIAMI — Jason Marquis kept nibbling at the corners, giving up walks until there was no place to put another runner.
Jeff Mathis hit a bases-loaded double to break open a close game Monday, and Marquis and the San Diego Padres lost to the Miami Marlins, 4-0.
Marquis gave up a career-high seven walks but allowed no earned runs. All four runs against him were unearned because of a throwing error by shortstop Pedro Ciriaco.
"I thought I threw the ball well," Marquis said. "There were really only two hard-hit balls. On one, Pedro made a great diving play at shortstop, and the other went for three runs, a slider to Mathis.
"It's not the results you want. To come out with a loss is not a good day. But if I keep throwing the ball like that, I'll have more wins than losses."
Jose Fernandez struck out 10 and allowed only two hits in a career-high eight innings for the Marlins, whose pitching throttled San Diego in the final three games of the series. The Padres lost all three while totaling three runs.
San Diego, with three starting infielders on the disabled list, lost for the seventh time in nine games.
Marquis (9-4) came into the game leading all major league pitchers with 53 walks this season. He gave up at least one walk in five innings against Miami — but said he didn't mind them.
"'I'm not going to give in to the hitter," he said. "Sometimes you fall behind and make good pitches and you just don't get the results you want. You have to learn to pitch out of some jams sometimes. You don't want to do it all the time, but obviously they haven't hurt me too much this year."
Miami went only 2 for 14 with runners in scoring position, and Marquis lowered his ERA to 3.74.
"He did what he always does," Padres manager Bud Black said. "He battles and works his way through a game, but he was just outpitched by their guy."
Fernandez (5-4) equaled a career high in strikeouts, walked one and threw 100 pitches before departing for a pinch-hitter. Steve Cishek entered with two on and got the final out for his 15th save in 17 chances, completing a three-hitter.
The 20-year-old Fernandez, who might be the Marlins' representative at the All-Star Game, improved to 3-1 with an ERA of 1.34 over his past six starts.
"You can tell why the Marlins like this kid," Padres manager Bud Black said. "He has a lot of talent. For 20 years old, he's pretty advanced."
The Marlins began the week with the worst record in the majors, but since June 1 they're 16-10, and they've won six of their past seven games.
"We were losing games 2-1 and 3-2. We would hit the ball right at people," Fernandez said. "Now we're playing really good baseball, and the team feels great."
The game was scoreless when Ed Lucas reached leading off the sixth on Ciriaco's wild throw. The shortstop had made two fine defensive plays earlier.
"You have to be focused and make routine groundballs," Ciriaco said.
Giancarlo Stanton walked, and Marcell Ozuna singled home a run after his foul pop dropped just beyond the reach of catcher Yasmani Grandal near the Padres dugout.
"When you're going good, you get those breaks," Marlins manager Mike Redmond said.
With runners at second and third, Derek Dietrich was intentionally walked, and Mathis' double cleared the bases to make it 4-0.
Carlos Quentin doubled with two outs in the first, but that was the Padres' only hit until Kyle Blanks singled with two outs in the seventh.
NOTES: After the game, the Marlins optioned 1B Jordan Brown to Triple-A New Orleans and recalled INF Donovan Solano. ... Miami RHP Henderson Alvarez (shoulder) is scheduled to make his 2013 debut when he starts Thursday at Atlanta. The Marlins haven't said whose spot in the rotation he'll take. RHP Ricky Nolasco, the subject of trade speculation, is scheduled to pitch Wednesday. ... The Padres won the season series 4-3.