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.
4vIQ13JzC2oImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…