That depends on where you live. In the USA it's easy to buy melatonin without a prescription. In Australia and Europe, you will need to get a prescription first. If you live elsewhere in the world, the staff at your local pharmacy should be able to tell you if a prescription is necessary or not.