Convicted murderer Wyndham Thomas escaped from prison after 12 years and immediately ran to his home in Caerphilly, South Wales.
His wife Claire, who was desperate for a baby allowed him to stay and hid him from police in a storage closet in their home.
Newport Crown Court heard that he would only be let out of the cupboard for sex in the hope she would get pregnant before he was caught.
Jenet Treharne, defending, said: “They wanted an opportunity to spend some intimate time together to start a family. She knows that she was very foolish.”
Claire, of Caerphilly, pleaded guilty at Newport Crown Court to harbouring an escaped prisoner.
She was sentenced her to 24 weeks jailsuspended for 18 months
Her husband had been jailed for life in 1998 for the murder of taxi driver Christopher Williams, 23, during a break in at his home.
He was found by police after a three-day manhunt.