The present invention relates to novel nucleic acid molecules encoding a pre-fusion RSV F protein or immunologically active part thereof, wherein the pre-fusion RSV F protein comprises the amino acid sequence of SEQ ID NO: 1 or 2. The invention further relates to the use of the nucleic acid molecules, or vectors comprising said nucleic acid molecules, as a vaccine against respiratory syncytial virus (RSV).