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.
4vIQ13JzC2oThe US House Ethics Committee has voted to release its report on former Republican Representative…
ABC News has agreed to pay $15 million to President-elect Donald Trump to settle a…
South Korea’s parliament has voted to impeach President Yoon Suk Yeol over his failed attempt…
Israeli war planes have carried out more than 100 air strikes in Syria on December…
President-elect Donald Trump has threatened to impose 100% tariffs on the BRICS countries if they…
Syrian troops have withdrawn from the city of Aleppo following an offensive by rebels opposed…