Five-time champions Brazil were paired with Switzerland, Costa Rica and Serbia in Group E at the World Cup draw in Moscow on Friday.
The first game pits the Costa Ricans against Serbia in Samara on June 17, with Brazil kicking off against Switzerland in Rostov-on-Don the same day.