Objective: Lovastatin has been shown to reverse learning deficits in a mouse model of Neurofibromatosis Type 1 (NF1), a common monogenic disorder caused by a mutation in the Ras-MAPK pathway and associated with learning disabilities. We conducted a randomized double-blind placebo-controlled trial to assess lovastatin's effects on cognition and behavior in patients with NF1. Method: Forty-four NF1 patients (mean age 25.7+/-11.6 years; 64% female) were randomly assigned to 14 weeks of lovastatin (N = 23; maximum dose of 80 mg/day for adult participants and 40 mg/day for children) or placebo (N = 21). Based on findings in the mouse model, primary outcome measures were nonverbal learning and working memory. Secondary outcome measures included verbal memory, attention, and self/parent-reported behavioral problems, as well as tolerability of medication. Participants also underwent neuroimaging assessments at baseline and 14 weeks, to determine whether neural biomarkers were associated with treatment response. Linear mixed models assessed for differential treatment effects on outcome measures. Results: Twelve participants dropped from the study prior to completion (8 placebo, 4 lovastatin), resulting in 32 completers (15 placebo, 17 lovastatin). Lovastatin was well-tolerated, with no serious adverse events. Differential improvement favoring lovastatin treatment was observed for one primary (working memory; effect size f2 = 0.70, P < 0.01) and two secondary outcome measures (verbal memory, f2 = 0.19, P = 0.02, and adult self-reported internalizing problems, f2 = 0.26, P = 0.03). Exploratory moderator analyses revealed that higher baseline neural activity in frontal regions was associated with larger treatment effects. Interpretation: These preliminary results suggest beneficial effects of lovastatin on some learning and memory functions, as well as internalizing symptoms in patients with NF1.