Alexander was born in 1799. Alexander's father was William Bruce and his mother was Helen Dunnet. His maternal grandparents are William Dunnet and Jannet Manson. He had two brothers and a sister, named Wiliam, John and Janet. He was the second oldest of the four children.