Fatty Acid Photodecarboxylase (FAP) has emerged as a promising catalyst for the biological production of long-chain hydrocarbons. We have recently shown that purified FAP or FAP-expressing bacteria can efficiently convert octanoic acid into heptane, thus extending the potential applications of FAP to medium-chain hydrocarbons (i.e., solvent- or kerosene-type). The scarcity of natural sources of octanoic acid presents a challenge however. Here, we explore the heptane production capacity of a FAP-expressingE. colistrain engineered to biosynthesize octanoic acid via a specific thioesterase. Various FAPs and C8-specific thioesterases were tested. A blue-light-inducible promoter was used to avoid chemical inducers. We found that the expression of FAP fused with TrxA resulted in a 10-fold increase in heptane production. Coexpression ofCuphea hookerianathioesterase andChlorella variabilisFAP achieved the highest heptane titer (12.5 mg.L-1). Scale-up experiments in 100 mL photobioreactors allowed a constant production of heptane over two days (22 mg.L-1.day-1).Graphical AbstractHighlightsAnE. colistrain producing heptane under blue light is described.Expression of FAP fused with TrxA increases heptane by 10-fold.A blue light-inducible promoter ensures high coexpression of FAP and thioesterase.Cuphea hookerianathioesterase andChlorella variabilisFAP give highest productionHighest reported heptane productivity (22 mg.L-1.day-1) in 100 mL photobioreactors.