The defeat left manager Gareth Southgate's men nineteenth in the table with 32 points, three behind the safety zone.
Egyptian midfielder Mohamed Shawki started and ended the game on the bench for Middlesbrough.
Carlton Cole opened the score line for the Hammers on 33 minutes, but his strike was cancelled out by Gary O'Neill five minutes after the interval.
Junior Stanislas scored the winner for the home side in the 58th minute.
In the meantime, Middlesbrough will be accompanied in the Championship by Teeside rivals Newcastle United, after the latter lost to Aston Villa.
The Magpies couldn’t capitalize on Hull City's defeat to champions Manchester United, as a Damien Duff own-goal was enough to dent Alan Shearer's men.
The result allowed Hull to escape relegation with 35 points in seventeenth spot, just one point more than Newcastle.
نرشح لكم
كأس العالم - ذا أثلتيك: بشكتاش يتفق مع أرسنال على ضم تروسارد
كأس العالم - شرقي: نعرف قوة المغرب.. وواجهنا ضغط باراجواي بثقة
كأس العالم - مؤتمر توخيل: أجواء عاطفية منتظرة.. وتجاوز البداية القوية لـ المكسيك مفتاح التأهل
كأس العالم - مواعيد مباريات اليوم الأحد 5 يوليو - البرازيل ضد النرويج.. وإنجلترا تواجه المكسيك
كأس العالم - مينديش: مواجهة لامين يامال تحد ممتع… وإسبانيا ليست لاعبا واحدا
كأس العالم - بسبب الإصابة.. منتخب فرنسا يفتقد تشواميني ضد باراجواي
كلوب عن تدريب ألمانيا: أنا جاهز واستعدت طاقتي
كأس العالم - ألكانتارا: يامال يصنع الفارق دائما.. واللعبة أصبحت أسرع وأصعب












كأس العالم - الصفقة الرابعة هذا الصيف.. ريال مدريد يضم دومفريس
كأس العالم - شرطة دالاس تكشف تفاصيل مبادرتها مع بعثة منتخب مصر