Precursor mRNA (pre-mRNA) is an immature single strand of messenger ribonucleic acid (mRNA). Pre-mRNA is synthesized from a DNA template in the cell nucleus by transcription. Pre-mRNA comprises the bulk of heterogeneous nuclear RNA (hnRNA). The term hnRNA is often used as a synonym for pre-mRNA, although, in the strict sense, hnRNA may include nuclear RNA transcripts that do not end up as cytoplasmic mRNA.
Once pre-mRNA has been completely processed, it is termed "mature messenger RNA", "mature mRNA", or simply "mRNA".
Eukaryotic pre-mRNA exists only briefly before it is fully processed into mRNA. Pre-mRNAs include two different types of segments, exons and introns. Exons are segments that are retained in the final mRNA, whereas introns are removed in a process called splicing, which is performed by the spliceosome (except for self-splicing introns).
When a pre-mRNA strand has been properly processed to an mRNA sequence, it is exported out of the nucleus and eventually translated into a protein – a process accomplished in conjunction with ribosomes.