Match ends, Southampton 3, West Ham United 2.
Ten-man West Ham twice came from behind but Charlie Austin's injury time penalty gave Southampton their first victory under Mauricio Pellegrino.
Having failed to score in their last six home matches, Saints took the lead after only 10 minutes when Manolo Gabbiadini side-footed past Joe Hart.
West Ham's problems then spiralled, as Marko Arnautovic was sent off for elbowing Jack Stephens, before Dusan Tadic made it 2-0 from the penalty spot after Jose Fonte brought down Steven Davis.
Summer signing Javier Hernandez thought he had snatched an unlikely comeback for the visitors with two goals from close range either side of half time.
But the Hammers conceded a second penalty when Pablo Zabaleta bundled into Maya Yoshida and substitute Austin coolly slotted past Hart.
Were the big calls right?
Referee Lee Mason had some important decisions to make throughout the dramatic match at St Mary's - and he got most of them right.
Mason was left with little choice but show a straight red to Arnautovic on 33 minutes, after the Hammers' record signing needlessly raised his elbow into Stephens' neck. The Austria international later apologised to the fans for his dismissal.
The first penalty was also an easy one to give, as former Saints defender Fonte pulled down Davis, but the second spot-kick in the 91st minute was a more contentious matter.
Zabaleta caught a rising Yoshida in the back, as he went to head the ball from close range, and Mason decided the Hammers defender had impeded his Southampton counter-part.
West Ham had earlier had a handball appeal against Stephens waved away, while the referee did not punish Mark Noble for his rash challenge on Saints midfielder Mario Lemina, who was making his debut following his £18.1m move from Juventus.
Saints finally start scoring
Before facing the Hammers, Southampton had not scored on home soil since 5 April - 576 minutes of football.
They had 29 shots against Swansea last week, landing only two on target in their goalless draw, so there was a collective sigh of relief around St Mary's when Gabbidani slotted home after Nathan Redmond's through ball.
Saints were only able to score from open play once during the match, but Gabbiadini and Redmond both went close with long-range efforts.
Substitute Shane Long had the ball in the net in the second-half but referee Mason had already blown for a foul on goalkeeper Hart in the build-up.
Hernandez shines for unhappy Hammers
With their home ground out of use until next month following the athletics World Championships, it was always going to be a testing start to the season for West Ham.
They started their run of four consecutive away matches with an embarrassing 4-0 defeat against Manchester United last weekend, but put in a much-improved display at St Mary's - even after going down to 10 men.
Hernandez, who arrived for £16m from Bayer Leverkusan, lived up to his reputation as a potent poacher with his first two goals for his new club.
The Mexico international tapped in West Ham's opener after Fraser Forster parried Michail Antonio's shot into his path, and did the same again for his second goal - this time after Diafra Sakho's header came off the woodwork.
Boss Slaven Bilic said of his new striker: "We knew what we were getting with Hernandez: a really great player, great character, team player, really enthusiastic.
"You're expecting goals from him but on top of the goals, his determination; he sacrificed for the team in the best possible way."
While Hernandez looks to have settled in well, on-loan goalkeeper Hart still looked nervous at times and his confidence may be dented further after conceding seven goals in two matches.
Arnautovic apologises to the fans
Marko Arnautovic posted a message on social media after the game: "I want to apologise to all of the West Ham fans. Just want to let you know that I didn't want to let me team down and you fans. A big apology to you all."
West Ham manager Slaven Bilic on Arnautovic's sending off: "It is a big blow because you have to play with 10 men for a big part of the game. We have spoken about everything and that will stay inside the dressing room."
Southampton manager Mauricio Pellegrino: "It was a difficult game because we had everything under control after a sending off and two goals. This is football.
"West Ham are a strong team and they won a lot of balls in our box. It was a nice game to see, but difficult for a manager to be in."
Man of the match - Dusan Tadic
Saints' nine-hour wait for a goal
- Gabbiadini's goal ended a run of nine hours and 15 minutes without a Premier League goal at St Mary's for Southampton.
- Marko Arnautovic has been sent off versus Southampton in each of his last two Premier League appearances against them.
- Since the start of 2015-16, West Ham have conceded more goals from the penalty spot than any other Premier League team (15).
- All 39 of Javier Hernandez's Premier League goals have come inside the box.
- There were more goals scored in this match (five) than in Southampton's previous five home Premier League games combined (three).
What's next?
Southampton host Wolves in the EFL Cup on Wednesday (19:45 BST), before returning to league action against Huddersfield on Saturday, 26 August (15:00 BST).
West Ham are also in EFL Cup action on Wednesday at League Two side Cheltenham Town (19:45 BST) before travelling to Newcastle on Saturday (15:00 BST).
Line-ups
Southampton
Formation 4-2-3-1
- 44Forster
- 2Cédric Soares
- 5Stephens
- 3Yoshida
- 21Bertrand
- 14Romeu
- 18LeminaSubstituted forWard-Prowseat 65'minutes
- 11TadicBooked at 15mins
- 8DavisSubstituted forLongat 80'minutes
- 22Redmond
- 20GabbiadiniSubstituted forAustinat 80'minutes
Substitutes
- 7Long
- 10Austin
- 13McCarthy
- 16Ward-Prowse
- 19Boufal
- 35Bednarek
- 38McQueen
West Ham
Formation 4-2-3-1
- 25Hart
- 5ZabaletaBooked at 90mins
- 4José Fonte
- 21Ogbonna
- 3Cresswell
- 41RiceSubstituted forObiangat 76'minutes
- 16Noble
- 30AntonioSubstituted forSakhoat 68'minutes
- 20A AyewSubstituted forFernandesat 68'minutes
- 7ArnautovicBooked at 33mins
- 17Hernández
Substitutes
- 13Adrián
- 14Obiang
- 15Sakho
- 22Byram
- 26Masuaku
- 31Fernandes
- Referee:
- Lee Mason
- Attendance:
- 31,424
Match Stats
- Possession
- Home66%
- Away34%
- Shots
- Home14
- Away16
- Shots on Target
- Home5
- Away8
- Corners
- Home7
- Away2
- Fouls
- Home18
- Away10
Live Text
Post update
Full Time
Second Half ends, Southampton 3, West Ham United 2.
Goal!
Goal! Southampton 3, West Ham United 2. Charlie Austin (Southampton) converts the penalty with a right footed shot to the centre of the goal.
Booking
Pablo Zabaleta (West Ham United) is shown the yellow card for a bad foul.
Post update
.
Post update
Penalty Southampton. Maya Yoshida draws a foul in the penalty area.
Post update
Penalty conceded by Pablo Zabaleta (West Ham United) after a foul in the penalty area.
Post update
Corner, Southampton. Conceded by José Fonte.
Post update
Attempt blocked. Nathan Redmond (Southampton) left footed shot from outside the box is blocked. Assisted by James Ward-Prowse.
Post update
Foul by Ryan Bertrand (Southampton).
Post update
Joe Hart (West Ham United) wins a free kick in the defensive half.
Post update
Foul by Dusan Tadic (Southampton).
Post update
Mark Noble (West Ham United) wins a free kick in the attacking half.
Post update
Attempt blocked. Mark Noble (West Ham United) right footed shot from outside the box is blocked.
Post update
Foul by Nathan Redmond (Southampton).
Post update
Pablo Zabaleta (West Ham United) wins a free kick on the right wing.
Post update
Corner, Southampton. Conceded by Pedro Obiang.
Post update
Attempt blocked. Oriol Romeu (Southampton) right footed shot from outside the box is blocked. Assisted by James Ward-Prowse.
Substitution
Substitution, Southampton. Shane Long replaces Steven Davis.
Substitution
Substitution, Southampton. Charlie Austin replaces Manolo Gabbiadini.
Comments
Join the conversation
Fonte tried to throttle Davis- Penalty
Arnautovic tries to decapitate Stephens - Red Card
Zabaleta barges Yoshida in the back in final minute - Penalty
Blame the ref? No blame the West Ham players .
The same cannot be said for that mercurial lunatic Arnautovic. I hope he gets a decent ban for that elbow, uncalled for, deliberate and very nasty.
I suppose a blatant elbow in the neck after the ball had gone, a pull-back on the neck on a player through on goal, & a 'judicious' push in the back by Zabaleta who got on the wrong side of a player about to head on goal are all part and parcel of a good clean game of footie & should be overlooked.
Hernandez is a steal at £16m.
Usual suicidal defending from us, giving away 2 soft pens like that, and I don't see Hart as an upgrade on Adrian at all.