Spain were drawn in group H, with matches against Ukraine, Tunisia and Saudi Arabia. If they win through, they will meet a side from group G which includes France, Switzerland, South Korea and Togo. Fixtures and venues were as follows:
| Date | Location | |||
|---|---|---|---|---|
| 14 Jun 2006 | Spain | 4 - 0 | Ukraine | Leipzig |
| 19 Jun 2006 | Spain | 3 - 1 | Tunisia | Stuttgart |
| 23 Jun 2006 | Saudi Arabia | 0 - 1 | Spain | Kaiserslauten |