The former Atletico Madrid player had a stop-start season in 2009-10 after undergoing knee surgery, although he still finished as Liverpool's top scorer with 22 goals from 32 appearances in all competitions, and has yet to find his best form this term.
His withdrawal from the Spain side to face Lithuania on 8 October and Scotland on 12 October may come as a relief to Liverpool manager Roy Hodgson.
He appealed to Spain coach Vicente del Bosque not to call up the striker for the Euro 2012 qualifier against Liechtenstein and a friendly in Argentina at the beginning of September.
Torres did feature in the match against Liechtenstein scoring twice in a 4-0 win.
But the striker has only found the back of the net once for his club this term and Hodgson is eager to see him return to fitness and form.
"We had no awareness there were any problems in the groin area," said Reds manager Roy Hodgson, following the injury to Torres.
"It happened early in the game, which came as a surprise to us. I don't know if it happened when he stretched for the ball. I don't really know."
The derby against Everton at Goodison Park will be hugely important with Liverpool currently wallowing in 18th place in the Premier League after their worst start to a campaign since 1953-54, when they were relegated.
Everton have also had their problems and are just one place above their near-neighbours, on goal difference alone.
Meanwhile, Barcelona forward Pedro and the Sevilla winger Jesus Navas have also dropped out of the Spain squad for the Group I games, leading coach Vicente del Bosque to call up four replacements.
In-form Primera Division pacesetters Valencia have provided two of the newcomers, striker Aritz Aduriz and winger Pablo Hernandez, with the other two coming from second-placed Villarreal - playmaker Borja Valero and his fellow midfielder, Bruno Soriano.
Spain, the reigning world and European champions, play Lithuania in Salamanca on Friday before travelling to Glasgow to take on the Scots four days later.
Goalkeepers: Iker Casillas (Real Madrid), Victor Valdes (Barcelona), Pepe Reina (Liverpool) Defenders: Alvaro Arbeloa (Real Madrid), Sergio Ramos (Real Madrid), Carles Puyol (Barcelona), Gerard Pique (Barcelona), Carlos Marchena (Villarreal), Joan Capdevila (Villarreal), Nacho Monreal (Osasuna) Midfielders: Xabi Alonso (Real Madrid), Sergio Busquets (Barcelona), Santi Cazorla (Villarreal), Andres Iniesta (Barcelona), Pablo Hernandez (Valencia), Borja Valero (Villarreal), Bruno Soriano (Villarreal) Forwards: David Villa (Barcelona), David Silva (Manchester City), Fernando Llorente (Athletic Bilbao), Aritz Aduriz (Valencia)
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.