This commentary highlights the recent work published in journal Nature on the structural based discovery of novel analgesic compounds for opioid receptors with minimal effects. Manglik et al. selectively targeted the Gi based μOR pathway instead of the β-arrestin pathway of the opioids. The computational screening of millions of compounds showed a list of several competent ligands. From these ligands they synthesized the compounds with the best docking score, which were further optimized by adding side residues for better interaction with the μOR. A promising compound, PZM21, was a selective agonist of μOR. It has better analgesic properties with minimal side effects of respiratory depression and constipation. This work is a step towards better drug designing and synthesizing in terms of efficacy, specificity with least side effects of targeted GPCR proteins present in the human proteome.