Arsenal warmed up for their crucial Champions League second-leg tie at Monaco on Tuesday with a 10th successive win over West Ham.
The Gunners dominated the first half before Olivier Giroud smashed in an angled drive just before half-time.
Kevin Nolan and Matt Jarvis came close to scoring for the Hammers.
But late strikes from Aaron Ramsey and Mathieu Flamini moved Arsenal four points clear of fourth-placed Manchester United.
It was a convincing performance from Arsene Wenger's Gunners side, who will be aiming to overturn a 3-1 deficit in France next week.
And the Frenchman, returning to his former club Monaco, will be pleased his side kept a clean sheet against West Ham and managed to score late goals after wasting a number of chances.
Until the strikes from Ramsey and Flamini, West Ham looked like they might build up a period of sustained pressure, but the introduction of Santi Cazorla helped earn Arsenal an eighth win in their last nine Premier League games.
Wenger will also be content that his team came through the game unscathed as he rested a number of players. Giroud looked supremely confident, too, after a fifth goal in five games against the Hammers.
West Ham were short up front after Enner Valencia's altercation with a teacup, and when they did show promise they came up against defender Laurent Koscielny, who had a fine game for the hosts.
Conjuring up a number of flowing moves from the start, the Gunners should have gone into the break more than one goal ahead. They only held a slender lead thanks to several saves from West Ham goalkeeper Adrian.
The opportunities arrived as early as the fifth minute when the Gunners had a strong penalty appeal waved away by referee Chris Foy after James Collins bundled over Arsenal forward Theo Walcott.
Walcott, in for injured winger Alex Oxlade-Chamberlain, showed some rustiness when presented with further opportunities in what was only his third Premier League start of the season.
Other Arsenal players, such as Alexis Sanchez and Ramsey, found Adrian an unbreachable force.
The home crowd began to grow frustrated but they went into the break lifted by Giroud's goal as the French striker finished another neat interchange by crashing his shot in off the far post.
With Diafro Sakho a lone threat up front, Hammers boss Sam Allardyce screamed at his players to get further forward in the second half.
It seemed to have an effect as West Ham grew in influence and Jarvis went close but he could not keep his shot down from a corner.
But the game appeared over when Giroud set up Ramsey for a goal from a corner, with Flamini adding the gloss from close-range with his first touch.
Latest Stories
-
Donewell Life Assurance rebrands to Pinnacle Life Insurance: A new era of excellence
10 mins -
NDC blames ECG’s poor revenue collection for energy sector challenges
12 mins -
MEST Africa, Mastercard Foundation celebrate EdTech Innovations at Demo Day in Accra
17 mins -
AWA reaffirms commitment with FOD Walk during Safety Week
21 mins -
Kuami Eugene hopeful he’ll be first Lynx artiste to survive after leaving the label
32 mins -
Akufo-Addo seeks to use Bawumia to complete Akyem agenda – Asiedu Nketia alleges
34 mins -
National Cathedral: CHRAJ recommends investigation, contract cancellation, possible prosecution
38 mins -
Dr James Orleans-Lindsay wins Man of the Year at 9th EMY Africa Awards
40 mins -
Medical Council to enforce specialist distribution nationwide
1 hour -
Fire guts old Fadama market, man reportedly loses GHC800,000
1 hour -
Nacee bemoans low performance fees for gospel artistes
1 hour -
We don’t operate investment platform – GNPC
2 hours -
Ghana Fact-checking Coalition condemns disinformation on voting by Wontumi FM broadcaster
2 hours -
IFRS 17 will augment and accelerate NIC’s efforts to implement risk-based capital – Deloitte
2 hours -
IFRS 17 is one of biggest changes to financial reporting standards in insurance industry – Deloitte
2 hours