Background Numerous reports have shown the role of human leukocyte antigen (HLA) alleles in the induction of cutaneous adverse drug reactions by moderating drug metabolism. Wetherefore aimed to investigate the docking patterns of four HLA alleles (HLA-B x 5101, HLA-B x 1501, HLA-A x 02:06 and HLA-B x 57:01) against four commercial drugs. Methodology Four drugs (phenytoin (PHT), amoxicillin (AMX), aceclofenac (ACE) and ciprofloxacin (CIP)) were investigated for their docking behavior against four HLA alleles (HLA-B x 5101, HLA-B x 1501, HLA-A x 02:06, and HLA-B x 57:01) using the SwissDock method. In addition, toxicity (Tox) and the search tool for interactions of chemicals (STITCH) (protein-drug interaction) analyses were also carried out using the predicating the small molecule pharmaco-kinetic (pk) properties using graph-based signature method (pkCSM) and STITCH free online servers, respectively. Results Toxicity analysis showed that two drugs (amoxicillin and ciprofloxacin) exhibit hepatotoxicity. The STITCH analysis of the drug amoxicillin revealed its interaction with two humanproteins. The drug phenytoin exhibited the lowest binding energy (LBE) with all four HLA alleles (HLA-B x 5101, HLA-B x 1501, HLA-A x 02:06, and HLA-B x 57:01). Conclusions The present findings provide new knowledge about the four drugs (phenytoin (PHT), amoxicillin (AMX), aceclofenac (ACE) and ciprofloxacin (CIP)) and their binding affinities with HLA alleles, which may cause cutaneous adverse drug reactions.