Being an in-house lawyer used to be considered a good job. Steady pay, fewer hours and no pressure to bring in new clients made general counsel jobs desirable for attorneys who cared about things other than work.

“GC is where you went when you wanted a life,” said Peter Henning, a professor at Wayne State University Law School and an expert on white-collar law.