But now, in districts of Iraq’s second city not left totally devastated by the ferocious fighting to oust the jihadists, life is buzzing again – with more vibrancy than ever.
“We have experienced depression, hunger, ruin and oppression. It is a miracle that we are still alive,” Nesrine said.
“We went through a long nightmare and now we have woken up transformed.”
Nesrine is employed at a gleaming new clothing shop that has opened up on the east bank of the river Tigris – liberated from IS months before the group’s final defeat in western districts six months ago – selling skinny jeans and colourful tops from Turkey.
As pop music blares from loud speakers, she works alongside male colleagues advising customers lured in during a late-evening stroll by images of fashion models.
In the shop window, a mannequin wearing an above-the-knee skirt is on display.
Mosul has long had a reputation as a bedrock of conservatism and became a hub for Sunni jihadists after the US-led ouster of Saddam Hussein in 2003.
But when IS seized control as it swept across northern Iraq in 2014 the group imposed a radical interpretation of Islamic law far more severe than anything residents had known before.
“If a boy and a girl were discovered together then they risked being executed,” said Rahma, 21.
Now Mosul University where she studies English is busy with groups of boys with gelled up hair and girls wearing colourful headscarves.
Even before the arrival of IS it was “unimaginable” for girls to get a job outside the home working alongside men, unless it was in a staid public administration office, she said.
Ziad Dabbagh has just opened up a restaurant to give people somewhere else to go in the commercial neighbourhood of al-Zuhur.
“People in Mosul used to go to other provinces of Iraq to go out,” the entrepreneur said.
Families dine and young men sip tea on the terraces and in the dining hall.
“It was as if we were lost in the middle of a desert, cut off from everything,” said Roua al-Malah, 34, who was out with her family.
“And now all at once we have rediscovered that we can have a good time.”
Behind a green glass door men sip brightly coloured fruit juice in the neighbouring building as they play cards and billiards amid a cloud of smoke from hookah pipes.
Owner Mazen Aziz opened up last May even as fierce fighting was still raging across the river in Mosul’s Old City, which is still a deserted ghost town today.
His billiard club with its smoking, card playing and loud music would have been a prime target for the jihadists who dominated the city for a decade.
“For years in Mosul, after six in the evening there was no one in the streets. Now I can head home at two or three in the morning without fear,” he said.
“A new life is beginning.”