MacKinnon was born in Burlington, Massachusetts and initially attended the University of Massachusetts Boston. MacKinnon then transferred to Brandeis University after one year, and there he received a bachelor's degree in biochemistry in 1978, studying calcium transport through the cell membrane for his honors thesis in Christopher Miller's laboratory. It was also at Brandeis where MacKinnon met his future wife and working-colleague Alice Lee.