Thursday's vote pit the ruling United People's Freedom Alliance (UPFA) of Rajapaksa against a weakened and fragmented opposition whose defeated presidential candidate was arrested in February.
The opposition has accused the UPFA of violating campaign rules and warned that the vote would never be free and fair.
It accuses Rajapaksa of stifling dissent, encouraging cronyism and corruption and trying to establish up a family dynasty, with two of his brothers and a son running for parliament and other relatives occupying top government posts.
On the eve of voting Ranil Wickremesinghe, the former prime minister and leader of the main opposition United National Party (UNP), accused Rajapaksa of using state-owned vehicles and buildings for campaigning and turning the government-run media into a party mouthpiece.
"There was suppression of private media. Journalists were attacked and abducted by those connected to the government," he said.
Rajapaksa's government has denied the charges, saying the opposition is trying curry favour with Western governments it says are trying to undermine Sri Lanka.
|Opposition parties have accused Rajapaksa, centre, of trying to stifle dissent [Reuters]
But the accusations are unlikely to have made any major impact on Sri Lanka's 14 million eligible voters, with the ruling alliance forecast to win more than half the seats in the 225 member parliament.
The key question, therefore, will be whether the UPFA can secure the two-thirds majority Rajapaksa has called for in order to amend the constitution - although he has not made clear what amendments he wants to make.
Opponents have said Rajapaksa might seek a change that would allow him to stand for office beyond the current two terms allowed.
Among those who campaigned for a seat in parliament is Sarath Fonseka, the former army chief and the defeated opposition candidate in February's presidential poll.
He was arrested shortly afterwards and is being held in military custodyawaiting court martial, but has continued to campaign from his jail cell for a seat in the capital, Colombo.
Fonseka is accused of planning his political career before he gave up his army post and of breaching regulations in purchasing military hardware.
He has denied the charges, but while he remains a rallying cry for the opposition his arrest has fragmented the opposition, with parties that had backed him in a single coalition now contesting Thursday's vote separately.
But despite the end of the war and the Tigers' defeat, security remained tight for the vote. At least 20,000 troops were placed on duty to support police personnel at polling stations around the country.