Sir James MacGill, Lord Rankeillor of Nether Rankeillour. (died 1579) was a Scottish courtier and Senator of the College of Justice. Sworn of the Privy Council by Mary, Queen of Scots in 1561, he became her Lord Clerk Register (Keeper of the Scots Royal Archives). He was knighted as Sir James MacGill of Nether Rankeillour,