 He then attended Harvard Business School, where he earned an M.B.A. in 1939.Immediately thereafter, McNamara worked a year for the accounting firm Price Waterhouse in San Francisco.He returned to Harvard in August 1940 to teach accounting in the Business School and became the institution's highest-paid and youngest assistant professor at that time.