Provided are a viral vector for treating autoimmune disease and diabetes and a construction method and an application thereof. The viral vector is a lentiviral expression plasmid or an adeno-associated viral expression plasmid cloned with mfat-1 gene, and the mfat-1 gene is as shown in SEQ ID No.: 1.