After the end of the war, Harsanyi returned to the University of Budapest for graduate studies in philosophy and sociology, earning his Ph.D. in both subjects in 1947.
Efter krigen vendte Harsanyi tilbage til Budapests universitet for videre studier i filosofi og sociologi og fik en Ph.D.-grad i de to fag i 1947.