Under the new regulations, workers in companies with more than 200 employees will have the right to know what men and women in equal positions are earning.
Pakistan media has widest gender pay gap in Asia: report
Businesses with more than 500 staff members will also have to publish regular updates on salary structures to show they are complying with equal pay rules.
Women's Affairs Minister Manuela Schwesig hailed the law on salary transparency as "a real breakthrough" that would help millions of women narrow the pay gap.
"We have to break the taboo that you don't talk about money, because we want to make sure that men and women aren't played off against each other when it comes to wages," she told the Rheinische Post newspaper.
Pakistani women earn 38.5% less than men: report
Women in Germany earn around 21 percent less than men, according to her ministry. This is worse than the European average of 16.5 percent, according to 2015 data.
The discrepancy is in part down to the fact that women in Germany tend more often to work in low-paid jobs or sectors, or only part time.
For women with the same qualifications doing the same work as a male colleague the pay gap stands at seven percent, the women's affairs ministry said.
Critics have argued that the new regulations will foster workplace animosity and create unnecessary red tape.
Gender equality: Women face brunt of poverty, calamities: expert
Christian von Stetten, a lawmaker from Merkel's Christian Democratic Union (CDU) party, said some 4,000 companies would be burdened with additional bureaucracy because of the law.
"The right to demand salary information will foster workplace envy and discontent," he told Die Welt daily.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ