An input device includes a contact body to contact an object, a pressure sensor to detect pressure of contact of the contact body with the object, a vibrator to generate a vibration to provide a tactile sensation, and a vibration controller. The vibration of the vibrator when the pressure detected based on the output of the pressure sensor is large is larger than that when the pressure detected based on the output of the pressure sensor is small.