Redirecting the electron flow towards the nitrogenase and bidirectional Hox-hydrogenase by using specific inhibitors results in enhanced H2 production in the cyanobacterium Anabaena siamensis TISTR 8012.