The optimal lower-limb alignment after unicompartmental knee arthroplasty (UKA) remains controversial. This study aimed to investigate the optimal lower-limb alignment for functional improvement in the early post-UKA period. We hypothesized that a small change (Δ) in the arithmetic hip-knee-ankle (aHKA) angle during surgery would result in better postoperative knee function. This single-centered, retrospective study analyzed 91 patients (91 knees) who underwent UKA from April 2021 and December 2022. Preoperative and postoperative standing whole-leg radiographs were used to evaluate the mechanical HKA angle and aHKA angle. The aHKA angle was calculated from the medial proximal tibial angle (MPTA) and lateral distal femoral angle (LDFA). We defined restored aHKA angle as a postoperative aHKA angle within ± 3° of the preoperative aHKA angle. Functional improvement was evaluated using the preoperative and one-year postoperative Knee Society Scoring 2011 (KSS 2011). A multivariate regression analysis was performed to investigate the optimal lower-limb alignment for functional improvement. Postoperative restored aHKA angle (p = 0.020) was the only significant factor for improved KSS 2011 scores. Postoperative restored aHKA angle was obtained in 64 patients (70%). ΔMPTA (p < 0.001) and ΔLDFA (p = 0.037) were significant factors associated with a postoperative restored aHKA angle. UKA restores the native knee, including resurfacing constitutional alignment and medial collateral ligament tension. Minimal change in the aHKA angle during UKA improves the functional outcomes of the knee during the early postoperative period, consistent with the minimally invasive surgical concept of UKA.