The 59-year-old, who was MP for Falkirk in Scotland between 2000 and 2012, had on a device a 51-second film depicting what appeared to be seven different children, aged between 12 months old and seven years old.
Joyce, of Worlingworth, Suffolk, pleaded guilty at an earlier hearing at Ipswich Crown Court to the offence, which took place between August 2013 and November 2018.
Judge Mr Justice Edis, sentencing the former shadow minister on Friday, said: “You have pleaded guilty to an offence which involves the possession of a category A film of a little less than a minute’s duration.
“That film showed the penetrative sexual abuse of very young children.
“That these acts of abuse happened is because there are people like you who want to watch these films.
If there was no market, those children wouldn’t be subjected to these very serious offences
“If there was no market, those children wouldn’t be subjected to these very serious offences.”
But the judge added: “You have sought help from people well able to provide it and there’s evidence before the court that that has had an effect on helping you reduce, perhaps completely, your impulsive behaviour, and that’s happened over a significant period due to the delay in these proceedings.”
Mr Justice Edis also sentenced Joyce to a sexual harm prevention order, which will last until further order of the court.
He was also given an 18-day rehabilitation activity requirement and ordered to pay prosecution costs of £1,800.
Joyce left Labour to serve as independent MP for Falkirk in 2012, stepping down before the 2015 general election. He spent 21 years in the Army, rising to the rank of major.