This study was conducted to test and analyze the effect of Non Performing Loan and Loan to Deposit Ratio as independent variables on Profitability as a dependent variable, as well as the ability of inflation to moderate the relationship between the independent variable and the dependent variable. The research method in this study is quantitative research with regression analysis of panel data using Eviews. The object of research in this study is banking companies listed on the Indonesia Stock Exchange for the 2018-2022 period. The sampling technique used purposive sampling and found 175 observations. The results of this study show that Non-Performing Loans have a negative effect on Profitability and Loan to Deposit Ratio has a positive effect on Profitability. Meanwhile, inflation cannot moderate the relationship between Non-Performing Loans and Loan to Deposit Ratio to Profitability.