But they were unable to capture the leopard, which reportedly entered into the room to escape from wild dogs.
Mr Rathore, 31, said that he was woken up by the sound of shattering glass, reports the Times Of India.
He said: "To my horror, I felt something moving on my bed. It was then that I saw the leopard, which immediately ran inside the bathroom.
"Even though I was shocked and scared, I quickly jumped out of bed and locked the bathroom door."
His wife Shivani said that although she was terrified of the cat, she was also happy to see such a rare animal up close, according to the Hindustan Times.
By the time officials arrived at the scene a large crowd had gathered outside the hotel.
Eyewitnesses said the wild cat ran off towards a mosque being chased by street dogs, and others said it tried attacking the workers attempting to sedate it with a dart gun.
Nainital Divisional Forest Officer Tejasvini Arvind Patil, said the leopard most likely drifted into the town in a search for food.
"Perhaps it was chased by dogs, as a result of which it came to the hotel. Seeing its image reflected in the window, it probably mistook it for another leopard and attacked the reflection thus breaking the window and entering the room," he said.
Nainital is a prominent tourist spot in northern India. It is located in the Kumaon region and is sometimes referred to as the Lake District of India.