Abstract. Coconut (Cocos nucifera L.) contains large amounts of medium chain fatty acids, which mostly recognise acylacyl carrier protein (ACP) thioesterases that hydrolyse acyl-ACP into free fatty acids to terminate acyl chain elongation during fatty acid biosynthesis. A full-length cDNA of an acyl-ACP thioesterase, designated CocoFatB1, was isolated from cDNA libraries prepared from coconut endosperm during fruit development. The gene contained an open reading frame of 1254 bp, encoding a 417-amino acid protein. The amino acid sequence of the CocoFatB1 protein showed 100% and 95% sequence similarity to CnFatB1 and oil palm (Elaeis guineensis Jacq.) acyl-ACP thioesterases, respectively. Real-time fluorescent quantitative PCR analysis indicated that the CocoFatB1 transcript was most abundant in the endosperm from 8-month-old coconuts; the leaves and endosperm from 15-month-old coconuts had~80% and~10% of this level. The CocoFatB1 coding region was overexpressed in tobacco (Nicotiana tabacum L.) under the control of the seed-specific napin promoter following Agrobacterium tumefaciens-mediated transformation. CocoFatB1 transcript expression varied 20-fold between different transgenic plants, with 21 plants exhibiting detectable levels of CocoFatB1 expression. Analysis of the fatty acid composition of transgenic tobacco seeds showed that the levels of myristic acid (14 : 0), palmitic acid (16 : 0) and stearic acid (18 : 0) were increased by 25%, 34% and 17%, respectively, compared with untransformed plants. These results indicated that CocoFatB1 acts specifically on 14 : 0-ACP, 16 : 0-ACP and 18 : 0-ACP, and can increase medium chain saturated fatty acids. The gene may valuable for engineering fatty acid metabolism in crop improvement programmes.