Alexander Erskine of Gogar, (d. 1592), Scottish laird and keeper of James VI of Scotland at Stirling Castle.
Alexander was a son of John Erskine, 5th Lord Erskine and Lady Margaret Campbell, a daughter of Archibald Campbell, 2nd Earl of Argyll. As the younger son, he was called the "Master of Mar." He was also laird of the lands of Gogar, a village near Edinburgh. After the death of his brother, John Erskine, Earl of Mar, Alexander was given the task of safeguarding the young king of Scotland at Stirling in 1572.
With a role of such importance and the representative of the House of Mar while the Earl was still a minor, Alexander was offered a pension from England of £150 a year, for which he was recommended by Regent Morton in 1574 as "well friended, constant, of good credit and power." In 1575, Francis Walsingham heard that Morton secretly planned to take the King out of Alexander's keeping. This was not in Morton's power, as the appointment had been made by the Parliament of Scotland. Walsingham resolved to make Alexander an ally of England, in case Morton lost his position. The crisis of 1575 blew over.
After James Douglas, Earl of Morton resigned the Regency of Scotland, on 28 March 1578, Alexander was also appointed Keeper of Edinburgh Castle.
Alexander Erskine of Gogar was ousted from his duty at Stirling by his kinsman and ally of the former Regent Morton, Adam Erskine Commendator of Cambuskenneth, in April 1578. The events were described by the English diplomat in Scotland, Robert Bowes. Adam Erskine had persuaded Alexander's nephew, the young Earl of Mar that he should be the guardian of James VI. Adam Erskine and his brother David Erskine, Commendator of Dryburgh, and the Earl of Mar, who were all lodged in Stirling Castle came to the gate early on Sunday morning, 27 April 1578, pretending to go out to join a hunt. The two Commendators met Alexander, who held the castle keys, and began to argue with him over the guardianship of the King.