Neymar will not play for Brazil at the Copa America but will be available for the Rio Olympics, according to the striker's club Barcelona.
The Copa America takes place in the United States in June, while the Games will take place in August.
Clubs do not have to release players for the Olympics but have to for the Copa America.
Barcelona expressed their "gratitude to the Brazilian Football Confederation" for "accepting the club's proposal".
Have you added the new Top Story alerts in the BBC Sport app? Simply head to the menu in the app - and don't forget you can also add score alerts your football team and more.