Alexander was a son of John Erskine, 5th Lord Erskine and Lady Margaret Campbell, a daughter of Archibald Campbell, 2nd Earl of Argyll.
After James Douglas, Earl of Morton resigned the Regency of Scotland, on 28 March 1578, Alexander was also appointed Keeper of Edinburgh Castle [REF].