The Election Commission extended polling by an hour to accommodate large numbers of voters who were still present at polling stations and officials said they expected the turnout to be around 60 per cent.
A staggering 75,000 security personnel, including 5,000 troops for sensitive polling stations Taliban-dominated restive areas in northwest, were deployed to ensure smooth conduct of the exercise.
Long queues and chaotic scenes were witnessed outside thousands of polling stations across the country despite threats of attacks by the banned Tehrik-e-Taliban Pakistan, which said it would target the elections as they are part of the "infidel" system of democracy.
The attacks killed at least 24 people and injured dozens.
Also Read
A total of 4,670 candidates are standing for the 342-member National Assembly while nearly 11,000 are running for the four provincial assemblies in Khyber Pakhtunkhwa, Punjab, Sindh and Baluchistan.
The main contenders are the PPP, which has been ruling the country, PML-N led by former Prime Minister Nawaz Sharif and Pakistan Tehrik-e-Insaf headed by
cricketer-turned-politician Imran Khan.
The PML-N and Khan's party were the only major political forces that were able to conduct a nationwide campaign after the banned TTP warned that it would target leaders and rallies of the secular-leaning PPP, Awami National Party and Muttahida Qaumi Movement, which were part of the outgoing coalition.
More than 86 million people were eligible to vote in the polls. The process of counting of votes began as polling closed and the trends are expected by early morning tomorrow.