Soon after graduating law school, he joined the firm of William Glikbarg, a Southern California housing developer who also taught housing law at Stanford.
When Nixon administration housing secretary George W. Romney ended public housing subsidies in January 1973, Klein and an associate, Michael J. BeVier, successfully persuaded the California legislature to create the California Housing Finance Agency, which subsidizes housing developments with low-interest bonds.