Perovskite-based solar cells, typically CH 3 NH 3 PbI 3 , have reached power conversion efficiencies on par with single crystal silicon solar cells. Perovskite cells prepared with the most common perovskite solvent N,N-dimethylformamide (DMF) by different research groups exhibit disparate efficiencies and stability for nominally identical perovskite films. Although the differences can be related to processing conditions, a consistent physical cause for the differences has been lacking. Highly-sensitive time-offlight secondary ion mass spectrometry (TOF-SIMS) reveals significant dimethylamine (DMA) included in perovskite films. TOF-SIMS and x-ray photoelectron spectroscopy results suggest DMA levels ranging from roughly 10-50%. Only the highest levels register as perovskite peak shifts in xray diffraction; lower levels are invisible. We propose that methylamine (MA) can react with DMF solvent by transamidation to produce dimethylamine (DMA), which then displaces some MA in perovskite crystals, see Fig. 1. Transamidation of DMF can be catalyzed by TiO 2 , Al 2 O 3 , water, or acid, but in perovskite films transamidation is inhibited by water.