A series of phthalimides related to thalidomide have been studied for analgesic activity in the formalin test. The formalin test was performed in mice in a nociceptive pattern to evaluate analgesic activity. In this study, nine derivatives of phthalimides were evaluated in terms of exerting analgesic effects in mice. They exerted significant analgesic effects compared to indomethacin and negative control. These compounds were synthesized and characterized by TLC, followed by IR and H1NMR in the previous studies. Two distinct periods of high licking activity were used to analyze both acute and chronic pain. All compounds were compared with indomethacin and carbamazepine as positive control and vehicle as a negative control. All of the tested compounds exhibited significant analgesic activity in both the first and second phases of the test compared to the control group (DMSO), although they did not show more activity than the reference drug (indomethacin) but were comparable to indomethacin. This information may be useful in the development of a more potent phthalimide as an analgesic agent that acts as a sodium channel blocker and COX inhibitor.