Mario Goetze scored in a 3-2 win for Germany in a friendly Wednesday to help his country beat Brazil for the first time in 18 years.

The 19-year-old Goetze scored in the 67th minute - after Bastian Schweinsteiger's penalty in the 61st - when he rounded goalkeeper Julio Cesar before slotting the ball in from an angle.

''Goetze has extraordinary awareness. He always finds solutions. It's the simple things that make him so strong,'' Germany coach Joachim Loew said after the game.

Robinho pulled one back from the spot in the 71st, after Germany captain Philipp Lahm's poor challenge on Dani Alves.

Substitute Andre Schuerrle made the game safe in the 80th, when Schweinsteiger displayed great perseverance to win the ball from Andre Santos on the edge of the area, before playing it back.

Neymar unleashed a fine effort from outside the penalty area for a late consolation for Brazil.

''Germany were clearly better over the whole match,'' Brazil coach Mano Menezes said. ''We need to cut out individual mistakes. It's on these things that games at the highest level are decided.''

The game, played in front of a sellout crowd of almost 55,000, was televised in 190 countries.

''Today was good. We didn't let the Brazilians come into the game,'' Low said.

Germany's last victory over Brazil came on Nov. 17, 1993, a 2-1 win in Cologne.

After a disastrous quarterfinal exit in the Copa America, Menezes opted to start with new faces Ralf, a midfielder from Corinthians, and Vasco da Gama defender Dede.

Loew, meanwhile, started with seven Bayern Munich players, and it was the home side that made the better start with Goetze - making his first start - in the thick of the action.

''When you see how the players displayed such enjoyment, such desire, such a high tempo - that was something. And that's how we must go on,'' Loew said.

''For us it was a friendly game at a very high level ... Today was good.''

After forcing two corners in the third minute, Goetze drew a fine save from goalkeeper Julio Cesar in the sixth, controlling the ball on his chest before taking it past a defender with his right and shooting with his left.

Brazil found it hard to settle in the face of the home side's pressing game, but its attacking trident of Alexandre Pato, Neymar and Robinho remained dangerous on the break.

Brazil captain Lucio had to intervene to take the ball off the toe of Thomas Mueller, before Goetze had a shot blocked.

Christian Traesch cut out Dani Alves' cross with another Brazilian lurking, and there were alarm bells ringing again from the resultant corner 10 minutes before the interval.

Pato displayed wonderful footwork to elude three defenders before pulling his shot in the 39th. Neymar also shot wide after Andre Santos' surging run through the middle before the interval.

Pato's delightful chip had Manuel Neuer beaten after the interval, and the Germany goalkeeper was relieved to see it narrowly wide.

Lucio brought down Toni Kroos in the 59th, and Schweinsteiger converted the penalty.

Germany might have had another three minutes later, when Thiago Silva appeared to knock the ball with his arm while on the ground, but referee Victor Kassai was happy to continue.

Goetze timed his run perfectly for Kroos' defense-splitting pass to make it 2-0, with Miroslav Klose - who came on at halftime to earn his 110th cap for Germany - also involved.

German appeals for another penalty, when substitute Klose went down under the challenge of Thiago Silva went unheeded, after Robinho's spot kick had given the Brazilians hope.

''I'm happy it went well,'' Goetze said.

---

Lineups:

Germany: Manuel Neuer, Mats Hummels (Jerome Boateng, 88), Bastian Schweinsteiger (Simon Rolfes, 85), Mario Goetze (Cacau, 88), Lukas Podolski (Andre Schuerrle), Thomas Mueller, Holger Badstuber, Christian Traesch, Philipp Lahm, Toni Kroos, Mario Gomez (Miroslav Klose, 46).

Brazil: Julio Cesar, Dani Alves, Lucio, Thiago Silva, Ralf, Andre Santos, Robinho (Renato Augusto, 86), Ramires (Luiz Gustavo, 86), Alexandre Pato (Fred, 77), Neymar, Fernandinho (Ganso, 69).

Referee: Victor Kassai (Hungary).