Elon Musk attended Queens University in Kingston, Ontario, Canada, before transferring to the University of Pennsylvania (UPenn) in Philadelphia, where he received bachelors degrees in economics and physics in 1997. Musk paid his own way through college, making rent money by hosting parties with friends. After graduating from UPenn, he started a Ph.D. program in materials sciences at Stanford University but left after two days to begin his first start-up company.