Craig Dawson scored his first West Ham goal late on against Stockport County to earn his side a place in the fourth round.
It was a game of few clear cut chances. The conditions got worse as heavy rain continued to pour down in Stockport.
The former Watford defender headed in the all-important goal in the 82nd minute. The Hammers will face Doncaster Rovers in the fourth round.