Marofit represented Morocco at the 2008 Summer Olympics in Beijing, where he competed for the men's 5,000 metres. He ran in the second heat against thirteen other athletes, including Kenya's Edwin Cheruiyot Soi, who later won the bronze medal in the final. He finished the race in eighth place by five seconds behind New Zealand's Adrian Blincoe, with a time of 14:00.76. Marofit, however, failed to advance into the final, as he placed thirtieth overall, and was ranked farther below four mandatory slots for the next round.