In bioassays with artificial diets, the 17-hydroxygeranyllinalool diterpenoid glycosides (HGL-DTGs) of Nicotiana attenuata function as antifeedants for the plant's adapted herbivore, tobacco hornworm (Manduca sexta). To determine whether HGL-DTGs have a defensive function in planta, we suppressed HGL-DTG production by silencing the source of the geranylgeranyl diphosphates (GGPPs) required for geranyllinalool biosynthesis, a key intermediate. We used virus-induced gene silencing to suppress transcript levels of GGPP synthase gene (Naggpps) and farnesyl diphosphate (FPP) synthase gene (Nafpps), northern blotting and real-time polymerase chain reaction to quantify transcript accumulations, and radio gas chromatography to analyze prenyltransferase specificity. Silencing Nafpps had no effect on the accumulation of HGL-DTGs but decreased leaf steroid content, demonstrating that DTG-synthesizing enzymes do not use GGPP derived from FPP and confirming FPP's role as a steroid precursor. Unlike plants silenced in the phytoene desaturase gene (Napds), which rapidly bleached, Naggpps-silenced plants had reduced HGL-DTG but not carotenoids or chlorophyll contents, demonstrating that Naggpps supplies substrates for GGPP biosynthesis for HGL-DTGs, but not for phytoene or phytol. Expression of Naggpps in Escherichia coli revealed that the recombinant protein catalyzes the GGPP synthesis from isopentenyl diphosphate and dimethylallyl diphosphate. When fed on silenced plants, hornworm larvae gained up to 3 times more mass than those that fed on empty vector control plants or plants silenced in Nafpps, the trypsin protease inhibitor gene, or the putrescine N-methyltransferase gene. We conclude that HGL-DTGs or other minor undetected diterpenoids derived from GGPP function as direct defenses for N. attenuata and are more potent than nicotine or trypsin protease inhibitors against attack by hornworm larvae.