Purpose This paper explores the connection between capital structure and financial performance within European listed firms. The primary objective is to demonstrate an inverse U-shaped relationship between these two variables and pinpoint an optimal debt-equity mix.Design/methodology/approach In this study, we adopt a dynamic modeling approach to investigate the relationship between a firm’s capital structure and financial performance. Drawing on well-established theories and prior empirical studies, our model examines 3,121 dividend-paying firms from 41 European countries over 14 years, from 2008 to 2021. To enhance the reliability of our findings, we employ two distinct estimation techniques: the fixed effect model (FE) and the system generalized method of moments (System-GMM).Findings This study reveals an inverse U-shaped relationship between the firm’s financial performance, measured by the return on equity (ROE) and its capital structure (total liability to total assets ratio). Furthermore, an optimal capital structure of about 29% is determined for all firms in the sample, and about 21%, 28% and 41% industry-specific capital structure for manufacturing, real estate and wholesale trade, respectively.Originality/value This paper contributes to existing knowledge by empirically determining an optimal capital structure for listed firms across various industries in Europe, which very few studies have attempted to do in the past. An optimal capital structure is an invaluable benchmark for managers and other stakeholders, informing their decision-making.