In 1939 Szybalski graduated from the famous Gymnasium no. 8 in Lwów. After World War II broke out, from 23 September 1939, Lwów was occupied by the Soviet Union. Szybalski joined the Chemistry Department at the Lwów Polytechnic, where he was entranced by the lectures of Professor Adolf Joszt, a leading expert on processes of fermentation. Joszt even then held a vision of developing science in the direction of genetic engineering and biotechnology, which had a direct influence on Szybalski's future scientific development. After the German attack on the Soviet Union, in 1941 Lwów was occupied by the Nazis. Szybalski survived the occupation by working as a feeder of lice in Rudolf Weigl's institute for typhus research.