Final draw FIFA World Cup 2014 Brazil
Vicente del Bosque's side will also face South American opponents Chile and Australia, who progressed from the Asia qualification competition, in Group B.
Asked if Spain were in the toughest group, Del Bosque said: "No, I don't think so, the group with Uruguay, Italy and England is also tough."
Three-time winners Germany are in Group G with Portugal, Ghana and USA.
World Cup stat attack
- Spain met Netherlands and Chile at the 2010 World Cup but have never played a match against Australia
- The first meeting between Brazil and Mexico was a World Cup match in 1950 which won Brazil 4-0
- Italy and England have met seven times in competitive games - the Azzurri lead by five wins to one, with one draw
United States coach Jurgen Klinsmann, who won the World Cup as a player in 1990 with West Germany, said: "I kind of had in my stomach that we were going to get Germany.
"Jurgen and I have had a very good and close relationship for a long time."
Hosts Brazil open the month-long showpiece on 12 June in Sao Paulo against Croatia in Group A, who qualified for the tournament after defeating Iceland in the play-offs.
The five-time winners will then play Mexico and Cameroon to decide who reaches the knockout stages.
"We've got a difficult group, but the opening match of the World Cup against Brazil will be spectacular. I can't wait, " Southampton's Croat defender Dejan Lovren said on Twitter.
Lionel Messi's Argentina are in Group F along with debutants Bosnia-Hercegovina, Iran and Nigeria.
Manchester City's Argentina striker Sergio Aguero said on Twitter: "There's no easy match in the World Cup, but effort and hard work always gives rewards!"
Klinsmann ready for Low's Germany
Aguero's country have twice been champions, but last won the tournament in 1986.
Belgium, fifth favourites with some bookmakers to win the World Cup, are in Group H with Russia, South Korea and Algeria.
You might also like
Brazil Green and Yellow 2 Pair Pack of "Color Covers" for Fifa World Cup 2014 Joystick Covers / Grips for XBOX 360, One, PS2. PS3. PS4, Logitech controllers Reusable
PC Accessory (Tycoon Supply)
XY-TEE Women's Crew Neck Tee Fifa 2014 World Cup Match Ball White Size S
Forever Collectibles FIFA World Cup stars for LG G3 inches 4
Wireless (Xiao M)
Forever Collectibles FIFA World Cup stars for Samsung Galaxy Note 2 N7100 inches 55
Wireless (Xiao M)