Mata is desperate to win gold even though it will clash with the Blues' pre-season programme.
Mata, who has been an unused sub for all three of their group games at the European Championship, told the Daily Mirror: "I have confirmed with Chelsea that I can play the Olympics.
"It's something I have agreed with the Spanish federation, and I don't want to change.
"My dream is to play and win the gold in London. After winning a lot with Chelsea last season, that would be another great honour."