The purpose of this paper is to investigate the relationship between the interior capital structure and the agency costs of debt from risk shifting. If the agency cost function is strictly increasing in the debt amount, it can be traded off at the margin against the benefits of debt. Then an interior capital structure is optimal. Using a graphical approach, we analyze the relationship between the marginal agency costs of debt and the leverage ratio. We find that this relationship may not be strictly increasing with the face value of debt. Under some special cases regarding to the production possibility set and the distribution of the return, the agency cost function may be strictly increasing. But still the existence of the interior optimal capital structure remains ambiguous. In general, therefore, this part of the agency cost argument alone does not lead to an interior solution in capital structure. Various arguments based upon the agency costs of risk shifting problem need to be re-examined more carefully.