Integration-deficient lentiviral vectors (IDLVs) have been shown to transduce a wide spectrum of target cells and organs in vitro and in vivo and to maintain long-term transgene expression in nondividing cells. However, epigenetic silencing of episomal vector genomes reduces IDLV transgene expression levels and renders these safe vectors less efficient. In this article, we describe for the first time a complete correction of factor IX (FIX) deficiency in hemophilia B mice by IDLVs carrying a novel, highly potent human FIX cDNA. A 50-fold increase in human FIX cDNA potency was achieved by combining two mechanistically independent yet synergistic strategies: (i) optimization of the human FIX cDNA codon usage to increase human FIX protein production per vector genome and (ii) generation of a highly catalytic mutant human FIX protein in which the arginine residue at position 338 was substituted with leucine. The enhanced human FIX activity was not associated with liver damage or with the formation of human FIX-directed inhibitory antibodies and rendered IDLV-treated FIX-knockout mice resistant to a challenging tail-clipping assay. A novel S1 nuclease-based B1-quantitative polymerase chain reaction assay showed low levels of IDLV integration in mouse liver. Overall, this study demonstrates that IDLVs carrying an improved human FIX cDNA safely and efficiently cure hemophilia B in a mouse model.