The 65-year-old Gbagbo won 38.3 percent and Ouattara took 32.08 percent, according to final results announced Thursday by the Independent Election Commission. More than 50 percent of the vote is needed to win the election.
The results must be validated by the Constitutional Council before they can be proclaimed as official. A runoff date had been scheduled for November 28.
Ivoirians voted Sunday after several delays. Elections were expected in 2005, but they have been postponed five times.
The West African country plunged into instability after northern rebels took up arms earlier this decade.