We show how capital structure is influenced by the strength of shareholder rights. Our empirical evidence shows an inverse relation between leverage and shareholder rights, suggesting that firms adopt higher debt ratios where shareholder rights are more restricted. This is consistent with agency theory, which predicts that leverage helps alleviate agency problems. This negative relation, however, is not found in regulated firms (i.e., utilities). We contend that this is because regulation already helps alleviate agency conflicts and, hence, mitigates the role of leverage in controlling agency costs.