Many genes in Saccharomyces cerevisiae are recruited to the nuclear periphery after transcriptional activation. We have identified two gene recruitment sequences (GRS I and II) from the promoter of the INO1 gene that target the gene to the nuclear periphery. These GRSs function as DNA zip codes and are sufficient to target a nucleoplasmic locus to the nuclear periphery. Targeting requires components of the nuclear pore complex (NPC) and a GRS is sufficient to confer a physical interaction with the NPC. GRS I elements are enriched in promoters of genes that interact with the NPC, and genes that are induced by protein folding stress. Full transcriptional activation of INO1 and another GRS-containing gene requires GRS-mediated targeting of the promoter to the nuclear periphery. Finally, GRS I also functions as a DNA zip code in Schizosaccharomyces pombe, suggesting that this mechanism of targeting to the nuclear periphery has been conserved over approximately one billion years of evolution.