The legal profession is being urged to take action to tackle bullying and increase diversity.
There were also calls for more flexible working at a summit celebrating 100 years of women in law.
Targets including introducing family-friendly flexible working were unveiled as part of a range of measures towards achieving a 50/50 gender balance in senior positions in firms by 2028.
Women make up the majority of legal professionals in Scotland – although only 30% hold a partnership position and the pay gap stands at 23%, according to latest research.
Community Safety Minister Ash Denham welcomed the call for action at the summit in Edinburgh this week.
She said: “Scotland is fortunate to have a legal profession with expertise, compassion and many brilliant minds.
“Anything which legal professionals or new entrants to the sector could perceive as a barrier to entry or progression is unacceptable, which is why I am calling on the sector to act.
“Achieving these targets will be a challenge, but one I am confident that the legal profession can achieve.
“By working collaboratively, we will create a legal climate that is ambitious, dynamic and adaptable, and fulfils the ambitions I believe our young people should have the chance to achieve.”
A 2018 report by the Law Society found that a fifth of women reported experiencing bullying while working in a legal practice over the past five years.
Gordon Jackson QC, Dean of the Faculty of Advocates, said: “Bullying and harassment have absolutely no place in the profession, and the Faculty fully endorses zero tolerance of it.
“All Advocates are self-employed and free to make their own preferred working arrangements, but the Faculty tries to do all we can to assist members seeking flexibility in their working life.
“We are conscious of a gender imbalance in our membership and are taking positive steps to encourage as many women as possible to consider a career at the Bar.”
Lorna Jack, chief executive of the Law Society, said they are keen to encourage diversity.
She said: “We have been seen as a leader in the gender equality debate by other legal bodies around the globe.
“Great progress has been made, including a reduction in the gender pay gap over the last five years, but there is more to do.
“We welcome the Scottish Government’s support for our zero-tolerance approach to bullying.
“We strive for a modern, diverse and inclusive legal profession which allows people from all backgrounds to have equal opportunity to thrive in their careers.”