Obsessive-Compulsive Disorder (OCD) is an anxiety disorder featuring disturbing and troubling thoughts, which are perceived as the products of one’s own mind unlike schizophrenia. Marble burying in mice has been used to model anxiety disorders including obsessive–compulsive disorder (OCD) due to the extreme nature of the behavior and due to the pharmacological effects of clinical standards. Test groups (7a-k) and fluoxetine administration decreased the number of marbles buried compared with the control group (all P<0.01) which suggests the anxiolytic-like effect of it. Further compounds 7 (a-k) did not show any neurotoxic effects at dose administered (40 mg/kg). Moreover in the present study molecular docking studies was conducted on serotonin 5-HT2A receptor (2VT4) and synthesized derivatives 7 (a-k). The docking method describes the binding interaction with the ligand and receptor 2VT4. In conclusion the previously synthesized derivatives 7 (a-k) showed marked anxiolytic activity similar to that of fluoxetine in the marble burying behavior test in mice.