The AC Milan forward says he will fight to reclaim his spot in the first team and said he is delighted to be able to play alongside idol Kaka.
The forward has been linked with a big money move away from the Giuseppe Meazza this summer but, speaking in the aftermath of the Rossoneri's 3-1 home win against Cagliari on Sunday, El Shaarawy confirmed he would remain at San Siro.
"I am staying at Milan," El Shaarawy said. "My choice is clear and whatever offer arrives I want to stay."
After struggling in the latter half of 2012-13, head coach Massimiliano Allegri dropped El Shaarawy to the bench for Sunday's clash with Cagliari, but the player says that the snub has made him even more determined to succeed.
"I don't want to comment on the decision by Allegri to drop me, but I am going to have to accept it," he said. "I will adapt to the formation, even as a second striker. Now there is a lot of competition but there will be room for everyone."
El Shaarawy's committal makes it a very productive 24 hours for the Serie A giant following on from the news of Kaka coming back to the club.
The 31-year-old playmaker has ended his Real Madrid ordeal by returning to the club he spent six successful seasons with from 2003-2009 and the Brazilian's acquisition was also greeted warmly by El Shaarawy.
"The signing of Kaka is a dream come true for me because he is my idol," he told reporters.