Kosztolányi moved to Budapest in 1903, where he studied at the University of Budapest and met the poets Mihály Babits and Gyula Juhász, and later for a short time in Vienna before becoming a journalist—a profession he continued for the rest of his life.
In 1903, Kosztolányi moved to Budapest to study at the University of Budapest, where he encountered poets Mihály Babits and Gyula Juhász. After spending a brief period in Vienna, he embarked on a career as a journalist that lasted until his lifetime.