 In 2012, playing with Ivan Dodig, Melo was the runner-up at ATP 500 Memphis and reached the quarterfinals of Roland Garros and Wimbledon.He was also a quarterfinalist at the Masters 1000 Madrid with Marin Čilić.Melo participating in the 2012 Summer Olympics with Bruno Soares; they reached the quarterfinals after defeating the duo Berdych and Stepanek by 24–22 in the last set.