From 1979 until 1984, Judge Castillo worked in private law practice in Chicago as an associate attorney for the law firm Jenner & Block. In 1984, he was named an assistant U.S. Attorney for the Northern District of Illinois. He worked as an assistant U.S. Attorney until 1988, when he became a regional counsel for the Mexican American Legal Defense Fund.