During the Kiev Offensive in 1920 he briefly returned to the 3rd Brigade and briefly served as the military commander of Kievan military garrison. During the Polish withdrawal he commanded a number of units, including the 6th Infantry Division, an Operational Group within Wacław Iwaszkiewicz's 6th Army, 14th Infantry Brigade, and then the 13th Infantry Brigade. After the battle of Warsaw he was promoted to the rank of Colonel. After the war he was withdrawn to the rear and, together with his unit, was responsible for shielding the border with Germany in the area of Zagłębie during the Third Silesian Uprising. A skilled organizer rather than front-line commander, between 1922 and 1923 Józef Olszyna-Wilczyński headed the engineering units of the Kraków-based 5th Military Area Command (DOK V). Then, until October 1924 he served as the head of all the engineering units of the Polish Army in the Polish Ministry of Military Affairs.