Short guide RNAs target Cas proteins to specific genomic loci enabling efficient gene editing in animals and plants. We have developed a conceptually similar method, called piRNA interference (piRNAi), where 21nt 'guide' piRNAs target the PRG-1 Argonaute to specific mRNAs for transcriptional and post-transcriptional gene silencing of up to four genes simultaneously. Six guide piRNAs are encoded in short synthetic gene fragments and expressed from simple extrachromosomal arrays without cloning. We test specific models for piRNA function, targeting requirements, evolutionary conservation, and inherited silencing using piRNAi. First, we demonstrate that endogenous genes (
him-5,
him-8,
spe-8, and
spe-12) are not protected from piRNA-mediated silencing. piRNAi can silence a ubiquitously expressed gfp in the female and male germline, with silencing persisting through embryogenesis until approximately the 100-cell stage. Silencing requires the piRNA pathway (
prg-1 and
prde-1), but H3K9 methyltransferases (
set-25,
set-32,
met-2), P-granule components (
pgl-1,
mut-7,
znfx-1), and the nuclear RNAi pathway (
nrde-1,
nrde-2,
nrde-3,
hrde-1) are not required. Second, piRNAi silences genes robustly when targeting exons but not introns or untranslated regions. Furthermore, piRNA silencing tolerates 1-2 mismatches in the seed region and up to four mismatches overall. Third, we confirm that the piRNA pathway is evolutionarily conserved by silencing a
him-5 homolog in C. briggsae using C. elegans piRNA transcriptional units. Finally, we use piRNAi to develop a new assay for studying transgenerational silencing. Previous studies have demonstrated that piRNAs can semi-permanently silence gfp (RNAe or paramutation). We identify two novel genes,
him-5 and
him-8, that show four and six generations of
hrde-1 dependent heritable silencing, respectively, but no paramutation. piRNAi should be a useful tool in C. elegans for transient gene silencing in the germline and may be particularly suitable for studying piRNA biology and heritable epigenetic silencing.