Colonel James Gardiner (11 January 1688 – 21 September 1745) was a Scottish soldier who fought in the British Army, including during the 1745 Jacobite rising.
He was born at Carriden, educated in Linlithgow, and joined the army at the age of fourteen. He served with distinction in several battles and was promoted through the ranks to Colonel in 1743.
Gardiner was known as a rake in his youth, but had a religious experience in 1719 and became a devout convert. In 1726 he married Frances Erskine, daughter to the ninth Earl of Buchan; five of their thirteen children survived to adulthood.
During the Battle of Ramillies he was shot through the mouth and nearly killed by a French soldier who had returned to plunder the dead. However, Gardiner was spared after being mistaken for a French soldier.
At the Battle of Prestonpans he was mortally wounded by the Highlanders after his dragoons had fled the field and he was attempting to rally some footsoldiers. He received a mortal blow whilst wounded on the ground and was stripped to the waist as his possessions were looted by the Highlanders. After the battle Gardiner was carried from the field by a servant to nearby Tranent where he soon died. By a quirk of fate Gardiner lived close to the battlefield in Bankton House.
An influential biography was written by Philip Doddridge. He is commemorated locally with a memorial obelisk, erected by public subscription in 1853 in the grounds of Bankton House. A late twentieth century monument on the battlefield marks approximately where he fell. The play, Colonel Gardiner: Vice and Virtue, written by playwright Andrew Dallmeyer was performed as part of Prestonpans' 2009 Homecoming celebrations.