The present disclosure relates to a formulation comprising of Cedrus deodara, Eugenia caryophyllata, Capsicum chinense, Cinnamomum verum, Allium Sativum, Syzygium aromaticum, and Mentha piperita. The present disclosure further relates to a process for the preparation of the formulation and the use of the formulation for repelling snakes.