Sponsored Links:
Fordham University Law SchoolThese law schools set you up to make bank. Pictured: graduates of Fordham Law, which ranked 15th.Fordham Law/Facebook

Earning a law degree was once a sure-fire path to a lucrative career. Law school enrollment remains high, but an oversaturation of lawyers has left graduates struggling in the job market. Even the grads who find jobs aren't guaranteed a six-figure salary, leaving many stuck under a mountain of student debt.

For its new report exploring the value of a law school degree, online lender SoFi culled data from 60,000 of its student loan refinancing applicants who self-identified as having a law degree and, on average, three years of work experience.

Sponsored Links:

They used the applicants' self-reported data to determine which schools produce the highest-earning graduates and how that salary compares to the amount of student debt they incurred. About 20% of applicants reached the underwriting stage where their degree and salary were verified by SoFi.

SoFi ranked 218 law school programs, excluding schools for which they didn't have sufficient data. When ranked solely by average salary, the data shows that while banner laws schools like Harvard and Yale expectedly produce high earners, a degree from a prestigious school isn't the only ticket to big earnings.

Grads of the top-20 law schools on SoFi's list earn an average salary of $166,155 three years after graduating. And the top-3 schools — all located in New York — earn upwards of $175,000. Moreover, each school on the list leaves grads with a positive salary-to-debt ratio where they earn more money in a year than they owe in student debt.

Below, check out SoFi's ranking of the 20 law schools that lead grads to the highest salaries.