The present invention relates to self-inactivating lentiviral vectors comprising the COL7A1 gene or a functional variant thereof and its use in a method for the treatment of Type VII collagen deficiency, such as dominant dystrophic epidermolysis and recessive dystrophic epidermolysis.