Purpose Keeping in view the robust growth of Islamic banking around the globe, this study aims to comparatively analyze the association between liquidity creation and liquidity risk for Islamic banks (IBANs) and conventional banks (CBANs) in Pakistan and Malaysia over a period of 2004–2021. The moderating role of bank loan concentration on the aforementioned relationship is also studied. Design/methodology/approach Regression estimation methods such as fixed effect, random effect and generalized least square are deployed for obtaining results. Liquidity creation Burger Bouwman measure (cat fat and noncat fat) and Basel-III liquidity risk measure (liquidity coverage ratio) are also used. Findings The results give us insight that liquidity creation is positively and significantly related to liquidity risk in both IBANs and CBANs of Pakistan and Malaysia. This relationship has been moderated negatively (reversed) and significantly by credit concentration showing the importance of risk management and loan portfolio concentration. Practical implications It is analyzed that during the process of liquidity creation, IBANs in Pakistan faced more liquidity risk for both on and off-balance sheet transactions in the presence of moderation of loan concentration than IBANs in Malaysia necessitating strategic policy-making for important aspects of liquidity risk management and loan concentration while creating liquidity. Originality/value Such studies comparing IBANs and CBANs comparison keeping in view liquidity creation, liquidity risk and loan concentration are either limited or nonexistent.