PIWI-interacting RNAs (piRNAs) silence transposons in Drosophila ovaries, ensuring female fertility. Two coupled pathways generate germline piRNAs: the ping-pong cycle, in which the PIWI proteins Aubergine and Ago3 increase the abundance of pre-existing piRNAs, and the phased piRNA pathway, which generates strings of tail-to-head piRNAs, one after another. Proteins acting in the ping-pong cycle localize to nuage, whereas phased piRNA production requires Zucchini, an endonuclease on the mitochondrial surface. Here, we report that Armitage (Armi), an RNA-binding ATPase localized to both nuage and mitochondria, links the ping-pong cycle to the phased piRNA pathway. Mutations that block phased piRNA production deplete Armi from nuage. Armi ATPase mutants cannot support phased piRNA production and inappropriately bind mRNA instead of piRNA precursors. We propose that Armi shuttles between nuage and mitochondria, feeding precursor piRNAs generated by Ago3 cleavage into the Zucchini-dependent production of Aubergine- and Piwi-bound piRNAs on the mitochondrial surface.