PurposeThe aim of this study is to investigate the serially mediating effect of knowledge management (KM) practices (namely, knowledge creation, storage and sharing) on the organizational learning (OL) and organizational performance (OP) relationships during a crisis.Design/methodology/approachBased on theories-of-action, knowledge-based and resource-based theories, this study proposed a sequential mediation model where OL underlying mechanisms through which KM practices have facilitated OP during the crisis. The sample dataset contains 440 responses collected from the managers of the software development companies in Pakistan. The authors used Hayes Process macro with SPSS to test the study hypotheses.FindingsThe results of the study reveal that knowledge creation, storage and sharing serially mediate the relationships between OL and OP. These findings strengthen the argument suggesting that OL plays the key role in KM that helps software companies to mend their performance in times of crisis.Originality/valueThis study contributes to the KM literature in two ways: (1) grounded on the study's proposed framework, organizations can improve and manage their businesses in times of crisis and (2) learn how to generate new knowledge in response to business crises.