Roma's difficult start to the 2008–09 season and continued struggles at the start of the 2009–10 season saw Spalletti resign after his four-year reign and he was replaced by Claudio Ranieri.
Totti performed well in the inaugural UEFA Europa League; he scored two hat-tricks in the competition that season, first in a 7–1 away win against Gent in the third qualifying round and then another in the same scoreline against MFK Košice at the Stadio Olimpico in the play-off round.
In Serie A, he also scored three goals against Bari on 22 November 2009, seven years on from his last hat-trick in Serie A. Eight days later, Totti confirmed he had signed a new five-year playing contract which would see him at the club until 2014, after which he stated he would become a club director for a further five years.
Roma offered him an annual salary of €8.9 million for 2009–10 and €8.6 million a year for the next four seasons.

With a 24-match unbeaten run in Serie A, Roma became the only challengers to Inter in the last three rounds for the league title that season, ultimately finishing runners-up after the final game.
Despite suffering several injury problems, he surpassed former prolific strikers such as Gabriel Batistuta, Giuseppe Signori, and Kurt Hamrin, putting him in sixth place in the all-time Serie A scoring records.
Totti also played in the Coppa Italia final against Inter on 5 May 2010, but received a red card in the closing minutes of the second half for kicking Mario Balotelli; Roma lost the match 0–1, thus failing to bring home a record tenth Coppa Italia title.

In the 2010–11 season, Roma suffered yet another defeat to Inter in the 2010 Supercoppa Italiana, continuing their "traditional" early struggles, which Totti partly blamed on Ranieri's defensive mindset and failure to develop a consistent set of tactics.
On a personal level, Totti won the Golden Foot award, but Ranieri's lack of faith in him due to his age meant that the captain would spend a lot of time on the substitute's bench in favour of younger forwards, such as Marco Borriello, Mirko Vučinić and Jérémy Ménez.
His limited playing time, which included a controversial 91st minute substitution in a 2–1 away loss against Sampdoria, resulted in several clashes with Ranieri, and saw him fall out of form, scoring only three league goals in 21 appearances; as a result of his limited appearances, despondence and strenuous relationship with the manager, rumours even circulated in the media that Totti was considering leaving Roma.
Following Roma's 4–3 loss against Genoa on 20 February 2011, Ranieri resigned as manager of Roma, and Totti saw his former teammate Vincenzo Montella appointed as caretaker coach.

Montella reverted to Spalletti's 4–2–3–1 system and Totti appeared to recapture his best form, finding the net more frequently towards the end of the season.
On 3 March, Totti was voted the best active Italian player in a poll conducted by La Gazzetta dello Sport; 100 Italian personalities including footballers, politicians and celebrities took part in the vote.
On 13 March 2011, he scored two goals against Lazio which gave Roma their fifth consecutive victory in the Rome Derby.
The following match, on 20 March, Totti became the sixth player in Serie A history to score 200 goals, finding the target twice in a 2–2 draw against Fiorentina to total 201 league goals.
On 1 May, Totti scored a brace against Bari to equal and subsequently overtake Roberto Baggio as the fifth-highest goalscorer in Serie A with his 205th and 206th career league goals, putting him behind only Silvio Piola, Gunnar Nordahl, Giuseppe Meazza and José Altafini.
Totti ended the 2010–11 Serie A campaign with 15 goals – with twelve of his goals coming in Roma's last 13 league fixtures.

At the end of the season, Roma underwent a change of ownership, with the former club owner Rosella Sensi being replaced by an American consortium led by Thomas DiBenedetto.
Under the new management, the club did not offer a permanent contract to Montella, which led to him leaving to coach another Serie A side, Catania.
The Ro
Roma's difficult start to the 2008–09 season and continued struggles at the start of the 2009–10 season saw Spalletti resign after his four-year reign and he was replaced by Claudio Ranieri. Totti performed well in the inaugural UEFA Europa League; he scored two hat-tricks in the competition that season, first in a 7–1 away win against Gent in the third qualifying round and then another in the same scoreline against MFK Košice at the Stadio Olimpico in the play-off round. In Serie A, he also scored three goals against Bari on 22 November 2009, seven years on from his last hat-trick in Serie A. Eight days later, Totti confirmed he had signed a new five-year playing contract which would see him at the club until 2014, after which he stated he would become a club director for a further five years. Roma offered him an annual salary of €8.9 million for 2009–10 and €8.6 million a year for the next four seasons.
With a 24-match unbeaten run in Serie A, Roma became the only challengers to Inter in the last three rounds for the league title that season, ultimately finishing runners-up after the final game. Despite suffering several injury problems, he surpassed former prolific strikers such as Gabriel Batistuta, Giuseppe Signori, and Kurt Hamrin, putting him in sixth place in the all-time Serie A scoring records. Totti also played in the Coppa Italia final against Inter on 5 May 2010, but received a red card in the closing minutes of the second half for kicking Mario Balotelli; Roma lost the match 0–1, thus failing to bring home a record tenth Coppa Italia title.
In the 2010–11 season, Roma suffered yet another defeat to Inter in the 2010 Supercoppa Italiana, continuing their "traditional" early struggles, which Totti partly blamed on Ranieri's defensive mindset and failure to develop a consistent set of tactics. On a personal level, Totti won the Golden Foot award, but Ranieri's lack of faith in him due to his age meant that the captain would spend a lot of time on the substitute's bench in favour of younger forwards, such as Marco Borriello, Mirko Vučinić and Jérémy Ménez. His limited playing time, which included a controversial 91st minute substitution in a 2–1 away loss against Sampdoria, resulted in several clashes with Ranieri, and saw him fall out of form, scoring only three league goals in 21 appearances; as a result of his limited appearances, despondence and strenuous relationship with the manager, rumours even circulated in the media that Totti was considering leaving Roma. Following Roma's 4–3 loss against Genoa on 20 February 2011, Ranieri resigned as manager of Roma, and Totti saw his former teammate Vincenzo Montella appointed as caretaker coach.
Montella reverted to Spalletti's 4–2–3–1 system and Totti appeared to recapture his best form, finding the net more frequently towards the end of the season. On 3 March, Totti was voted the best active Italian player in a poll conducted by La Gazzetta dello Sport; 100 Italian personalities including footballers, politicians and celebrities took part in the vote. On 13 March 2011, he scored two goals against Lazio which gave Roma their fifth consecutive victory in the Rome Derby. The following match, on 20 March, Totti became the sixth player in Serie A history to score 200 goals, finding the target twice in a 2–2 draw against Fiorentina to total 201 league goals. On 1 May, Totti scored a brace against Bari to equal and subsequently overtake Roberto Baggio as the fifth-highest goalscorer in Serie A with his 205th and 206th career league goals, putting him behind only Silvio Piola, Gunnar Nordahl, Giuseppe Meazza and José Altafini. Totti ended the 2010–11 Serie A campaign with 15 goals – with twelve of his goals coming in Roma's last 13 league fixtures.
At the end of the season, Roma underwent a change of ownership, with the former club owner Rosella Sensi being replaced by an American consortium led by Thomas DiBenedetto. Under the new management, the club did not offer a permanent contract to Montella, which led to him leaving to coach another Serie A side, Catania. The Ro
Francesco Totti