Chile and Ecuador earned the final two automatic spots from South America and Honduras got the final guaranteed slot from the North and Central American and Caribbean region, the 21st of 32 slots for the field in Brazil next June.
Less than two minutes from elimination, Mexico advanced to a playoff against Oceania when the United States scored twice in stoppage time for a 3-2 win at Panama that knocked out the hosts.
Wayne Rooney scored in the 41st minute and Steven Gerrard in the 88th to give England (6-0-4) a 2-0 win over Poland at London's Wembley Stadium and first place in Group H by one point over Ukraine (6-1-3). The Three Lions qualified for their 14th World Cup and fifth in a row.
"We have a great togetherness, are there for each other and proved we can perform under pressure," Gerrard said.
Spain (6-0-2) won Group I with a 2-0 victory over visiting Georgia on goals by Alvaro Negredo in the 26th minute and Juan Mata in the 61st. Iker Casillas returned to starting lineup for Spain after being replaced by Victor Valdes against Belarus last week. The Spanish, who have won three straight major tournaments, including the 2008 and 2012 European Championships, qualified for their 10th straight World Cup.
"It may look practically routine, but it's important to remember how successful we've been at qualifying," coach Vicente Del Bosque said. "This is not an easy competition."
France (5-1-2) was second and will be in the playoffs despite defeating visiting Finland 3-0 on goals by Franck Ribery and Karim Benzema around Joona Toivio's own goal.
Cristiano Ronaldo's Portugal, Greece, Ukraine, Romania and Iceland also finished second in their groups, winding up in Monday's draw for the eight-team European playoffs next month along with Sweden and Croatia. The four playoff winners also will earn berths.
With a population of just over 300,000, Iceland would be the smallest nation to qualify for a World Cup. Trinidad and Tobago, at about 1.3 million, was at the 2006 tournament in Germany.
The seedings for the playoffs will be determined by Thursday's FIFA rankings. Denmark (4-2-4) had the poorest record among the nine second-place teams and missed out on a playoff berth.
Bosnia (8-1-1) won 1-0 at Lithuania on Vedad Ibisevic's 68th-minute goal to win Group G on goal difference over Greece. Bosnia-Herzegovina gained independence from Yugoslavia in 1992. Almost 10,000 fans jumped, cried and screamed 'Vamos Bosnia' — or 'Go Bosnia' — when Ibisevic scored in Kaunas.
Fans headed to the airport after the game to wait for their team to arrive in the middle of the night and join the party.
Greece (8-1-1) defeated visiting Liechtenstein 2-0 as Dimitris Salpingidis scored in the seventh minute and Giorgos Karagounis added a goal in the 81st.
Russia (7-2-1) won Group F with a 1-1 tie at Azerbaijan as Roman Shirokov scored in the 15th. Portugal (6-1-3) finished a point back after defeating visiting Luxembourg 3-0 on goals by Silvestre Varela, Nani and Helder Postiga.
Italy, which already had clinched, tied Armenia 2-2 at Naples. Former Real Salt Lake forward Yura Movsisyan scored in the fourth minute for the visitors. Alessandro Florenzi and Mario Balotelli scored for the Azzurri, and Giueseppe Rossi entered in the 73rd minute for his first international appearance since Oct. 7, 2011. A 26-year-old forward who was born and lives in New Jersey, Rossi had been sidelined until last May by a knee injury late that October, which required three operations.
After clinching last week, Germany rallied for a 5-3 win at Sweden as Andre Schuerrle had a second-half hat trick following goals by Mesut Ozil and Mario Goetze.
A 2-1 win by Chile (9-6-1) over visiting Ecuador (7-5-4) earned both nations berths. Alexis Sanchez scored for Chile in the 35th minute and Gary Medel added another three minutes later, while Felipe Caicedo scored for Ecuador in the 66th.
Uruguay (7-5-4) was fifth on goal difference after a 3-2 win at home over already qualified Argentina (9-2-5) and will play a home-and-home playoff against Jordan, the fifth-place team in Asia. Cristian Rodriguez and Edison Cavani scored around a Luis Suarez penalty kick for the hosts, and Maxi Rodriguez had two goals for the visitors.
In CONCACAF, Honduras (4-3-3) earned the region's third berth and its second straight World Cup trip with a 2-2 tie at Jamaica on goals by Carlo Costly and Maynor Figueroa.
Mexico (2-3-5), in danger of failing to reach the tournament for the first time since 1990, lost 2-1 at Costa Rica as Brian Ruiz scored in the first half and Alvaro Saborio in the second for the Ticos. Oribe Peralta scored in the 29th minute for Mexico.
Panama (1-4-5) finished fifth when Graham Zusi and Aron Johannsson scored in second-half stoppage time for the U.S. (7-2-1), which like Costa Rica had clinched last month.
In the African playoffs, Ghana routed Bob Bradley's Egypt national team 6-1 in the first leg of the home-and-home, total-goals series. The second leg is scheduled for Nov. 18 in Cairo.
Bradley was hired by Egypt in September 2011, 15 months after Ghana beat Bradley's U.S. team 2-1 in the second round of the World Cup. The Pharaohs, ranked 50th, have not qualified for the World Cup since 1990.
The 24th-ranked Black Stars have eliminated the U.S. in two straight World Cups and were knocked out by Uruguay on penalty kicks in the 2010 quarterfinals.