The present invention relates to nucleic acids coding for and capable of expressing a rod-derived cone viability factor (RdCVF) and viral vectors containing these nucleic acids. The invention also relates to compositions and pharmaceutical preparations comprising these nucleic acids or vectors, methods of producing or secreting an RdCVF, and methods of treatment.