Published : 06 Jul 2016, 05:06 PM
Updated : 19 Oct 2022, 05:21 PM
The Barcelona court handed the same sentence to the player's father, Jorge, with a 1.5 million euro fine.
Both defendants have around five days to appeal to the Supreme Court, the Barcelona court said in its statement.
Spanish law is such that any sentence under two years for a non-violent crime rarely requires a defendant without previous convictions to serve jail time.
A spokeswoman for the court confirmed Messi was unlikely to be imprisoned.
Messi, 29, and his father defrauded the Spanish tax office of almost 4.2 million euros between 2007 and 2009 by using a web of shell companies to evade taxes on income from the player's image rights, the court said in a written ruling.
The companies - with names such as Sport Consultants and Sport Enterprises - were based in tax havens such as Belize, Uruguay and Switzerland where legislation kept the identities of their owners secret, according to the ruling.
Messi, five-times World Player of the Year, admitted during the trial to signing contracts protecting his image rights but said he had no knowledge he was partaking in any wrongdoing or defrauding the Spanish state.
Argentina's Lionel Messi (R) sits in court with his father Jorge Horacio Messi during their trial for tax fraud in Barcelona, Spain, June 2, 2016. Reuters
Barcelona's Argentine football player Lionel Messi leaves court where he is on trial for tax fraud in Barcelona, Spain, June 2, 2016. Reuters
Barcelona football club, of which Messi is the leading goal scorer of all time in all competitions, said in a statement on its website following the ruling that it considers the player to be free of criminal liability.
"The Club ... considers that the player, who has corrected his position with the Spanish tax office, is in no way criminally responsible with regards to the facts underlined in this case," the club said.
Messi, who has won eight La Liga titles, four King's Cups and four Champions League crowns with Barcelona, said last month he was quitting international football after the Argentine national side, of which he was captain, lost on penalties to Chile in the Copa America tournament.
($1 = 0.9034 euros)