Purpose. The purpose of this research is to propose a tool for designing a microcredit risk pricing strategy for borrowers of microfinance institutions (MFIs). Design/methodology/approach. Considering the specific characteristics of microcredit borrowers, we first estimate and measure microcredit risk through the default probability, applying a parametric technique such as logistic regression and a non-parametric technique based on an artificial neural network, looking for the model with the highest predictive power. Secondly, based on the Basel III internal ratings-based (IRB) approach, we use the credit risk measurement for each borrower to design a pricing model that sets microcredit interest rates according to default risk. Findings. The paper demonstrates that the probability of default for each borrower is more accurately adjusted using the artificial neural network. Furthermore, our results suggest that, given a profitability target for the MFI, the microcredit interest rate for clients with a lower level of credit risk should be lower than a standard, fixed rate to achieve the profitability target. Practical implications. This tool allows us, on the one hand, to measure and assess credit risk and minimize default losses in MFIs and, secondly, to promote their competitiveness by reducing interest rates, capital requirements, and credit losses, favoring the financial self-sustainability of these institutions. Social implications. Our findings have the potential to make microfinance institutions fairer and more equitable in their lending practices by providing microcredit with risk-adjusted pricing. Furthermore, our findings can contribute to the design of government policies aimed at promoting the financial and social inclusion of vulnerable people. Originality. The personal characteristics of microcredit clients, mainly reputation and moral solvency, are crucial to the default behavior of microfinance borrowers. These factors should have an impact on the pricing of microcredit.