Match ends, Yeovil Town 1, Leicester City 2.
Only goal difference keeps Leicester off the top of the Championship table after they saw off hard-working Yeovil.
Yeovil's Ed Upson and Joel Grant went close in the first half, but the hosts were caught on the counter as Lloyd Dyer finished David Nugent's pass.
Daniel Seaborne brought down Ritchie de Laet soon after and Nugent slotted home from the spot to double the lead.
James Hayter's penalty, after Liam Moore's foul, set up a frantic finish, but Grant wasted the best late chance.
The Foxes have taken 13 points for their last five league games and only leaders Burnley and QPR's superior goal difference keeps them out of the automatic promotion spots.
Yeovil, by contrast, slip into the relegation zone are are without a win in the league since their opening-day success against Millwall.
The Glovers looked lively in a first half though in which both sides regularly threatened.
Upson could not get enough power on his effort after Kasper Schmeichel had spilled Grant's cross before Anthony Knockaert scuffed a good chance straight at Wayne Hennessey at the other end for the visitors.
Leicester's greater attacking guile told in the second half though as Nugent's low cross was buried by Dyer at the end of a swift attack.
After giving away the decisive spot-kick Seaborne brought down De Laet with an untidy challenge to allow Nugent to extend the lead.
Yeovil came close to an unlikely comeback when Moore's trip on Upson and substitute Hayter's successful penalty conversion set nerves on edge in the visiting defence.
But ultimately Leicester held on, rode their luck and kept up the pressure on the sides above them.
Yeovil boss Gary Johnson:
"It is a learning curve for our boys. We haven't got that many lads with experience in the Championship like they have.
"You could see that both teams played with a tremendous amount of power and pace but they just had that little extra quality where it mattered in their two goals.
"We still gave it a go and it was nice to get a home goal."
Leicester manager Nigel Pearson:
"We should have been out of sight, let's be honest.
"I don't think anybody could argue that we didn't deserve to win. With the number of chances we've created we could have won by six.
"On another night we could be frustrated by having not put them out of sight.
"It is a good win, the players are continuing to improve as a group. All in all it is a good win but it could have been more convincing but we will improve."
- 6SeaborneSubstituted forWebsterat 63'minutes
- 2AylingSubstituted forMcAllisterat 74'minutes
- 28WilliamsSubstituted forHayterat 76'minutes
- 2de LaetBooked at 83mins
- 4DrinkwaterSubstituted forHammondat 90+3'minutes
- 24KnockaertSubstituted forJamesat 72'minutes
- 35NugentSubstituted forSchluppat 78'minutes
- Brendan Malone
- Shots on Target
Second Half ends, Yeovil Town 1, Leicester City 2.
Attempt blocked. Patrick Madden (Yeovil Town) right footed shot from outside the box is blocked. Assisted by Edward Upson.
Jamie Vardy (Leicester City) wins a free kick in the defensive half.
Foul by Edward Upson (Yeovil Town).
Foul by Jeffrey Schlupp (Leicester City).
Jamie McAllister (Yeovil Town) wins a free kick in the defensive half.
Substitution, Leicester City. Dean Hammond replaces Daniel Drinkwater.
Corner, Leicester City. Conceded by Wayne Hennessey.
Attempt saved. Paul Konchesky (Leicester City) left footed shot from a difficult angle on the left is saved in the bottom right corner. Assisted by Jamie Vardy.
Offside, Yeovil Town. James Hayter tries a through ball, but Patrick Madden is caught offside.
Attempt saved. Joel Grant (Yeovil Town) left footed shot from outside the box is saved in the centre of the goal. Assisted by Edward Upson.
Foul by Jamie Vardy (Leicester City).
Edward Upson (Yeovil Town) wins a free kick in the defensive half.
Foul by Ritchie de Laet (Leicester City).
Liam Davis (Yeovil Town) wins a free kick in the attacking half.
Attempt missed. Jamie Vardy (Leicester City) left footed shot from the left side of the box is close, but misses the top left corner.
Foul by Jeffrey Schlupp (Leicester City).
Liam Davis (Yeovil Town) wins a free kick in the defensive half.
Goal! Yeovil Town 1, Leicester City 2. James Hayter (Yeovil Town) converts the penalty with a right footed shot to the bottom right corner.