David McGoldrick struck late as relegation-threatened Ipswich won only their third game of 2013 at the expense of play-off hopefuls Leicester.
McGoldrick, on loan from Nottingham Forest, punished defender Wes Morgan's lapse in concentration to score from 12 yards five minutes from time.
Leicester striker Harry Kane had earlier fired wide from Luke Chambers's poor backpass.
Town turn the tables
Nigel Pearson celebrated the first anniversary of his return as Leicester boss with a 6-0 thrashing of Ipswich in the reverse fixture in November
The Foxes also went close when full-back Paul Konchesky fired just over.
Ipswich are now six points clear of the relegation zone while Leicester remain in the play-off places in fifth, although seventh-placed Middlesbrough's win over leaders Cardiff means the Teessiders are now only three points behind the Foxes.
Kane had the first chance of any note midway through the first half, but his effort did not threaten the Town goal and when the forward tried his luck again just before the half-hour mark he could only fire wide from 10 yards.
Konchesky them struck an effort over the bar, before Kasper Schmeichel made good saves to deny Chambers and McGoldrick at the other end.
Leicester's Danish keeper was called into action again straight after the break, again saving from McGoldrick.
But it was the Foxes who should have opened the scoring when Chambers's mistake put Kane clean through, only for the loan signing from Spurs to send his effort wide.
Leicester were punished for their wastefulness with a few minutes remaining, when McGoldrick finally beat the defence with a well-taken winner.
Ipswich Town boss Mick McCarthy:
"I'm delighted, relieved and glad it's over. It was a well-organised, gutsy performance.
"We weren't the best team by any stretch of the imagination but when it was required we had that little bit of brilliance of composure from David McGoldrick.
"It was a good, aggressive game. You'd expect that from Mick McCarthy and Nigel Pearson teams."
Leicester boss Nigel Pearson:
"We weren't at our best but still had enough chances to get something out of the game, although other off-the-ball incidents contributed to the result.
"All you have to do is take a look at them. I'm not a sour grapes person. He [Wes Morgan] got booked for complaining about somebody elbowing him in the face. Everyone could see that. [Michael] Chopra kicked him off the ball just prior to that.
"All in all it was a bit of a scrappy game but we had chances and didn't take then. We didn't deserve to lose but credit to Ipswich."
- 13 Henderson
- 03 Cresswell
- 04 Chambers
- 05 Stearman
- 20 Smith
- 07 Edwards
- 08 N'daw
- 11 Martin (E'-Thomas - 80' )
- 19 Hyam Booked
- 10 Chopra (Murphy - 80' )
- 16 McGoldrick (Drury - 90' )
- 01 Loach
- 06 Kisnorbo
- 09 E'-Thomas
- 17 Drury
- 25 Mclean
- 27 Murphy
- 35 Nouble
- 01 Schmeichel
- 02 De Laet
- 03 Konchesky
- 05 Morgan Booked
- 15 M Keane
- 04 Drinkwater
- 07 Marshall (Gallagher - 69' )
- 10 King
- 24 Knockaert Booked (Dyer - 65' )
- 37 Kane
- 39 Wood
- 13 Logan
- 06 Whitbread
- 11 Dyer
- 17 Gallagher
- 19 Wellens
- 09 Vardy
- 14 Waghorn
Live Text Commentary
Full Time The referee brings the game to a close.90:00 +4:36
Andy King takes a shot. Blocked by Guirane N'Daw.90:00 +3:33
Inswinging corner taken by Paul Gallagher, Tommy Smith makes a clearance.89:45 Substitution
Substitution Andy Drury joins the action as a substitute, replacing David McGoldrick.88:33
Paul Gallagher takes a inswinging corner from the left by-line to the near post, David McGoldrick manages to make a clearance.87:56
Andy King takes a shot. Tommy Smith gets a block in.84:24
Assist on the goal came from Daryl Murphy.84:24 Goal scored
Goal! - David McGoldrick - Ipswich 1 - 0 Leicester Goal scored by David McGoldrick from deep inside the penalty box to the bottom right corner of the goal. Ipswich 1-0 Leicester.83:03
Paul Konchesky crosses the ball, Header from deep inside the area by Harry Kane goes harmlessly over the crossbar.81:14 Booking
Booking The referee cautions Wes Morgan for unsporting behaviour.78:47
Aaron Cresswell restarts play with the free kick. David McGoldrick gives away a free kick for an unfair challenge on Wes Morgan. Wes Morgan restarts play with the free kick.78:47 Substitution
Substitution Daryl Murphy comes on in place of Michael Chopra.78:47 Substitution
Substitution Jay Emmanuel-Thomas is brought on as a substitute for Lee Martin.78:47
Free kick awarded for an unfair challenge on Tommy Smith by Harry Kane.76:38
The assistant referee flags for offside against Michael Chopra. Kasper Schmeichel restarts play with the free kick.75:35
Danny Drinkwater has an effort at goal from outside the penalty box missing to the wide right of the target.73:43
Paul Gallagher takes the direct free kick.73:43 Booking
Booking Luke Hyam receives a yellow card.73:33
Foul by Luke Hyam on Harry Kane, free kick awarded.72:58
Carlos Edwards sends in a cross, Michael Keane makes a clearance.
Guirane N'Daw challenges Harry Kane unfairly and gives away a free kick. Paul Gallagher delivers the ball from the free kick right-footed from right channel.70:01
Aaron Cresswell has shot on goal from just outside the penalty box which goes wide of the right-hand upright.69:28
Inswinging corner taken from the right by-line by Aaron Cresswell, Andy King makes a clearance.69:19
A cross is delivered by Richard Stearman, Andy King gets a block in.68:06 Substitution
Substitution Paul Gallagher is brought on as a substitute for Ben Marshall.66:36
Corner taken left-footed by Aaron Cresswell from the right by-line, Andy King makes a clearance.66:26
The ball is delivered by Carlos Edwards, blocked by Paul Konchesky.64:51 Substitution
Substitution Lloyd Dyer replaces Anthony Knockaert.63:09
Guirane N'Daw concedes a free kick for a foul on Ben Marshall. Free kick crossed right-footed by Ben Marshall from right channel. Harry Kane is flagged offside by the assistant referee. Stephen Henderson takes the indirect free kick.62:35
David McGoldrick produces a right-footed shot from just outside the box that misses to the right of the target.61:57
Unfair challenge on Michael Chopra by Danny Drinkwater results in a free kick. Richard Stearman takes the free kick.60:40
Luke Chambers fouled by Chris Wood, the ref awards a free kick. Free kick taken by Stephen Henderson.59:58
Corner taken by Anthony Knockaert from the right by-line played to the near post, clearance by David McGoldrick.58:54
The referee blows for offside against Michael Chopra. Kasper Schmeichel restarts play with the free kick.58:05
Danny Drinkwater gives away a free kick for an unfair challenge on Tommy Smith. Stephen Henderson takes the direct free kick.56:30
Shot by Harry Kane from deep inside the penalty area misses wide to the left of the target.53:51
Foul by Andy King on Michael Chopra, free kick awarded. Strike on goal comes in from Lee Martin from the free kick, blocked by Ben Marshall.50:23
Guirane N'Daw gives away a free kick for an unfair challenge on Ben Marshall. The free kick is swung in right-footed by Ben Marshall, David McGoldrick makes a clearance.49:13
Chris Wood produces a right-footed shot from outside the penalty box and misses right.47:41
David McGoldrick takes a shot. Kasper Schmeichel makes a save.47:00
Lee Martin takes a shot.45:30 Booking
Booking Booking for Anthony Knockaert.45:01
The referee gets the second half underway.45:00 +1:09 Half time
Half Time The ref blows to end the first period.45:00 +0:47
Shot by Harry Kane from just outside the area goes over the net.44:45
Centre by Paul Konchesky. Harry Kane is caught offside. Direct free kick taken by Stephen Henderson.42:17
Chris Wood challenges Richard Stearman unfairly and gives away a free kick. Luke Chambers takes the free kick.40:22
Free kick awarded for an unfair challenge on Guirane N'Daw by Chris Wood. Stephen Henderson takes the free kick.38:34
Inswinging corner taken right-footed by Ben Marshall from the left by-line, save by Stephen Henderson.38:23
Ben Marshall takes a shot. Richard Stearman gets a block in.36:14
David McGoldrick delivers the ball, Michael Chopra takes a shot. Save by Kasper Schmeichel.35:12
Inswinging corner taken by Aaron Cresswell, Headed effort from deep inside the penalty area by David McGoldrick goes harmlessly over the crossbar.34:03
Inswinging corner taken by Aaron Cresswell from the right by-line, Luke Chambers takes a shot. Save by Kasper Schmeichel.33:28
Free kick awarded for a foul by Danny Drinkwater on Guirane N'Daw. Free kick taken by Aaron Cresswell.32:46
The ball is delivered by Carlos Edwards, save by Kasper Schmeichel.31:21
Paul Konchesky takes a shot from just outside the penalty area clears the crossbar.28:41
Free kick awarded for an unfair challenge on Carlos Edwards by Paul Konchesky. Richard Stearman restarts play with the free kick.26:38
Effort from the edge of the area by Harry Kane goes wide of the right-hand post.24:01
Lee Martin takes a shot. Blocked by Ritchie De Laet. Corner taken left-footed by Aaron Cresswell, Ritchie De Laet makes a clearance.22:31
Inswinging corner taken right-footed by Ben Marshall from the left by-line to the near post, save made by Stephen Henderson.20:10
Guirane N'Daw gives away a free kick for an unfair challenge on Danny Drinkwater. Michael Keane takes the free kick.17:32
Corner from the left by-line taken by Lee Martin, save by Kasper Schmeichel.16:31
Free kick awarded for a foul by Wes Morgan on Guirane N'Daw. Aaron Cresswell restarts play with the free kick.14:01
The referee blows for offside. Stephen Henderson takes the indirect free kick.8:19
Unfair challenge on Michael Chopra by Danny Drinkwater results in a free kick. Stephen Henderson takes the free kick.2:22
Michael Chopra is flagged offside by the assistant referee. Kasper Schmeichel restarts play with the free kick.2:01
Ben Marshall takes a shot. Save made by Stephen Henderson.0:00
The referee gets the match started.
Live data and text provided by our data suppliers