Emmanuel Adebayor had given the hosts the lead before late strikes from Matt Jarvis and Modibo Maiga turned the tie around to send Sam Allardyce's men into the last four
Mali international Maiga had gone 12 months and 17 days without scoring for West Ham but picked the ideal time to end his drought, heading home fellow substitute Mohamed Diame's cross with five minutes left to book his side's place in the semi-finals.
|VIEW FROM WHITE HART LANE
|By Greg Stobart
This was not the reaction Tottenham hoped for when Andre Villas-Boas was sacked on Monday.
Tim Sherwood sent his side out in a new formation, playing two strikers and recalling Emmanuel Adebayor from the wilderness.
The interim manager would have thought the night had gone to plan, with Spurs controlling the game and playing at a high tempo in the early stages.
In the 67th minute, Adebayor appeared to write the script with a brilliant volley to smash in Jermain Defoe’s cross from the left via the underside of the bar.
But Spurs completely lost control after Adebayor was replaced in the 78th minute, while West Ham’s substitutes made the perfect impact to turn the game around and win at White Hart Lane for the second time this season.
Matt Jarvis fired in the equaliser 10 minutes from time before Modibo Maiga headed the winner, his first goal in more than a year greeted with delirium by the 5,000 visiting fans.
It means the Hammers have booked a place in the semi-finals of the Capital One Cup while Sherwood may reflect that the task ahead is more challenging than he first thought.
Sherwood – Spurs' technical co-ordinator and caretaker manager after Andre Villas-Boas was sacked on Monday – saw his side take a deserved lead in the 67th minute as Emmanuel Adebayor, making his first start of the season, volleyed home Jermain Defoe's cross.
But they faded dramatically after that as West Ham won at White Hart Lane for the second time in less than three months.
Tottenham had not lost back-to-back home games against West Ham since 1966 and to make matters worse, had winger Andros Townsend limp off with a left hamstring injury late on.
Sherwood made six changes from Sunday's 5-0 loss to Liverpool, which proved to be Villas-Boas' last game at the helm, and reverted to a 4-4-2 formation, as Adebayor partnered Defoe up front, while Kyle Walker wore the captain's armband with Michael Dawson suspended.
West Ham made seven changes and were on the back foot early, as Lennon charged down the right and cut back for Gylfi Sigurdsson, with Defoe shooting just wide in the second minute.
Townsend then fizzed an effort past the post from 25 yards and the chances continued for Tottenham as Joey O'Brien nearly headed into his own net after an excellent Lennon cross and then Adebayor nodded wide from a Townsend ball.
The hosts had five corners inside the first 16 minutes but dropped off after that as West Ham finally settled, although their best effort was a Carlton Cole strike from 25 yards that was easily saved.
Lennon and Sigurdsson failed to hit the target with efforts just after the break, while in the act of giving the ball back to Tottenham after George McCartney needed treatment, West Ham defender James Collins nearly scored with a downfield punt that saw Spurs goalkeeper Hugo Lloris scrambling.
Tottenham finally made the breakthrough with 23 minutes left when Defoe charged down the left and looped a perfect ball into the path of Adebayor, who thrashed his effort in off the underside of the crossbar to score his first goal since May.
West Ham substitute Diame tested Lloris and Matt Taylor drew two saves out of the French goalkeeper, before their pressure told with 10 minutes left.
Taylor played in Jarvis and he shot into the top left corner, before Maiga's winning header delighted the away fans.
Sigurdsson had another effort saved in injury time and Maiga was denied a second by the crossbar, but it mattered little as West Ham held on.