This thesis focuses on the use of nuclear magnetic resonance (NMR) spectroscopy in order to study materials for use as electrolytes in batteries. The details of four projects are described in this thesis as well as a brief theoretical background of NMR. Structural and dynamics properties were determined using several NMR techniques such as static, MAS, PFG diffusion, and relaxation to understand microscopic and macroscopic properties of the materials described within. Nuclei investigate were 1H, 2H, 7Li, 13C, 19F, 23Na, and 27Al. The first project focuses on an exciting new material to be used as a solid electrolyte membrane. T. The second project focuses on the dynamics of ionic liquid-solvent mixtures and their comparison to molecular dynamics computer simulations. The third project involves a solvent-free film containing NaTFSI salt mixed in to PEO for use in sodium-ion batteries. This final project focuses on a composite electrolyte consisting of a ceramic and solid: LiI:PEO:LiAlO2.