Photolithography is a powerful technique for the synthesis of DNA oligonucleotides on glass slides, as it combines the efficiency of phosphoramidite coupling reactions with the precision and density of UV light reflected from micrometer-sized mirrors. Photolithography yields microarrays that can accommodate from hundreds of thousands up to several million different DNA sequences, 100-nt or longer, in only a few hours. With this very large sequence space, microarrays are ideal platforms for exploring the mechanisms of nucleic acid•ligand interactions, which are particularly relevant in the case of RNA. We recently reported on the preparation of a new set of RNA phosphoramidites compatible with in situ photolithography and which were subsequently used to grow RNA oligonucleotides, homopolymers as well as mixedbase sequences. Here, we illustrate in detail the process of RNA microarray fabrication, from the experimental design, to instrumental setup, array synthesis, deprotection and final hybridization assay using a template 25mer sequence containing all four bases as an example. In parallel, we go beyond hybridization-based experiments and exploit microarray photolithography as an inexpensive gateway to complex nucleic acid libraries. To do so, high-density DNA microarrays are fabricated on a base-sensitive monomer that allows the DNA to be conveniently cleaved and retrieved after synthesis and deprotection. The fabrication protocol is optimized so as to limit the number of synthetic errors and to that effect, a layer of β-carotene solution is introduced to absorb UV photons that may otherwise reflect back onto the synthesis substrates. We describe in a step-by-step manner the complete process of library preparation, from design to cleavage and quantification. Video Link The video component of this article can be found at https://www.jove.com/video/59936/. Current photolithographic setups are equipped with micromirror arrays containing 1024 × 768 mirrors, corresponding to more than 780,000 individually addressable spots ("features") on a small area of just 1.4 cm 2 , or 1080p with arrays of 1920 × 1080, or >2 million mirrors. Each of the mirrors in the device therefore has direct control over the sequence grown on the corresponding feature. With the exception of UV light, photolithography functions like a solid-phase synthesis technique and adopts the cycle-based phosphoramidite chemistry. Only it requires