Purpose The purpose of this study is to extract and characterize a novel natural dye from the leaves of Lannea coromandelica and the extraction with finding ways of dyeing cotton fabric using three mordants. Design/methodology/approach The colouring agents were extracted from the leaves of Lannea coromandelica using an aqueous extraction method. The extract was characterized using analysis methods of pH, gas chromatography-mass spectrometry (GC-MS), Fourier transform infrared (FTIR), ultraviolet-visible (UV-vis) and cyclic voltammetry measurement. The extract was applied to cotton fabric samples using a non-mordant and three mordants under the two mordanting methods. The dyeing performance of the extracted colouring agent was evaluated using colour fastness properties, colour strength (K/S) and colour space (CIE Lab). Findings The aqueous dye extract showed reddish-brown colour, and its pH was 5.94. The GC-MS analysis revealed that the dye extract from the leaves of Lannea coromandelica contained active chemical compounds. The UV-vis and FTIR analyses found that groups influenced the reddish-brown colour of the dye extraction. The cyclic voltammetry measurements discovered the electrochemical properties of the dye extraction. The mordanted fabric samples showed better colour fastness properties than the non-mordanted fabric sample. The K/S and CIE Lab results indicate that the cotton fabric samples dyed with mordants showed more significant dye affinities than non-mordanted fabric samples. Originality/value Researchers have never discovered that the Lannea coromandelica leaf extract is a natural dye for cotton fabric dyeing. The findings of this study showed that natural dyes extracted from Lannea coromandelica leaf could be an efficient colouring agent for use in cotton fabric.