The latest release came two days after 42 others were set free in similar circumstances.
Throughout Boko Haram's five-year uprising, Nigeria's security services have been criticised for carrying out mass arrests and holding alleged Islamist rebels indefinitely with little or no evidence.
Rights groups have pressured Nigeria to either charge in court or release the suspected militants it has in custody.
Northeast army spokesman Sani Usman told journalists the 125 individuals were picked up on September 23 in the town of Biu in Borno state, Boko Haram's stronghold.
More From This Section
"However, the 125 people in front of you today were found to have no link whatsoever with" Boko Haram, Usman told journalists in Borno's capital Maiduguri.
Among those released was Ibrahim Umar who said he was driving a truck loaded with sheep on the outskirts of Biu when the military pulled him over and detained him.
"I am sure my family would be shocked to see me alive because nobody ever saw me since the day I was arrested," he said.
Speaking following the release of the 42 people on USD 600 "to enable them to start a new life."
He also directed state officials to help them find jobs.
It was not clear if the 125 detainees released today would be given the same benefits.
The military's release of apparently innocent civilians caught up in operations against Boko Haram may be welcomed by rights groups who have condemned indiscriminate detentions.
But Nigeria's security services were again this week accused of major abuses.