Using micro-level tax data on attorney incomes in 2004 (when the law was changed to make it confidential), we analyze the industrial organization of the Japanese bar. These data suggest two sources of high income: an idiosyncratic return to talent in Tokyo and a compensating differential for the lack of amenities in the provinces. The most able would-be lawyers (those with the highest opportunity costs) pass the bar-exam equivalent on one of their first tries or abandon the effort and pursue careers outside of law. If they pass, they opt for careers in Tokyo that involve complex litigation and business transactions. This work places a premium on their talent, and from it they earn appropriately high incomes. The less talented face lower opportunity costs and opt to spend many years studying for the exam. If they do eventually pass, they apparently choose between a relatively low-income career in Tokyo and a provincial career paying a compensating differential.