Three men have been jailed for an IS-inspired terror plot to cause mass casualties in Australia's second largest city Melbourne during the 2016 Christmas period.

Hamza Abbas, 24, Ahmed Mohamed, 27 and Abdullah Chaarani, 29, were found guilty last year of plotting to use machetes and homemade bombs to target major sites - including a train station and a church - in a December attack.

In handing down the sentences judge Christopher Beale said the men had been accessing online material "supportive of Islamic State and violent jihad" in the lead-up to their arrest.

Beale said the men came to believe their planned "mass slaughter of innocent civilians" would be a "glorious act".

"The stupidity of that belief was only matched by its malevolence," Beale said.

Abbas was sentenced for 22 years, while Mohamed and Chaarani, who were facing their second terror charge, were jailed for 38 years.

Police uncovered the plot after monitoring the Australian-born men's phone conversations, text messages and emails, and all four were arrested on December 22, 2016.

Then-prime minister Malcolm Turnbull called their plans "one of the most substantial terrorist plots that have been disrupted over the last several years".

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.