The X chromosome provides an ideal model system to study the contribution of RNA-protein interactions in epigenetic regulation. In male flies, roX long noncoding RNAs (lncRNAs) harbor several redundant domains to interact with the ubiquitin ligase male-specific lethal 2 (MSL2) and the RNA helicase Maleless (MLE) for X-chromosomal regulation. However, how these interactions provide the mechanics of spreading remains unknown. By using the uvCLAP (UV cross-linking and affinity purification) methodology, which provides unprecedented information about RNA secondary structures in vivo, we identified the minimal functional unit of roX2 RNA. By using wild-type and various MLE mutant derivatives, including a catalytically inactive MLE derivative, MLE GET , we show that the minimal roX RNA contains two mutually exclusive stem-loops that exist in a peculiar structural arrangement: When one stem-loop is unwound by MLE, an alternate structure can form, likely trapping MLE in this perpetually structured region. We show that this functional unit is necessary for dosage compensation, as mutations that disrupt this formation lead to male lethality. Thus, we propose that roX2 lncRNA contains an MLE-dependent affinity switch to enable reversible interactions of the MSL complex to allow dosage compensation of the X chromosome.[Keywords: dosage compensation; H4K16ac; MLE; X chromosome; acetylation; roX RNA] Supplemental material is available for this article. RNA helicases are a large family of proteins that have important roles in many aspects of RNA biology. Although the name "helicase" suggests that the main function of these proteins is to destabilize and remove RNA secondary structures, there are several RNA helicases, especially of the DEAD-box subfamily, that use their helicase domains to simply interact with RNA (such as eIF4A3) and not for remodeling. On the other hand, a closely related RNA helicase, eIF4A1, can unwind RNA structures but only when they are relatively weak and short (Rogers et al. 2001). At the other extreme, several helicases are proposed to act as annealers that facilitate the formation of structured RNA rather than the other way around (Jankowsky 2011).Thus, although the helicase family is quite large, specific functions assigned to helicases that involve the actual removal of secondary structures in vivo are rather sparse. Maleless (MLE), known primarily for its role in Drosophila dosage compensation, is an RNA helicase of the DExH family, which is composed of relatively large multidomain helicases that (unlike the DEAD-box family) are thought to work as processive RNA helicases.