subsequently won. El Alagui was also named in the PFA First Division Team of the Year. He made 43 appearances and scored 27 goals during his only season with the club and departed in July 2012. Brentford League One club Brentford signed El Alagui on 3 July 2012 on a two-year deal, beating off interest from St Johnstone, Kilmarnock, several Championship clubs and clubs abroad. After joining Brentford, El Alagui said he turned down offers from two SPL clubs because manager Uwe Rösler persuaded him to join Brentford. On the opening game of the season, he made his debut, coming on for Sam Saunders, in a 0–0 draw against Bury. On 24 August 2012, he scored his first two Brentford goals in a 5–1 win over Crewe Alexandra. After the match, strike partner Clayton Donaldson had supported El Alagui to become the new Gary Alexander. On 8 September 2012, he scored a winning goal in a 1–0 win over Colchester United. In early-October, El Alagui suffered a serious knee injury, after colliding with Paul Jones in a match against Crawley Town and spent much of the rest of the season on the sidelines. He made his return from injury in the penultimate game of the season against Hartlepool United, replacing goalscorer Marcello Trotta after 75 minutes of a 1–1 draw. He made one substitute appearance during Brentford's unsuccessful playoff campaign. El Alagui finished the 2012–13 season having scored three goals in 12 appearances. On 6 August 2013, El Alagui began his 2013–14 season by coming on as a substitute for Emmanuel Oyeleke in the 54th minute of a League Cup first round match against Dagenham & Redbridge and scored two goals to help Brentford to a 3–2 extra time win. El Alagui scored a crucial injury time equaliser in a 1–1 draw with Gillingham on 17 August 2013. He scored two goals in Brentford's 5–3 Football League Trophy first round win over AFC Wimbledon on 3 September. In November and having started in only three of his first 12 appearances of the 2013–14 season, El Alagui expressed his frustration at being unable to force his way into Uwe Rösler's plans. El Alagui notched his sixth goal of the season in a 3–2 FA Cup second round defeat to Carlisle United on 7 December. News reports surfaced in mid-December that before his departure as manager, Rösler gave the go-ahead for El