We identified a 580bp deletion of CmaKNAT6 coding region influences peel colour of mature Cucurbita maxima fruit. Peel colour is an important agronomic characteristic affecting commodity quality in Cucurbit plants. Genetic mapping of fruit peel colour promotes molecular breeding and provides an important basis for understanding the regulatory mechanism in Cucurbit plants. In the present study, the Cucurbita maxima inbred line '9-6' which has a grey peel colour and 'U3-3-44' which has a dark green peel colour in the mature fruit stage, were used as plant materials. At 5-40days after pollination (DAP), the contents of chlorophyll a, chlorophyll b, total chlorophyll and carotenoids in the 'U3-3-44' peels were significantly greater than those in the '9-6' peels. In the epicarp of the '9-6' mature fruit, the presence of nonpigmented cell layers and few chloroplasts in each cell in the pigmented layers were observed. Six generations derived by crossing '9-6' and 'U3-3-44' were constructed, and the dark green peel was found to be controlled by a single dominant locus, which was named CmaMg (mature green peel). Through bulked-segregant analysis sequencing (BSA-seq) and insertion-deletion (InDel) markers, CmaMg was mapped to a region of approximately 449.51kb on chromosome 11 using 177 F2 individuals. Additionally, 1703 F2 plants were used for fine mapping to compress the candidate interval to a region of 32.34kb. Five coding genes were in this region, and CmaCh11G000900 was identified as a promising candidate gene according to the reported function, sequence alignment, and expression analyses. CmaCh11G000900 (CmaKNAT6) encodes the homeobox protein knotted-1-like 6 and contains 4 conserved domains. CmaKNAT6 of '9-6' had a 580bp deletion, leading to premature transcriptional termination. The expression of CmaKNAT6 tended to increase sharply during the early fruit development stage but decrease gradually during the late period of fruit development. Allelic diversity analysis of pumpkin germplasm resources indicated that the 580bp deletion in the of CmaKNAT6 coding region was associated with peel colour. Subcellular localization analysis indicated that CmaKNAT6 is a nuclear protein. Transcriptomic analysis of the inbred lines '9-6' and 'U3-3-44' indicated that genes involved in chlorophyll biosynthesis were more enriched in 'U3-3-44' than in '9-6'. Additionally, the expression of transcription factor genes that positively regulate chlorophyll synthesis and light signal transduction pathways was upregulated in 'U3-3-44'. These results lay a foundation for further studies on the genetic mechanism underlying peel colour and for optimizing peel colour-based breeding strategies for C. maxima.