Metformin (MTF) is a first-line drug in the treatment of type 2 diabetes mellitus. Delivered through the oral route, MTF has several limitations, mainly due to the side effects in gastrointestinal, non-specific release and low intestinal permeability, resulting in the low bioavailability of MTF in the body. Here, we developed glucose-responsive microparticles (GR-MP) containing MTF delivered via dissolving microneedles (DMNs) to overcome these limitations. To support the development of the formulation, in this study, a simple analytical method was developed using a UV–visible spectrophotometer. The method was validated in four different media, namely PBS, PBS containing 1 % w/v glucose, 2 % w/v glucose and 4 % w/v glucose, to mimic the normal and hyperglycemic condition. The method was further validated as per International Conference Harmonization (ICH). This analytical method was applied to quantify the amount of MTF in the GR-MP preparation, in vitro release, drug content in DMNs and, importantly, ex vivo permeation study in in vitro hyperglycemic conditions. The results exhibited that the calibration curves in all media showed a correlation coefficient (R) of 0.998, indicating the linearity of the method. Moreover, LLOQ values in the four different media were 2.23 µg/mL, 1.95 µg/mL, 1.94 µg/mL, and 2.88 µg/mL, respectively. Importantly, the method was precise and accurate with desired dilution integrity according to ICH, implying the validity of the methods. Finally, the method was successfully applied in the development of DMNs containing GR-MP of MTF, showing that the incorporation of MTF into this combination approach could selectively control the release of the drug according to the glucose concentration both in in vitro release and ex vivo permeation studies. Therefore, this approach could be a favorable system to solve the oral administration of MTF. Further in vivo analytical methods should now be developed to explore the effectiveness of this system in a suitable animal model.