Razafimahatratra began her 2012 season with back-to-back Grade-1 junior tournaments in South America, losing in the first round of both, the first being in Costa Rica and the second in Venezuela.
After this, Razafimahatratra travelled to Europe for the big junior clay court season, playing four tournaments, both Grade-1 and Grade- A, with her best result being a quarterfinal.
In October, she began focusing on her professional career, and played a $25k tournament in Lagos, Nigeria, under a wildcard entry.
In the quarterfinals, however, she met the top seed from Russia, Nina Bratchikova, and despite taking the first set, the eighteen-year-old was eventually defeated.
In the first event, she lost a three-set match against eventual champion Adrijana Lekaj, but went on to win the doubles with Romanian Ilka Csöregi.