Italians are voting after a divisive election campaign dominated by concerns over immigration and the economy.
Correspondents say it is hard to say who will come out on top in an unpredictable contest.
The anti-establishment Five Star Movement, ruling Democratic Party and ex-PM Silvio Berlusconi’s right-wing coalition have all predicted victory.
But Mr Berlusconi, 81, cannot himself hold public office until next year due to a tax fraud conviction.
The four-time prime minister – who has allied himself with the anti-immigrant League party – has backed European Parliament President Antonio Tajani as his choice to lead the country.
- Italy vote: Who’s who and why it matters
Opinion polls were banned in the last two weeks of the campaign but surveys before that suggested Mr Berlusconi’s centre-right party and right-wing allies would emerge as the biggest bloc, but would not win a majority.
Five Star is widely expected by pollsters to emerge as the single biggest party.
Officials at 19:00 (18:00 GMT) said that turnout stood at more than 58%, with several hours of voting still to go.
Long queues have been seen at voting centres around the country, with residents in Rome being asked to turn up well before polls close at 23:00 (22:00 GMT) to make sure they have time to cast their ballot.
The delays are thought to have been caused by a new voting system and new in-depth, anti-fraud checks.
In Palermo, Sicily, 200,000 ballots had to be reprinted because of errors, which led to a delay in some polls opening.
What are the key issues?
More than 600,000 migrants have made the treacherous journey from Libya across the Mediterranean to reach Italy since 2013.
The huge number of arrivals has upset many Italians – with politicians, including from the mainstream, toughening their rhetoric as a result.
Mr Berlusconi has called the presence of illegal migrants a “social time-bomb” and pledges mass deportations.
The campaign has seen violent clashes between far-right supporters and anti-fascist protesters.
- Immigration dominates Italian election
Italy’s economy has started to expand once again but nearly 10 years on from the Global Financial Crisis, Italy’s gross domestic product – or total economic output – remains 5.7% lower than pre-crisis levels.
In 2016, some 18 million people were at risk of poverty, and unemployment is at 11%.
Economic policy has been a key battleground but observers say they have heard more from parties about pensioners than youths, which could be due to young voters’ high vote abstention rates.
- Italian election: its economy in charts
Why is this election important?
Italy is the EU’s fourth-largest economy and the potential gains by populist and far-right parties is a major concern in some European capitals and in Brussels.
Contenders have lined up to blame EU budget rules for hampering economic recovery. Five Star and the League had promised to hold a referendum to leave the euro but dropped that rhetoric.
Steve Bannon – who helped Donald Trump win the White House – told the New York Times that Italy’s election was “pure populism”.
- The anti-establishment Five Star party was founded in 2009 by comedian Beppe Grillo, who denounced cronyism in Italian politics. Current leader Luigi Di Maio has pledged a universal basic income scheme
- Silvio Berlusconi has brought his centre-right Forza Italia into alliance with the anti-immigrant League and far-right Brothers of Italy. Although Mr Berlusconi has backed Mr Tajani, League leader Matteo Salvini also has prime ministerial ambitions
- Matteo Renzi’s Democratic Party has partnered with three smaller parties to form a centre-left, pro-EU bloc that has staked its campaign on proposals to revive the economy. Mr Renzi resigned as PM in December 2016
When will we know the result?
Exit polls will follow shortly after polling stations close at 23:00 (22:00 GMT).
Official results are expect in the early hours of Monday.
More on Italy’s vote: