Wigan notched a first home win of the season with a typically slick passing display against a sloppy West Ham.
Ivan Ramis gave the Latics an early lead with a magnificent volley straight from Jean Beausejour's corner.
James McArthur grabbed the hosts' deserved second with a 15-yard strike after Jussi Jaaskelainen's poor kick.
West Ham could have gone fourth with a win, but they failed to trouble Wigan keeper Ali Al-Habsi until James Tomkins headed a late consolation.
The Hammers began the day 10 places above their hosts in the table, but the outcome rarely looked in doubt after Ramis's brilliant eighth-minute strike.
"Look out for Ivan Ramis' volley tonight - he showed the kind of technique normally reserved for the likes of Paul Scholes. Stuart Hall said on Radio 5 live that it was the best goal he had ever seen!"
Roberto Martinez's Wigan side, without a league win since August, grew in confidence after the goal and their rhythm was rarely interrupted by the visitors.
The Hammers repeatedly gifted possession to the home side as their promising early-season form deserted them.
This had been billed as a match of contrasting styles - Martinez's elegant passing game versus Sam Allardyce's percentage football - so Wigan seemed to be going against type when they scored their opener from a set piece. It was, however, the most spectacular of set pieces.
Beausejour sent in a corner and Ramis was allowed to drift unmarked to a position 14 yards out, from where he unleashed an unstoppable left-footed strike past Jaaskelainen.
The Spanish defender, who had agreed terms with West Ham before opting to join Wigan from Mallorca in the summer, also hit a wonder strike against the Hammers in a 4-1 League Cup win last month.
The game then settled into its predicted pattern: the Latics knocked the ball around sweetly while the visitors pumped it forward in search of Andy Carroll's head.
The home side's tactic looked more effective, with James McCarthy, Shaun Maloney and Beausejour all going close.
Carroll got a first sight of goal just before half-time when he headed Tomkins' cross wide, but the Hammers' hopes of mounting a second-half fightback were snuffed out within two minutes of the restart.
A woeful clearance from Jaaskelainen gifted Wigan possession and they took full advantage. Maloney helped Beausejour's pass on to McArthur, who slammed home from the edge of the box to double the lead.
The Latics were happy to soak up West Ham pressure for the remainder of the match, but the Hammers toiled without reward and Carroll cut a frustrated figure.
When his opportunity finally arrived from an accurate Matt Jarvis cross midway through the second half, the England striker's control let him down.
In fact, Allardyce's side failed to muster a clear attempt on goal until the final minutes when Tomkins's close-range volley hit the bar.
The young defender did get on the scoresheet moments later with a simple header from George McCartney's cross, but there was little time to push for what would have been a scarcely deserved leveller.
There was a sense of relief in the Wigan ranks at the final whistle as the Latics celebrated a belated return to the form they showed at the tail-end of last season.
A win would have sent West Ham into a Champions League position, but with games against Manchester City, Manchester United, Tottenham and Chelsea in the coming weeks, this defeat could provide a reality check on their ambitions.
Wigan manager Roberto Martinez:
"We don't get too many goals from set plays, but it was a tremendous finish from Ivan Ramis.
"That early goal set the tone of the game and allowed us to control it.
"I really enjoyed the performance. We have been showing flashes of our ability but today we were really good.
"Our philosophy and way of playing will never change."
West Ham manager Sam Allardyce:
"It was a bit of a push on Winston Reid for their first goal, but it was a brilliant volley. And they deserved to win.
"We didn't play any football today, we didn't get past half-decent. I'm disappointed our performance has reduced to such a level.
"It wasn't about Wigan today, it was about us not using the ability we've got. We can't keep giving the ball back to them."
"We were not good enough, in any shape or form. Our problems were all over the pitch."
- 26 Al Habsi
- 05 Caldwell
- 17 Boyce
- 21 Ramis Booked
- 31 Figueroa
- 04 McCarthy
- 10 Maloney
- 16 McArthur Booked
- 22 Beausejour
- 02 Kone
- 09 Di Santo Booked (Watson - 78' )
- 12 Pollitt
- 23 Stam
- 06 Jones
- 08 Watson
- 14 Gomez
- 15 McManaman
- 19 Boselli
West Ham United
- 22 Jaaskelainen
- 02 Reid Booked
- 03 McCartney
- 05 Tomkins
- 19 Collins
- 04 Nolan
- 07 Jarvis
- 15 Benayoun (Maiga - 46' Booked )
- 16 Noble Booked (Cole - 64' )
- 21 Diame (O'Neil - 73' Booked )
- 08 Carroll
- 30 Spiegel
- 17 O'Brien
- 44 Chambers
- 32 O'Neil
- 09 Cole
- 11 Maiga
- 46 Hall
Live Text Commentary
Full Time The referee blows for the end of the match.90:00 +4:28
Direct free kick taken by Ivan Ramis.90:00 +4:28 Booking
Booking Winston Reid is booked.90:00 +4:23
Unfair challenge on Arouna Kone by Winston Reid results in a free kick.90:00 +3:37
Arouna Kone takes a shot. Save by Jussi Jaaskelainen.90:00 +2:42
George McCartney provided the assist for the goal.90:00 +2:42 Goal scored
Goal! - James Tomkins - Wigan 2 - 1 West Ham James Tomkins scores a headed goal from close range. Wigan 2-1 West Ham.90:00 +2:40
A cross is delivered by George McCartney,90:00 +2:15
A cross is delivered by George McCartney, clearance by Maynor Figueroa.90:00 +1:59
Kevin Nolan sends in a cross, Ali Al Habsi makes a save.90:00 +1:30
Centre by Matthew Jarvis, Ivan Ramis manages to make a clearance.90:00 +0:13
Direct free kick taken by Ivan Ramis.90:00 +0:13 Booking
Booking Gary O'Neil booked.90:00 +0:10
Foul by Gary O'Neil on James McCarthy, free kick awarded.89:46
A cross is delivered by Matthew Jarvis, James Tomkins has an effort at goal from 6 yards. Gary Caldwell gets a block in.89:20
Corner taken by Gary O'Neil from the left by-line, clearance made by Gary Caldwell.88:19 Booking
Booking The referee cautions James McArthur for dissent.87:40
A cross is delivered by George McCartney, James Collins takes a shot. Save made by Ali Al Habsi.86:13
Kevin Nolan concedes a free kick for a foul on Ivan Ramis. Gary Caldwell restarts play with the free kick.85:30
Free kick awarded for a foul by Gary O'Neil on Jean Beausejour. Jean Beausejour takes the free kick.
Carlton Cole is caught offside. Ali Al Habsi restarts play with the free kick.84:28
A cross is delivered by Carlton Cole, clearance by Gary Caldwell.83:54
James McCarthy takes a shot. Jussi Jaaskelainen makes a comfortable save.83:36
Arouna Kone takes a shot. James Tomkins gets a block in.82:44
The ball is sent over by Arouna Kone, clearance made by James Tomkins. Short corner taken by Jean Beausejour from the right by-line.80:29
Unfair challenge on James McCarthy by Gary O'Neil results in a free kick. Shaun Maloney restarts play with the free kick.79:41
Arouna Kone produces a cross.78:35
The ball is swung over by Ben Watson, clearance by James Collins.77:02 Substitution
Substitution Ben Watson joins the action as a substitute, replacing Franco Di Santo.77:02
The ball is swung over by Gary O'Neil, Header from deep inside the area by Carlton Cole goes over the bar.76:32
Outswinging corner taken by Matthew Jarvis, clearance by Emmerson Boyce.76:17
Effort on goal by James Tomkins from 30 yards. Blocked by Jean Beausejour.75:26
Free kick awarded for an unfair challenge on James Tomkins by Franco Di Santo. James Collins restarts play with the free kick.74:50
Free kick awarded for an unfair challenge on James McArthur by Kevin Nolan. Ali Al Habsi takes the direct free kick.74:17
The ball is swung over by Carlton Cole. Kevin Nolan takes a shot. Blocked by James McCarthy.72:53
Handball decision goes against Arouna Kone. Free kick crossed right-footed by Gary O'Neil.72:06 Substitution
Substitution Mohamed Diame goes off and Gary O'Neil comes on.71:14
The ball is crossed by Jean Beausejour, clearance by Andy Carroll. Free kick awarded for a foul by Shaun Maloney on Matthew Jarvis. Jussi Jaaskelainen takes the direct free kick.70:37
Corner taken short by Jean Beausejour.70:08
George McCartney sends in a cross, Jean Beausejour makes a clearance.68:28
The ball is sent over by Carlton Cole.67:36
Franco Di Santo has an effort at goal from 18 yards. Comfortable save by Jussi Jaaskelainen.67:09
Free kick awarded for a foul by James Tomkins on Franco Di Santo. Franco Di Santo takes the direct free kick.66:07
Shaun Maloney produces a cross, James Collins manages to make a clearance. Franco Di Santo takes a shot. Kevin Nolan gets a block in.65:17
The offside flag is raised against Franco Di Santo. Jussi Jaaskelainen takes the indirect free kick.64:42
Modibo Maiga concedes a free kick for a foul on Franco Di Santo. Direct free kick taken by Jean Beausejour.63:21
James McArthur takes the direct free kick.63:21 Substitution
Substitution Carlton Cole comes on in place of Mark Noble.63:21
Foul by Kevin Nolan on Shaun Maloney, free kick awarded.60:52
Ali Al Habsi takes the indirect free kick.60:19 Booking
Booking Modibo Maiga is shown a yellow card.59:02
Maynor Figueroa sends in a cross.57:15
Franco Di Santo takes a shot. Blocked by James Collins.56:30
Foul by Winston Reid on Arouna Kone, free kick awarded. Ivan Ramis restarts play with the free kick.54:04
Gary Caldwell takes the direct free kick.54:04 Booking
Booking Mark Noble goes into the referee's book for unsporting behaviour.53:58
Mark Noble gives away a free kick for an unfair challenge on Shaun Maloney.53:31
Shot from outside the box by Modibo Maiga goes wide right of the target.52:34
Franco Di Santo has an effort at goal from outside the area missing to the wide right of the goal.52:04
A cross is delivered by James Tomkins.51:03
Free kick awarded for a foul by Maynor Figueroa on Andy Carroll. James Collins restarts play with the free kick.49:57
James Tomkins takes a shot. Blocked by Jean Beausejour.49:33
Modibo Maiga takes a shot. Blocked by Gary Caldwell.48:56
Corner from the left by-line taken by Mark Noble, save by Ali Al Habsi.46:42
The assist for the goal came from Shaun Maloney.46:42 Goal scored
Goal! - James McArthur - Wigan 2 - 0 West Ham James McArthur finds the net with a goal from inside the box to the bottom right corner of the goal. Wigan 2-0 West Ham.45:30
Mark Noble concedes a free kick for a foul on Shaun Maloney. Ali Al Habsi takes the direct free kick.45:01
The referee gets the second half started.45:01 Substitution
Substitution (West Ham) makes a substitution, with Modibo Maiga coming on for Yossi Benayoun.45:00 +2:01 Half time
Half Time The half-time whistle blows.45:00 +0:56
A cross is delivered by James Tomkins, Headed effort from inside the area by Andy Carroll misses to the right of the target.43:04
Arouna Kone produces a right-footed shot from just outside the penalty box that misses to the left of the goal.42:48
Mark Noble concedes a free kick for a foul on James McCarthy. Direct free kick taken by Ivan Ramis.42:08
Ivan Ramis has an effort at goal from a long way out that goes wide left.40:22
Franco Di Santo takes a shot. Save by Jussi Jaaskelainen.39:47
Franco Di Santo takes a shot. Save by Jussi Jaaskelainen.38:47
James Collins restarts play with the free kick.38:47 Booking
Booking Franco Di Santo booked for unsporting behaviour.38:19
Unfair challenge on Winston Reid by Franco Di Santo results in a free kick.35:16
Free kick awarded for an unfair challenge on Andy Carroll by Emmerson Boyce. The ball is delivered by Mark Noble, James Collins takes a shot. Comfortable save by Ali Al Habsi.34:40
James McArthur has a shot on goal from outside the box which misses left.33:53
A cross is delivered by George McCartney, save by Ali Al Habsi.32:49
Yossi Benayoun challenges Jean Beausejour unfairly and gives away a free kick. Ali Al Habsi takes the direct free kick.32:08
Matthew Jarvis crosses the ball, James Tomkins takes a shot. Save made by Ali Al Habsi.31:38
Corner taken right-footed by Mark Noble from the right by-line, Maynor Figueroa manages to make a clearance.31:21
Matthew Jarvis sends in a cross, Ali Al Habsi makes a fantastic save.29:49
Shaun Maloney takes a shot. Winston Reid gets a block in. Shaun Maloney takes the outswinging corner, Jean Beausejour takes a shot from 20 yards. Andy Carroll manages to make a clearance.27:06
Shaun Maloney concedes a free kick for a foul on George McCartney. Free kick crossed right-footed by Mark Noble, clearance made by Ivan Ramis.26:17
The ball is crossed by George McCartney, save by Ali Al Habsi.25:35
Mark Noble takes a inswinging corner to the near post, clearance made by James McCarthy.25:08
Andy Carroll fouled by Ivan Ramis, the ref awards a free kick. Free kick taken by Mark Noble.23:32
The referee blows for offside. James Collins takes the indirect free kick.22:53
Jean Beausejour crosses the ball, save made by Jussi Jaaskelainen.21:48
Kevin Nolan takes the chance to get an effort at goal. Save made by Ali Al Habsi.20:12
James McCarthy produces a drilled right-footed shot from 25 yards. Jussi Jaaskelainen makes a save.17:47
Mark Noble shoots direct from the free kick. The ball is crossed by Matthew Jarvis.17:47 Booking
Booking Ivan Ramis is shown a yellow card for unsporting behaviour.17:44
Mohamed Diame fouled by Ivan Ramis, the ref awards a free kick.15:08
Corner taken left-footed by Jean Beausejour, clearance made by Andy Carroll.14:38
George McCartney concedes a free kick for a foul on Arouna Kone. Direct free kick taken by Ivan Ramis.14:03
Short corner taken by Mark Noble from the left by-line.11:36
A cross is delivered by Emmerson Boyce, James Tomkins makes a clearance.10:22
Free kick awarded for a foul by Franco Di Santo on George McCartney. Free kick taken by Jussi Jaaskelainen.9:47
Foul by Mohamed Diame on Ivan Ramis, free kick awarded. Direct free kick taken by Ivan Ramis.7:34
Assist on the goal came from Jean Beausejour.7:34 Goal scored
Goal! - Ivan Ramis - Wigan 1 - 0 West Ham Ivan Ramis fires in a brilliant goal from deep inside the penalty box to the top left corner of the goal. Wigan 1-0 West Ham.7:06
Jean Beausejour takes the outswinging corner,6:12
The ball is delivered by Shaun Maloney, James Collins makes a clearance.5:34
Corner taken by Shaun Maloney from the right by-line, clearance made by Kevin Nolan.2:48
Gary Caldwell concedes a free kick for a foul on Andy Carroll. Andy Carroll fires a strike on goal direct from the free kick.1:50
The official flags Franco Di Santo offside. Jussi Jaaskelainen takes the indirect free kick.0:00
The game gets underway.
Live data and text provided by our data suppliers