Bayerlein served as a staff officer of General Heinz Guderian for the invasion of Poland and the Battle of France. In Operation Barbarossa, the invasion of the Soviet Union, during June 1941, Bayerlein was assigned to Guderian's Panzer Group 2 staff. After the Battle of Kiev, Bayerlein was transferred to Generaloberst Erwin Rommel's staff.