Imipramine hydrochloride (IMP), a tricyclic antidepressant used for major depression, enuresis, and neuropathic pain, is limited by gastrointestinal complications, low oral bioavailability (44%), and complex dosing requirements. This study aimed to explore a novel non-invasive nasal delivery system using chitosan nanoparticles (Cs NPs) embedded in an in situ gel to address the limitations of oral IMP administration. Cs NPs loaded with IMP were synthesized via ionic gelation and assessed for precision in drug concentration using a validated HPLC method. The particles were integrated into a thermoresponsive polymer, Pluronic F127, to form an in situ gel suitable for nasal administration. The formulation was characterized for gelation temperature, duration, viscosity, mucoadhesive strength, and overall gel robustness. Drug release kinetics and the controlled release mechanism were studied using ex vivo permeation tests with Franz diffusion cells and nasal sheep mucosa. The optimized nanoparticle formulation (F4-50) exhibited a consistent PS of 141.7 ± 2.2 nm, a zeta potential (ZP) of 16.79 ± 2.1 mV, and a high encapsulation efficiency of 67.71 ± 1.9%. The selected in situ gel formulation, F4-50-P1, demonstrated a gelation temperature of 33.6 ± 0.94 °C and a rapid gelation time of 48.1 ± 0.7 s. Transform-attenuated total reflectance infrared spectroscopy (ATR-IR) confirmed the compatibility and effective encapsulation of IMP within the formulation. The release profile of F4-50 included an initial burst release followed by a sustained release phase, with F4-50-P1 showing improved control over the burst release. The flux rates were 0.50 ± 0.01 mg/cm2/h for F4-50 and 0.33 ± 0.06 mg/cm2/h for F4-50-P1, indicating effective permeation. The developed chitosan nanoparticle-based in situ gel formulation provides a promising approach for the controlled release of IMP, enhancing therapeutic efficacy and patient compliance while mitigating the disadvantages associated with oral delivery.