Lunesta 2 mg is the brand name for eszopiclone, often used to treat insomnia. Lunesta is available in a variety of strengths, including 2 mg. It is a sedative-hypnotic medicine that influences specific substances in the brain to assist inducing sleep.