Farhat represented Libya at the 2008 Summer Olympics in Beijing. She was the fourth woman ever to swim for Libya at the Olympic Games, following Amira Edrahi at the 2004 Summer Olympics and Nadia Fezzani and Soad Fezzani in the 1980 Summer Olympics in Moscow. She won her heat in the women's 100 metre breaststroke event, with a time of 1:21.68, but finished 47th overall and did not advance. Her time was a new personal best.