There are different views about the time the Ramayana was written. Some people believe that it was written 2,500 years ago. Others think that it was written around 1,800 years ago. All agree that the book is very old and was written before the Mahabharata.