But the number of Afghans returned by European countries to their homeland — either forcefully or voluntarily — nearly tripled, from 3,290 in 2015 to 9,460 the following year, according to Amnesty International.
While some failed asylum-seekers are forcibly removed, others like Niazi opt for the United Nations-operated Assisted Voluntary Return and Reintegration program, which enables host nations to pay willing returnees to go home. (The U.S. does not fund assisted voluntary returns to any country.)
The amount of money paid by European countries to migrants under the program ranges from around $500 to $4,500 per person, according to Amnesty International.
Advocates of the measure say supporting returning migrants financially helps them to rebuild their lives. They say it also promotes reintegration, as some countries attach conditions to receiving funds such as setting up a business, enrolling in a course or renting an apartment.
But other migration experts and rights groups say the program is not truly voluntary, as often people feel they have no choice but to sign up amid the threat of being forcibly removed. Some also argue it legitimizes returns to countries that are not safe.
Many Afghans like Niazi worry about their families’ safety in a country where an emboldened Taliban is fighting U.S.-led NATO forces and the government of President Ashraf Ghani.
The militants were toppled by American forces in 2001 after sheltering 9/11 mastermind Osama bin Laden, but now hold sway over almost half of the country and are again imposing their strict version of Islam on swaths of the population.
A recent report by Amnesty International on forced and voluntary returns to the country concluded that returns were taking place despite evidence that people “face a real risk of serious human rights violations.”
Nicola Graviano, who works for the International Organization for Migration, the U.N. body that runs the program, said it continually monitors conditions on the ground as part of the voluntary returns process.
That "doesn't mean, though, that the situation is rosy everywhere," he said. "It's a constantly evolving situation and we need to be ready to adapt and reconsider our lines."
He cautioned that the principles of international law — such as not forcing asylum-seekers to return to a place where they face persecution — applied when returning migrants to Afghanistan.
Liza Schuster, an expert in migration policy based at City, University of London, questioned whether the U.N. program should be used to return people to a “country in conflict” like Afghanistan.
“For some people who feel they have absolutely no other choice, they will take assisted voluntary return,” she said. “Even though the voluntary is in heavily inverted quotes.”
According to Schuster, migrants are often told by officials in the West that "if we have to force you back on a plane you won’t receive anything when you arrive."
Taking the money as part of the U.N. program can often appear to be a better answer.
Saleem Paigeer, 53, has struggled to find work since opting to return from Germany last year.
A father of four, Paigeer now volunteers for a political party, but has no income and is living off the $3,400 he received.
With the money running out fast, he says the family is struggling to make ends meet.
“It is not enough for a family coming back from migration and starting life from zero. A house needs a lot of things,” he said, listing household appliances he could not afford.
Paigeer had lived abroad for 24 years and says his children — his youngest is 8 — are now struggling to settle.
Being a woman in Afghanistan is “very bad,” he said, explaining that his daughters found it difficult to adjust to life with less freedom.
Afghanistan is still one of the worst places on earth to be a girl or a woman, with maternal mortality rates among the highest in the world and domestic violence rife.
In many parts of the country, it is dangerous or culturally unacceptable for girls to go to school and in the worst-affected provinces up to 85 percent of girls do not attend class, according to humanitarian organizations.
Abdul Raziq Raziqian, 50, said that while he was over the moon to be given money to exchange Germany’s gray skies for Afghanistan’s sunny weather, his younger children were desperate to return abroad.
“They miss the playgrounds and the school, they really want to go back,” he said.
Raziqian, who has five children, admits that if he had been able to find work in Germany he would have preferred to stay. However, he resents the way the abilities of migrants tended to be dismissed, with asylum-seekers pigeonholed into work “which didn't suit” them.
Raziqian said “uneducated and educated, skilled and unskilled people” — including doctors — were just seen primarily as migrants.
“They wanted to break our honor,” he added.
Now back in Afghanistan, Raziqian said he is also struggling to provide for his family despite owning 20 percent of a spare-parts shop in the western city of Herat.
As the boats keep coming across the Mediterranean Sea and the political pressure to keep migrants out builds across the continent, the number of asylum claims approved involving Afghans fell from 67 percent in 2015 to 46 percent in 2017, according to E.U. statistics.
But Abdul Ghafoor, who runs the Afghanistan Migrants Advice and Support Organization in Kabul, said in his experience the majority of the younger men who return through the U.N. program eventually attempt to return to the West again.
“The security situation has gone from bad to worse, especially in the last year or so,” he said. “Those who come back voluntarily cannot survive in the country, and so they try to leave for Europe again.”
Saphora Smith reported from London, and Ahmed Mengli from Kabul.
Saphora Smith is a London-based reporter for NBC News Digital.
Ahmed Mengli is a journalist based in Kabul, Afghanistan.