Metformin is a multipotential compound for treating diabetes II and controlling hormonal acne and skin cancer. This study was designed to enhance metformin skin penetration in melanoma using nanoparticles containing biocompatible polymers. Formulations with various concentrations of chitosan, hyaluronic acid, and sodium tripolyphosphate were fabricated using an ionic gelation technique tailored by the Box-Behnken design. The optimal formulation was selected based on the smallest particle size and the highest entrapment efficiency (EE%) and used inex vivoskin penetration study.In vitroantiproliferation activity and apoptotic effects of formulations were evaluated using MTT and flow cytometric assays, respectively. The optimized formulation had an average size, zeta potential, EE%, and polydispersity index of 329 ± 6.30 nm, 21.94 ± 0.05 mV, 64.71 ± 6.12%, and 0.272 ± 0.010, respectively. The release profile of the optimized formulation displayed a biphasic trend, characterized by an early burst release, continued by a slow and sustained release compared to free metformin. Theex vivoskin absorption exhibited 1142.5 ± 156.3μg/cm2of metformin deposited in the skin layers for the optimized formulation compared to 603.2 ± 93.1μg/cm2for the free metformin. Differential scanning calorimetry confirmed the deformation of the drug from the crystal structure to an amorphous state. The attenuated total reflection Fourier transform infrared results approved no chemical interaction between the drug and other ingredients of the formulations. According to the MTT assay, metformin in nanoformulation exhibited a higher cytotoxic effect against melanoma cancer cells than free metformin (IC50: 3.94 ± 0.57 mM vs. 7.63 ± 0.26 mM, respectively,P< 0.001). The results proved that the optimized formulation of metformin could efficiently decrease cell proliferation by promoting apoptosis, thus providing a promising strategy for melanoma therapy.