The election commission (INEC) said it hoped to announce the winner on March 30.
The UN has praised the poll despite technical hitches, protests and violence linked to Boko Haram.
Voting was extended until Sunday in some parts of Nigeria after problems with new electronic card readers.
President Goodluck Jonathan was among those unable to cast his vote using the technology, which was introduced to prevent fraud.
His Peoples Democratic Party (PDP), which had opposed the card readers, called it a “huge national embarrassment”.
The INEC chair, Attahiru Jega, stressed that only a fraction of the 150,000 card readers being used nationwide had failed.
The vote had been delayed by six weeks because of the insurgency by Boko Haram militants.
The Islamists attacked polling stations in north-eastern states, with a curfew declared in Bauchi State after fighting between the security forces and the group.
The UN Secretary General Ban Ki-moon praised the “determination and resilience” of Nigerian voters, despite the reports of attacks by Boko Haram and others.
Ban Ki-moon said in a statement voting had been “largely peaceful and orderly”.
His comments have been echoed by the regional bloc Ecowas, which urged Nigerians to accept the result.
There has been tension in the southern Rivers State, where thousands protested against alleged killings of opposition workers and voting irregularities.
INEC said it was “concerned” by the complaints, adding that one of their offices was set on fire during the unrest.
Results of the voting were expected to arrive overnight but so far there is no official indication of which party is in the lead.
The PDP has dominated Nigerian politics since 1999, but Gen. Muhammadu Buhari’s All Progressives Congress is viewed as a serious challenge.
Voters have also elected members of the House of Representatives and the Senate.
4vIQ13JzC2oAt least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…
Elon Musk has said he will give away $1 million a day to a registered…
India and Canada have decided to expel their top envoys along with other diplomats as…