The main source of financing is bank loans for Portuguese small and medium-sized entities (SMEs), which implies several constraints to obtaining additional funds. Relying on the argument of Positive Accounting Theory (PAT) that accounting choices are not neutral and on Agency Theory that information asymmetry prevails between insiders and outsiders, we analyzed the impacts of debt on earnings quality, focusing on its level, its increases, and its term of payment. We estimated econometric regressions using panel data with fixed effects over 2013–2019, using discretionary accruals as an inverse proxy of earnings quality. We found empirical evidence that the relationship between debt and earnings quality tends to vary in sign, as the quality of financial information deteriorates with debt, but as debt becomes high, firms tend to increase the quality of earnings. Furthermore, we found that short-term debt tends to decrease earnings quality more than long-term debt. This article aimed to contribute to the prior literature by collecting evidence that debt levels tend to be an incentive to increase earnings management and fill the gap by analyzing the influence of different debt features. This evidence is useful because earnings management may compromise both stakeholders’ confidence and the efficient allocation of capital.