The disclosure relates to the production of methyl laurate by genetically engineered photosynthetic microorganisms. In particular, provided herein are methods and compositions for producing methyl laurate from carbon dioxide and water in genetically engineered cyanobacteria and other photosynthetic microorganisms.