The pathway from beta-carotene to astaxanthin is a crucial step in the synthesis of astaxanthin, a red antioxidative ketocarotenoid that confers beneficial effects on human health. Two enzymes, a beta-carotene ketolase (carotenoid 4,4'-oxygenase) and a beta-carotene hydroxylase (carotenoid 3,3'-hydroxylase), are involved in this pathway. Cyanobacteria are known to utilize the carotenoid ketolase CrtW and/or CrtO, and the carotenoid hydroxylase CrtR. Here, we compared the catalytic functions of CrtW ketolases, which originated from Gloeobacter violaceus PCC 7421, Anabaena (also known as Nostoc) sp. PCC 7120 and Nostoc punctiforme PCC 73102, and CrtR from Synechocystis sp. PCC 6803, Anabaena sp. PCC 7120 and Anabaena variabilis ATCC 29413 by complementation analysis using recombinant Escherichia coli cells that synthesized various carotenoid substrates. The results demonstrated that the CrtW proteins derived from Anabaena sp. PCC 7120 as well as N. punctiforme PCC 73102 (CrtW148) can convert not only beta-carotene but also zeaxanthin into their 4,4'-ketolated products, canthaxanthin and astaxanthin, respectively. In contrast, the Anabaena CrtR enzymes were very poor in accepting either beta-carotene or canthaxanthin as substrates. By comparison, the Synechocystis sp. PCC 6803 CrtR converted beta-carotene into zeaxanthin efficiently. We could assign the catalytic functions of the gene products involved in ketocarotenoid biosynthetic pathways in Synechocystis sp. PCC 6803, Anabaena sp. PCC 7120 and N. punctiforme PCC 73102, based on the present and previous findings. This explains why these cyanobacteria cannot produce astaxanthin and why only Synechocystis sp. PCC 6803 can produce zeaxanthin.