Ma graduated from Exeter and then the Massachusetts Institute of Technology, where he received a degree in mechanical engineering in 1994. His father wanted him to become a doctor and he did enroll in pre-med but eventually realized medicine wasn't for him.