The German government is to present new legislation aimed at ending a legal dispute over the religious tradition of circumcision.
Earlier this year, a regional court ruled that the practice amounted to assault, prompting protests from both Jewish and Muslim organisations.
It also raised fears among some of a resurgence in anti-Semitism in Germany.
The federal government is now expected to legalise the practice explicitly, provided it is done by trained people.
Parents should also be fully informed about any downsides to the operation, it is expected to say.
The BBC's Stephen Evans in Berlin says that many people argue that these conditions are probably already met by the communities involved.
'Affront to human rights'
The row over circumcision began in June when a court in Cologne said that the ritual circumcision of a four-year-old Muslim boy, in accordance with his parents' faith, had caused the child bodily harm.
The case came to court after a doctor carried out the circumcision, and it led to medical complications.
The German Medical Association then told doctors across the country to stop performing the procedure - thousands of Muslim and Jewish boys are circumcised in the country every year.
European Jewish and Muslim groups joined forces to contest the ruling, which they said was "an affront (to) our basic religious and human rights".
The ruling also renewed debate over the practice in the US, one of the countries where circumcision is most common.
In July, Chancellor Angela Merkel's spokesman said the government should try to establish "legal certainty" on the issue.
The proposed legislation is expected to do just that, says our correspondent.
But, he says, a feeling among some Jews that anti-Semitism had raised its head will not disappear overnight.