With the developing manufacturing technologies, the use of 3D printers in microneedle production is becoming widespread. Hydrogel-forming microneedles (HFMs), a variant of microneedles, demonstrate distinctive features such as a high loading capacity and controlled drug release. In this study, the conical microneedle master molds with approximately 500μm needle height and 250μm base diameter were created using a Stereolithography (SLA) 3D printer and were utilized to fabricate composite HFMs containing diclofenac sodium. Using Box-Behnken Design, the effects of different polymers on swelling index and mechanical strength of the developed HFMs were evaluated. The optimum HFMs were selected according to experimental design results with the aim of the highest mechanical strength with varying swelling indexes, which was needed to use 20% Gantrez S97 and 0.1% (F22), 0.42% (F23), and 1% (F24) hyaluronic acid. The skin penetration and drug release properties of the optimum formulations were assessed. Ex vivo studies were conducted on formulations to determine drug penetration and accumulation. F24, which has the highest mechanical strength and optimized swelling index, achieved the highest drug accumulation in the skin tissue (17.70 ± 3.66%). All optimum HFMs were found to be non-cytotoxic by the MTT cell viability test (> 70% cell viability). In in vivo studies, the efficacy of the F24 was assessed for the treatment of xylene-induced ear edema by contrasting it to the conventional dosage form. It was revealed that HFMs might be an improved replacement for conventional dosage forms in terms of dermal diseases such as actinic keratosis.