Oliveira competed for the last time at the 2016 Summer Olympics, where he went to the Men's 4 × 100 metre freestyle relay final, finishing in 5th place. He also competed in the Men's 4 × 200 metre freestyle relay, where the Brazilian relay finished in 15th place, and in the Men's 100 metre freestyle, finishing 28th. At 29 years old, he said goodbye to swimming after three Olympic Games (Beijing 2008, London 2012 and Rio 2016), and six World Championships (Melbourne 2007, Rome 2009, Dubai 2010, Shanghai 2011, Barcelona 2013 and Kazan 2015).