The mining industry in Indonesia has a high enough capitalization value to attract investment. The more investors that invest, the higher the stock price and the value of the firm, yet the mining sector's share price has changed throughout time. The mining industry in Indonesia must likewise be mindful and worried about the environment. Previous research has not explored the correlation between profitability and firm value, which contributes as a mediator. This resulted in a clear gap in the literature. This study contributes to filling a gap in the literature. The mining sector businesses listed on the Indonesia Stock Exchange (IDX) from 2018 to 2020 were chosen as the population, with a total sample of 11 companies selected using the purposive selection approach. The data analysis process has been carried out using SPSS version 28 software. The study's findings revealed that corporate social responsibility and corporate management skills had little influence on business value. Furthermore, the findings of this research show that profitability, as a moderating variable in this study, is a complete mediator of social responsibility and managerial ability to firm value. The presence of profitability mediation in this research yields substantial findings, serving as a warning to investors.