Computational studies were carried out on the opiates morphine, heroin, codeine, pentazocine, and buprenorphine, under the density functional theory. The geometric parameters of the pharmacophore and substituents were evaluated at the B3LYP/6-31+G(d) level of theory. The electronic structure calculations were performed using the same hybrid functional at the B3LYP/6-311++G (d,p) level of theory. The atomic charges were obtained by Mulliken population analysis. Given the reported biological activity, calculated partition coefficients, and electronic and geometric analysis, pentazocine and buprenorphine were chosen as models for proposed analogues. These analogues were then studied and compared with the model molecules. The study reveals that the geometry and electronic structure of the pharmacophore remains consistent in the presence of different substituents. Because the proposed analogues preserve the studied properties of the model molecules, it is likely that these analogues display biological activity.