While knowing a few words and phrases won't hurt, it's not necessary to learn Spanish before you go. Most people in Mexico do speak English.