Spalletti has been strongly linked with a move to Juventus in recent weeks.
Spalletti announced his decision after talks with Roma president Rosella Sensi on Thursday.
“The meeting went well,” said Spalletti. “We are working for the good of Roma.
“I will remain here because I want to and there’s no truth in reports claiming that I am not motivated or that I’m unhappy to remain at Roma.”